Home
last modified time | relevance | path

Searched refs:ecdh (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/include/crypto/
H A Decdh.h37 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-6.15/crypto/
H A Decdh_helper.c27 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.c30 struct ecdh params; in ecdh_set_secret()
H A DMakefile188 ecdh_generic-y += ecdh.o
/linux-6.15/Documentation/crypto/
H A Dapi-kpp.rst25 .. 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-6.15/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1230 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx()
1231 ctx->ecdh.p = NULL; in hpre_ecc_clear_ctx()
1347 if (!ctx->ecdh.p) { in hpre_ecdh_set_param()
1348 ctx->ecdh.p = dma_alloc_coherent(dev, sz << 3, &ctx->ecdh.dma_p, in hpre_ecdh_set_param()
1350 if (!ctx->ecdh.p) in hpre_ecdh_set_param()
1355 ctx->ecdh.g = ctx->ecdh.p + shift; in hpre_ecdh_set_param()
1356 ctx->ecdh.dma_g = ctx->ecdh.dma_p + shift; in hpre_ecdh_set_param()
1361 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecdh_set_param()
1362 ctx->ecdh.p = NULL; in hpre_ecdh_set_param()
1407 struct ecdh params; in hpre_ecdh_set_secret()
[all …]
/linux-6.15/net/bluetooth/
H A Decdh_helper.c106 struct ecdh p = {0}; in set_ecdh_privkey()
/linux-6.15/drivers/crypto/
H A Datmel-ecc.c83 struct ecdh params; in atmel_ecdh_set_secret()
/linux-6.15/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c539 struct ecdh params; in kmb_ocs_ecdh_set_secret()
/linux-6.15/drivers/char/tpm/
H A Dtpm2-sessions.c496 struct ecdh p = {0}; in tpm_buf_append_salt()