Home
last modified time | relevance | path

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

/Linux-v5.15/include/crypto/
Dkpp.h27 struct kpp_request { struct
74 int (*generate_public_key)(struct kpp_request *req);
75 int (*compute_shared_secret)(struct kpp_request *req);
132 static inline void kpp_request_set_tfm(struct kpp_request *req, in kpp_request_set_tfm()
138 static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req) in crypto_kpp_reqtfm()
173 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc()
176 struct kpp_request *req; in kpp_request_alloc()
190 static inline void kpp_request_free(struct kpp_request *req) in kpp_request_free()
206 static inline void kpp_request_set_callback(struct kpp_request *req, in kpp_request_set_callback()
225 static inline void kpp_request_set_input(struct kpp_request *req, in kpp_request_set_input()
[all …]
/Linux-v5.15/include/crypto/internal/
Dkpp.h16 static inline void *kpp_request_ctx(struct kpp_request *req) in kpp_request_ctx()
26 static inline void kpp_request_complete(struct kpp_request *req, int err) in kpp_request_complete()
/Linux-v5.15/net/bluetooth/
Decdh_helper.c63 struct kpp_request *req; in compute_ecdh_secret()
168 struct kpp_request *req; in generate_ecdh_public_key()
/Linux-v5.15/drivers/crypto/
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-v5.15/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c134 struct kpp_request *dh;
135 struct kpp_request *ecdh;
136 struct kpp_request *curve25519;
420 struct kpp_request *areq; in hpre_dh_cb()
520 struct kpp_request *kreq = req; in hpre_msg_request_set()
574 static int hpre_dh_compute_value(struct kpp_request *req) in hpre_dh_compute_value()
1448 struct kpp_request *areq; in hpre_ecdh_cb()
1472 struct kpp_request *req) in hpre_ecdh_msg_request_set()
1560 static int hpre_ecdh_compute_value(struct kpp_request *req) in hpre_ecdh_compute_value()
1757 struct kpp_request *areq; in hpre_curve25519_cb()
[all …]
/Linux-v5.15/crypto/
Dcurve25519-generic.c24 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
Ddh.c150 static int dh_compute_value(struct kpp_request *req) in dh_compute_value()
Decdh.c50 static int ecdh_compute_value(struct kpp_request *req) in ecdh_compute_value()
Dtestmgr.c3734 struct kpp_request *req; in do_test_kpp()
/Linux-v5.15/Documentation/crypto/
Dapi-kpp.rst5 :functions: kpp_request crypto_kpp kpp_alg kpp_secret
/Linux-v5.15/arch/arm/crypto/
Dcurve25519-glue.c64 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
/Linux-v5.15/arch/x86/crypto/
Dcurve25519-x86_64.c1419 static int curve25519_generate_public_key(struct kpp_request *req) in curve25519_generate_public_key()
1441 static int curve25519_compute_shared_secret(struct kpp_request *req) in curve25519_compute_shared_secret()
/Linux-v5.15/security/keys/
Ddh.c240 struct kpp_request *req; in __keyctl_dh_compute()
/Linux-v5.15/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c134 struct kpp_request *dh;
143 struct kpp_request *areq = req->areq.dh; in qat_dh_cb()
207 static int qat_dh_compute_value(struct kpp_request *req) in qat_dh_compute_value()