Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/crypto/
A Dkpp.h27 struct kpp_request { struct
76 int (*generate_public_key)(struct kpp_request *req);
77 int (*compute_shared_secret)(struct kpp_request *req);
135 static inline void kpp_request_set_tfm(struct kpp_request *req, in kpp_request_set_tfm()
141 static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req) in crypto_kpp_reqtfm()
179 struct kpp_request *req; in kpp_request_alloc()
193 static inline void kpp_request_free(struct kpp_request *req) in kpp_request_free()
209 static inline void kpp_request_set_callback(struct kpp_request *req, in kpp_request_set_callback()
228 static inline void kpp_request_set_input(struct kpp_request *req, in kpp_request_set_input()
245 static inline void kpp_request_set_output(struct kpp_request *req, in kpp_request_set_output()
[all …]
A Dengine.h105 struct kpp_request *req);
115 struct kpp_request *req, int err);
/linux-6.3-rc2/crypto/
A Ddh.c166 static int dh_compute_value(struct kpp_request *req) in dh_compute_value()
321 kpp_set_reqsize(tfm, sizeof(struct kpp_request) + in dh_safe_prime_init_tfm()
508 struct kpp_request *req = data; in dh_safe_prime_complete_req()
513 static struct kpp_request *dh_safe_prime_prepare_dh_req(struct kpp_request *req) in dh_safe_prime_prepare_dh_req()
517 struct kpp_request *dh_req = kpp_request_ctx(req); in dh_safe_prime_prepare_dh_req()
529 static int dh_safe_prime_generate_public_key(struct kpp_request *req) in dh_safe_prime_generate_public_key()
531 struct kpp_request *dh_req = dh_safe_prime_prepare_dh_req(req); in dh_safe_prime_generate_public_key()
536 static int dh_safe_prime_compute_shared_secret(struct kpp_request *req) in dh_safe_prime_compute_shared_secret()
538 struct kpp_request *dh_req = dh_safe_prime_prepare_dh_req(req); in dh_safe_prime_compute_shared_secret()
A Dcurve25519-generic.c24 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
A Dcrypto_engine.c339 struct kpp_request *req) in crypto_transfer_kpp_request_to_engine()
407 struct kpp_request *req, int err) in crypto_finalize_kpp_request()
A Decdh.c50 static int ecdh_compute_value(struct kpp_request *req) in ecdh_compute_value()
A Dtestmgr.c3822 struct kpp_request *req; in do_test_kpp()
/linux-6.3-rc2/include/crypto/internal/
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-6.3-rc2/drivers/crypto/keembay/
A Dkeembay-ocs-ecc.c123 static inline struct ocs_ecc_ctx *kmb_ocs_ecc_tctx(struct kpp_request *req) in kmb_ocs_ecc_tctx()
581 struct kpp_request *req) in kmb_ecc_do_shared_secret()
664 struct kpp_request *req) in kmb_ecc_do_public_key()
713 struct kpp_request *req = container_of(areq, struct kpp_request, base); in kmb_ocs_ecc_do_one_request()
728 static int kmb_ocs_ecdh_generate_public_key(struct kpp_request *req) in kmb_ocs_ecdh_generate_public_key()
753 static int kmb_ocs_ecdh_compute_shared_secret(struct kpp_request *req) in kmb_ocs_ecdh_compute_shared_secret()
/linux-6.3-rc2/net/bluetooth/
A Decdh_helper.c48 struct kpp_request *req; in compute_ecdh_secret()
148 struct kpp_request *req; in generate_ecdh_public_key()
/linux-6.3-rc2/drivers/crypto/
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-6.3-rc2/drivers/crypto/hisilicon/hpre/
A Dhpre_crypto.c140 struct kpp_request *dh;
141 struct kpp_request *ecdh;
142 struct kpp_request *curve25519;
436 struct kpp_request *areq; in hpre_dh_cb()
536 struct kpp_request *kreq = req; in hpre_msg_request_set()
590 static int hpre_dh_compute_value(struct kpp_request *req) in hpre_dh_compute_value()
1466 struct kpp_request *areq; in hpre_ecdh_cb()
1490 struct kpp_request *req) in hpre_ecdh_msg_request_set()
1578 static int hpre_ecdh_compute_value(struct kpp_request *req) in hpre_ecdh_compute_value()
1781 struct kpp_request *areq; in hpre_curve25519_cb()
[all …]
/linux-6.3-rc2/Documentation/crypto/
A Dapi-kpp.rst5 :functions: kpp_request crypto_kpp kpp_alg kpp_secret
/linux-6.3-rc2/arch/arm/crypto/
A Dcurve25519-glue.c64 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
/linux-6.3-rc2/drivers/nvme/common/
A Dauth.c408 struct kpp_request *req; in nvme_auth_gen_pubkey()
434 struct kpp_request *req; in nvme_auth_gen_shared_secret()
/linux-6.3-rc2/security/keys/
A Ddh.c135 struct kpp_request *req; in __keyctl_dh_compute()
/linux-6.3-rc2/arch/x86/crypto/
A Dcurve25519-x86_64.c1630 static int curve25519_generate_public_key(struct kpp_request *req) in curve25519_generate_public_key()
1652 static int curve25519_compute_shared_secret(struct kpp_request *req) in curve25519_compute_shared_secret()
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dqat_asym_algs.c135 struct kpp_request *dh;
159 struct kpp_request *areq = req->areq.dh; in qat_dh_cb()
218 static int qat_dh_compute_value(struct kpp_request *req) in qat_dh_compute_value()

Completed in 33 milliseconds