/kernel/linux/linux-5.10/include/crypto/ |
H A D | ecdh.h | 31 * struct ecdh - define an ECDH private key 37 struct ecdh { struct 53 unsigned int crypto_ecdh_key_len(const struct ecdh *params); 68 int crypto_ecdh_encode_key(char *buf, unsigned int len, const struct ecdh *p); 82 int crypto_ecdh_decode_key(const char *buf, unsigned int len, struct ecdh *p);
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | ecdh.h | 31 * struct ecdh - define an ECDH private key 36 struct ecdh { struct 51 unsigned int crypto_ecdh_key_len(const struct ecdh *params); 66 int crypto_ecdh_encode_key(char *buf, unsigned int len, const struct ecdh *p); 80 int crypto_ecdh_decode_key(const char *buf, unsigned int len, struct ecdh *p);
|
/kernel/linux/linux-5.10/crypto/ |
H A D | ecdh_helper.c | 10 #include <crypto/ecdh.h> 27 unsigned int crypto_ecdh_key_len(const struct ecdh *params) in crypto_ecdh_key_len() 34 const struct ecdh *params) in crypto_ecdh_encode_key() 58 struct ecdh *params) in crypto_ecdh_decode_key()
|
H A D | ecdh.c | 11 #include <crypto/ecdh.h> 39 struct ecdh params; in ecdh_set_secret() 143 static struct kpp_alg ecdh = { variable 149 .cra_name = "ecdh", 150 .cra_driver_name = "ecdh-generic", 159 return crypto_register_kpp(&ecdh); in ecdh_init() 164 crypto_unregister_kpp(&ecdh); in ecdh_exit() 169 MODULE_ALIAS_CRYPTO("ecdh");
|
H A D | ecdsa.c | 9 #include <crypto/ecdh.h>
|
H A D | Makefile | 185 ecdh_generic-y += ecdh.o
|
H A D | ecc.c | 32 #include <crypto/ecdh.h>
|
/kernel/linux/linux-6.6/crypto/ |
H A D | ecdh_helper.c | 10 #include <crypto/ecdh.h> 27 unsigned int crypto_ecdh_key_len(const struct ecdh *params) in crypto_ecdh_key_len() 34 const struct ecdh *params) in crypto_ecdh_encode_key() 57 struct ecdh *params) in crypto_ecdh_decode_key()
|
H A D | ecdh.c | 12 #include <crypto/ecdh.h> 30 struct ecdh params; in ecdh_set_secret() 143 .cra_name = "ecdh-nist-p192", 144 .cra_driver_name = "ecdh-nist-p192-generic", 168 .cra_name = "ecdh-nist-p256", 169 .cra_driver_name = "ecdh-nist-p256-generic", 193 .cra_name = "ecdh-nist-p384", 194 .cra_driver_name = "ecdh-nist-p384-generic", 240 MODULE_ALIAS_CRYPTO("ecdh");
|
H A D | ecdsa.c | 10 #include <crypto/ecdh.h>
|
H A D | Makefile | 190 ecdh_generic-y += ecdh.o
|
H A D | ecc.c | 33 #include <crypto/ecdh.h>
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 7 #include <crypto/ecdh.h> 126 struct hpre_ecdh_ctx ecdh; member 141 struct kpp_request *ecdh; member 1218 if (is_ecdh && ctx->ecdh.p) { in hpre_ecc_clear_ctx() 1219 /* ecdh: p->a->k->b */ in hpre_ecc_clear_ctx() 1220 memzero_explicit(ctx->ecdh.p + shift, sz); in hpre_ecc_clear_ctx() 1221 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx() 1222 ctx->ecdh.p = NULL; in hpre_ecc_clear_ctx() 1270 static int hpre_ecdh_fill_curve(struct hpre_ctx *ctx, struct ecdh *param [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | ecdh_helper.c | 26 #include <crypto/ecdh.h> 40 * secret: memory where the ecdh computed shared secret will be saved. 75 pr_err("alg: ecdh: compute shared secret failed. err %d\n", in compute_ecdh_secret() 106 struct ecdh p = {0}; in set_ecdh_privkey()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | ecdh_helper.c | 26 #include <crypto/ecdh.h> 56 * secret: memory where the ecdh computed shared secret will be saved. 96 pr_err("alg: ecdh: compute shared secret failed. err %d\n", in compute_ecdh_secret() 127 struct ecdh p = {0}; in set_ecdh_privkey()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | atmel-ecc.c | 22 #include <crypto/ecdh.h> 94 struct ecdh params; in atmel_ecdh_set_secret() 109 /* fallback to ecdh software implementation */ in atmel_ecdh_set_secret() 318 .cra_name = "ecdh", 319 .cra_driver_name = "atmel-ecdh",
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | atmel-ecc.c | 22 #include <crypto/ecdh.h> 83 struct ecdh params; in atmel_ecdh_set_secret() 97 /* fallback to ecdh software implementation */ in atmel_ecdh_set_secret() 306 .cra_name = "ecdh-nist-p256", 307 .cra_driver_name = "atmel-ecdh",
|
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 11 #include <crypto/ecdh.h> 539 struct ecdh params; in kmb_ocs_ecdh_set_secret() 832 .cra_name = "ecdh-nist-p256", 833 .cra_driver_name = "ecdh-nist-p256-keembay-ocs", 849 .cra_name = "ecdh-nist-p384", 850 .cra_driver_name = "ecdh-nist-p384-keembay-ocs", 1006 MODULE_ALIAS_CRYPTO("ecdh-nist-p256"); 1007 MODULE_ALIAS_CRYPTO("ecdh-nist-p384"); 1008 MODULE_ALIAS_CRYPTO("ecdh-nist-p256-keembay-ocs"); 1009 MODULE_ALIAS_CRYPTO("ecdh [all...] |