Searched refs:dh_req (Results 1 – 1 of 1) sorted by relevance
517 struct kpp_request *dh_req = kpp_request_ctx(req); in dh_safe_prime_prepare_dh_req() local519 kpp_request_set_tfm(dh_req, tfm_ctx->dh_tfm); in dh_safe_prime_prepare_dh_req()520 kpp_request_set_callback(dh_req, req->base.flags, in dh_safe_prime_prepare_dh_req()523 kpp_request_set_input(dh_req, req->src, req->src_len); in dh_safe_prime_prepare_dh_req()524 kpp_request_set_output(dh_req, req->dst, req->dst_len); in dh_safe_prime_prepare_dh_req()526 return dh_req; in dh_safe_prime_prepare_dh_req()531 struct kpp_request *dh_req = dh_safe_prime_prepare_dh_req(req); in dh_safe_prime_generate_public_key() local533 return crypto_kpp_generate_public_key(dh_req); in dh_safe_prime_generate_public_key()538 struct kpp_request *dh_req = dh_safe_prime_prepare_dh_req(req); in dh_safe_prime_compute_shared_secret() local540 return crypto_kpp_compute_shared_secret(dh_req); in dh_safe_prime_compute_shared_secret()