Home
last modified time | relevance | path

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

/linux/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/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 DMakefile185 ecdh_generic-y += ecdh.o
/linux/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/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c129 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 Decdh_helper.c106 struct ecdh p = {0}; in set_ecdh_privkey()
/linux/drivers/crypto/
H A Datmel-ecc.c83 struct ecdh params; in atmel_ecdh_set_secret()
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c539 struct ecdh params; in kmb_ocs_ecdh_set_secret()
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c496 struct ecdh p = {0}; in tpm_buf_append_salt()