/kernel/linux/linux-5.10/include/crypto/ |
H A D | kpp.h | 14 * struct kpp_request 27 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 *re [all...] |
/kernel/linux/linux-6.6/include/crypto/ |
H A D | kpp.h | 18 * struct kpp_request 31 struct kpp_request { struct 95 int (*generate_public_key)(struct kpp_request *req); 96 int (*compute_shared_secret)(struct kpp_request *req); 158 static inline void kpp_request_set_tfm(struct kpp_request *req, in kpp_request_set_tfm() 164 static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req) in crypto_kpp_reqtfm() 199 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc() 202 struct kpp_request *req; in kpp_request_alloc() 216 static inline void kpp_request_free(struct kpp_request *req) in kpp_request_free() 232 static inline void kpp_request_set_callback(struct kpp_request *re [all...] |
H A D | engine.h | 61 struct kpp_request *req); 71 struct kpp_request *req, int err);
|
/kernel/linux/linux-6.6/crypto/ |
H A D | dh.c | 166 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_re in dh_safe_prime_compute_shared_secret() [all...] |
H A D | curve25519-generic.c | 24 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
|
H A D | crypto_engine.c | 311 * crypto_transfer_kpp_request_to_engine - transfer one kpp_request to list 317 struct kpp_request *req) in crypto_transfer_kpp_request_to_engine() 379 * crypto_finalize_kpp_request - finalize one kpp_request if the request is done 385 struct kpp_request *req, int err) in crypto_finalize_kpp_request()
|
H A D | ecdh.c | 50 static int ecdh_compute_value(struct kpp_request *req) in ecdh_compute_value()
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | kpp.h | 48 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()
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | kpp.h | 16 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()
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | ecdh_helper.c | 48 struct kpp_request *req; in compute_ecdh_secret() 148 struct kpp_request *req; in generate_ecdh_public_key()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | ecdh_helper.c | 63 struct kpp_request *req; in compute_ecdh_secret() 170 struct kpp_request *req; in generate_ecdh_public_key()
|
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 117 /* Get OCS ECC tfm context from kpp_request. */ 118 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()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | atmel-ecc.c | 53 struct kpp_request *req = areq; in atmel_ecdh_done() 150 static int atmel_ecdh_generate_public_key(struct kpp_request *req) in atmel_ecdh_generate_public_key() 178 static int atmel_ecdh_compute_shared_secret(struct kpp_request *req) in atmel_ecdh_compute_shared_secret()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | atmel-ecc.c | 51 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()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | curve25519-generic.c | 24 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
|
H A D | ecdh.c | 67 static int ecdh_compute_value(struct kpp_request *req) in ecdh_compute_value()
|
H A D | dh.c | 150 static int dh_compute_value(struct kpp_request *req) in dh_compute_value()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 140 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() 1472 struct kpp_request *areq; in hpre_ecdh_cb() 1496 struct kpp_request *req) in hpre_ecdh_msg_request_set() 1584 static int hpre_ecdh_compute_value(struct kpp_request *req) in hpre_ecdh_compute_value() 1787 struct kpp_request *are in hpre_curve25519_cb() [all...] |
/kernel/linux/linux-5.10/arch/arm/crypto/ |
H A D | curve25519-glue.c | 64 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
|
/kernel/linux/linux-6.6/arch/arm/crypto/ |
H A D | curve25519-glue.c | 64 static int curve25519_compute_value(struct kpp_request *req) in curve25519_compute_value()
|
/kernel/linux/linux-6.6/drivers/nvme/common/ |
H A D | auth.c | 408 struct kpp_request *req; in nvme_auth_gen_pubkey() 434 struct kpp_request *req; in nvme_auth_gen_shared_secret()
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 93 struct kpp_request *dh; 371 struct kpp_request *areq; in hpre_dh_cb() 461 struct kpp_request *kreq = req; in hpre_msg_request_set() 514 static int hpre_dh_compute_value(struct kpp_request *req) in hpre_dh_compute_value()
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | dh.c | 240 struct kpp_request *req; in __keyctl_dh_compute()
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | dh.c | 135 struct kpp_request *req; in __keyctl_dh_compute()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | curve25519-x86_64.c | 1419 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()
|