Home
last modified time | relevance | path

Searched refs:ecdh (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/include/crypto/
H A Decdh.h31 * 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 Decdh.h31 * 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 Decdh_helper.c10 #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 Decdh.c11 #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 Decdsa.c9 #include <crypto/ecdh.h>
H A DMakefile185 ecdh_generic-y += ecdh.o
H A Decc.c32 #include <crypto/ecdh.h>
/kernel/linux/linux-6.6/crypto/
H A Decdh_helper.c10 #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 Decdh.c12 #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 Decdsa.c10 #include <crypto/ecdh.h>
H A DMakefile190 ecdh_generic-y += ecdh.o
H A Decc.c33 #include <crypto/ecdh.h>
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c7 #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 Decdh_helper.c26 #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 Decdh_helper.c26 #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 Datmel-ecc.c22 #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 Datmel-ecc.c22 #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 Dkeembay-ocs-ecc.c11 #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...]

Completed in 14 milliseconds