Home
last modified time | relevance | path

Searched refs:kpp_request (Results 1 – 15 of 15) sorted by relevance

/linux/include/crypto/
H A Dkpp.h31 struct kpp_request { struct
80 int (*generate_public_key)(struct kpp_request *req);
81 int (*compute_shared_secret)(struct kpp_request *req);
139 static inline void kpp_request_set_tfm(struct kpp_request *req, in kpp_request_set_tfm()
145 static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req) in crypto_kpp_reqtfm()
180 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc()
183 struct kpp_request *req; in kpp_request_alloc()
197 static inline void kpp_request_free(struct kpp_request *req) in kpp_request_free()
213 static inline void kpp_request_set_callback(struct kpp_request *req, in kpp_request_set_callback()
232 static inline void kpp_request_set_input(struct kpp_request *req, in kpp_request_set_input()
[all …]
H A Dengine.h61 struct kpp_request *req);
71 struct kpp_request *req, int err);
/linux/crypto/
H A Ddh.c167 static int dh_compute_value(struct kpp_request *req) in dh_compute_value()
322 kpp_set_reqsize(tfm, sizeof(struct kpp_request) + in dh_safe_prime_init_tfm()
509 struct kpp_request *req = data; in dh_safe_prime_complete_req()
514 static struct kpp_request *dh_safe_prime_prepare_dh_req(struct kpp_request *req) in dh_safe_prime_prepare_dh_req()
518 struct kpp_request *dh_req = kpp_request_ctx(req); in dh_safe_prime_prepare_dh_req()
530 static int dh_safe_prime_generate_public_key(struct kpp_request *req) in dh_safe_prime_generate_public_key()
532 struct kpp_request *dh_req = dh_safe_prime_prepare_dh_req(req); in dh_safe_prime_generate_public_key()
537 static int dh_safe_prime_compute_shared_secret(struct kpp_request *req) in dh_safe_prime_compute_shared_secret()
539 struct kpp_request *dh_req = dh_safe_prime_prepare_dh_req(req); in dh_safe_prime_compute_shared_secret()
H A Decdh.c55 static int ecdh_compute_value(struct kpp_request *req) in ecdh_compute_value()
H A Dtestmgr.c3583 struct kpp_request *req; in do_test_kpp()
/linux/include/crypto/internal/
H A Dkpp.h48 static inline void *kpp_request_ctx(struct kpp_request *req) in kpp_request_ctx()
53 static inline void *kpp_request_ctx_dma(struct kpp_request *req) in kpp_request_ctx_dma()
86 static inline void kpp_request_complete(struct kpp_request *req, int err) in kpp_request_complete()
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c135 struct kpp_request *dh;
136 struct kpp_request *ecdh;
330 struct kpp_request *areq; in hpre_dh_cb()
425 struct kpp_request *kreq = req; in hpre_msg_request_set()
476 static int hpre_dh_compute_value(struct kpp_request *req) in hpre_dh_compute_value()
517 static struct kpp_request *hpre_dh_prepare_fb_req(struct kpp_request *req) in hpre_dh_prepare_fb_req()
519 struct kpp_request *fb_req = kpp_request_ctx(req); in hpre_dh_prepare_fb_req()
531 static int hpre_dh_generate_public_key(struct kpp_request *req) in hpre_dh_generate_public_key()
535 struct kpp_request *fb_req; in hpre_dh_generate_public_key()
545 static int hpre_dh_compute_shared_secret(struct kpp_request *req) in hpre_dh_compute_shared_secret()
[all …]
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c118 static inline struct ocs_ecc_ctx *kmb_ocs_ecc_tctx(struct kpp_request *req) in kmb_ocs_ecc_tctx()
576 struct kpp_request *req) in kmb_ecc_do_shared_secret()
659 struct kpp_request *req) in kmb_ecc_do_public_key()
708 struct kpp_request *req = container_of(areq, struct kpp_request, base); in kmb_ocs_ecc_do_one_request()
723 static int kmb_ocs_ecdh_generate_public_key(struct kpp_request *req) in kmb_ocs_ecdh_generate_public_key()
748 static int kmb_ocs_ecdh_compute_shared_secret(struct kpp_request *req) in kmb_ocs_ecdh_compute_shared_secret()
/linux/net/bluetooth/
H A Decdh_helper.c48 struct kpp_request *req; in compute_ecdh_secret()
148 struct kpp_request *req; in generate_ecdh_public_key()
/linux/drivers/crypto/
H A Datmel-ecc.c51 struct kpp_request *req = areq; in atmel_ecdh_done()
137 static int atmel_ecdh_generate_public_key(struct kpp_request *req) in atmel_ecdh_generate_public_key()
165 static int atmel_ecdh_compute_shared_secret(struct kpp_request *req) in atmel_ecdh_compute_shared_secret()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c137 struct kpp_request *dh;
161 struct kpp_request *areq = req->areq.dh; in qat_dh_cb()
219 static int qat_dh_compute_value(struct kpp_request *req) in qat_dh_compute_value()
386 static int qat_dh_generate_public_key(struct kpp_request *req) in qat_dh_generate_public_key()
388 struct kpp_request *nreq = kpp_request_ctx(req); in qat_dh_generate_public_key()
401 static int qat_dh_compute_shared_secret(struct kpp_request *req) in qat_dh_compute_shared_secret()
403 struct kpp_request *nreq = kpp_request_ctx(req); in qat_dh_compute_shared_secret()
544 sizeof(struct kpp_request) + crypto_kpp_reqsize(ctx->ftfm)); in qat_dh_init_tfm()
/linux/Documentation/crypto/
H A Dapi-kpp.rst8 :functions: kpp_request crypto_kpp kpp_alg kpp_secret
/linux/drivers/nvme/common/
H A Dauth.c391 struct kpp_request *req; in nvme_auth_gen_pubkey()
417 struct kpp_request *req; in nvme_auth_gen_shared_secret()
/linux/security/keys/
H A Ddh.c135 struct kpp_request *req; in __keyctl_dh_compute()
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c493 struct kpp_request *req; in tpm_buf_append_salt()