Searched refs:ecdh (Results 1 – 10 of 10) sorted by relevance
/linux/include/crypto/ |
H A D | ecdh.h | 37 struct ecdh { struct 52 unsigned int crypto_ecdh_key_len(const struct ecdh *params); argument 67 int crypto_ecdh_encode_key(char *buf, unsigned int len, const struct ecdh *p); 81 int crypto_ecdh_decode_key(const char *buf, unsigned int len, struct ecdh *p);
|
/linux/crypto/ |
H A 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()
|
H A D | ecdh.c | 30 struct ecdh params; in ecdh_set_secret()
|
H A D | Makefile | 185 ecdh_generic-y += ecdh.o
|
/linux/Documentation/crypto/ |
H A 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/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 129 struct hpre_ecdh_ctx ecdh; member 144 struct kpp_request *ecdh; member 1223 if (is_ecdh && ctx->ecdh.p) { in hpre_ecc_clear_ctx() 1225 memzero_explicit(ctx->ecdh.p + shift, sz); in hpre_ecc_clear_ctx() 1226 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx() 1227 ctx->ecdh.p = NULL; in hpre_ecc_clear_ctx() 1275 static int hpre_ecdh_fill_curve(struct hpre_ctx *ctx, struct ecdh *params, in hpre_ecdh_fill_curve() 1280 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve() 1281 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve() 1282 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve() [all …]
|
/linux/net/bluetooth/ |
H A D | ecdh_helper.c | 106 struct ecdh p = {0}; in set_ecdh_privkey()
|
/linux/drivers/crypto/ |
H A D | atmel-ecc.c | 83 struct ecdh params; in atmel_ecdh_set_secret()
|
/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 539 struct ecdh params; in kmb_ocs_ecdh_set_secret()
|
/linux/drivers/char/tpm/ |
H A D | tpm2-sessions.c | 496 struct ecdh p = {0}; in tpm_buf_append_salt()
|