Lines Matching refs:dst_len
426 areq->dst_len = ctx->key_sz; in hpre_dh_cb()
452 areq->dst_len = ctx->key_sz; in hpre_rsa_cb()
508 if (akreq->dst_len < ctx->key_sz) { in hpre_msg_request_set()
509 akreq->dst_len = ctx->key_sz; in hpre_msg_request_set()
522 if (kreq->dst_len < ctx->key_sz) { in hpre_msg_request_set()
523 kreq->dst_len = ctx->key_sz; in hpre_msg_request_set()
595 ret = hpre_hw_data_init(hpre_req, req->dst, req->dst_len, 0, 1); in hpre_dh_compute_value()
807 ret = hpre_hw_data_init(hpre_req, req->dst, req->dst_len, 0, 0); in hpre_rsa_enc()
862 ret = hpre_hw_data_init(hpre_req, req->dst, req->dst_len, 0, 0); in hpre_rsa_dec()
1455 areq->dst_len = ctx->key_sz << 1; in hpre_ecdh_cb()
1463 memmove(p + curve_sz, p + areq->dst_len - curve_sz, curve_sz); in hpre_ecdh_cb()
1479 if (req->dst_len < ctx->key_sz << 1) { in hpre_ecdh_msg_request_set()
1480 req->dst_len = ctx->key_sz << 1; in hpre_ecdh_msg_request_set()
1586 ret = hpre_ecdh_dst_data_init(hpre_req, req->dst, req->dst_len); in hpre_ecdh_compute_value()
1763 areq->dst_len = ctx->key_sz; in hpre_curve25519_cb()
1785 if (unlikely(req->dst_len < ctx->key_sz)) { in hpre_curve25519_msg_request_set()
1786 req->dst_len = ctx->key_sz; in hpre_curve25519_msg_request_set()
1933 ret = hpre_curve25519_dst_init(hpre_req, req->dst, req->dst_len); in hpre_curve25519_compute_value()