Searched refs:ecdh (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/include/crypto/ |
D | ecdh.h | 36 struct ecdh { struct 51 unsigned int crypto_ecdh_key_len(const struct ecdh *params); argument 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);
|
/Linux-v5.15/crypto/ |
D | ecdh_helper.c | 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()
|
D | ecdh.c | 30 struct ecdh params; in ecdh_set_secret()
|
D | Makefile | 180 ecdh_generic-y += ecdh.o
|
/Linux-v5.15/Documentation/crypto/ |
D | api-kpp.rst | 25 .. kernel-doc:: include/crypto/ecdh.h 28 .. kernel-doc:: include/crypto/ecdh.h 29 :functions: ecdh crypto_ecdh_key_len crypto_ecdh_encode_key crypto_ecdh_decode_key
|
/Linux-v5.15/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 120 struct hpre_ecdh_ctx ecdh; member 135 struct kpp_request *ecdh; member 1200 if (is_ecdh && ctx->ecdh.p) { in hpre_ecc_clear_ctx() 1202 memzero_explicit(ctx->ecdh.p + shift, sz); in hpre_ecc_clear_ctx() 1203 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx() 1204 ctx->ecdh.p = NULL; in hpre_ecc_clear_ctx() 1252 static int hpre_ecdh_fill_curve(struct hpre_ctx *ctx, struct ecdh *params, in hpre_ecdh_fill_curve() 1257 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve() 1258 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve() 1259 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve() [all …]
|
/Linux-v5.15/net/bluetooth/ |
D | ecdh_helper.c | 127 struct ecdh p = {0}; in set_ecdh_privkey()
|
/Linux-v5.15/drivers/crypto/ |
D | atmel-ecc.c | 83 struct ecdh params; in atmel_ecdh_set_secret()
|