Home
last modified time | relevance | path

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

/Linux-v6.1/include/crypto/
Decdh.h36 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-v6.1/crypto/
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()
Decdh.c30 struct ecdh params; in ecdh_set_secret()
DMakefile189 ecdh_generic-y += ecdh.o
/Linux-v6.1/Documentation/crypto/
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-v6.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c126 struct hpre_ecdh_ctx ecdh; member
141 struct kpp_request *ecdh; member
1203 if (is_ecdh && ctx->ecdh.p) { in hpre_ecc_clear_ctx()
1205 memzero_explicit(ctx->ecdh.p + shift, sz); in hpre_ecc_clear_ctx()
1206 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx()
1207 ctx->ecdh.p = NULL; in hpre_ecc_clear_ctx()
1255 static int hpre_ecdh_fill_curve(struct hpre_ctx *ctx, struct ecdh *params, in hpre_ecdh_fill_curve()
1260 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve()
1261 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve()
1262 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve()
[all …]
/Linux-v6.1/net/bluetooth/
Decdh_helper.c127 struct ecdh p = {0}; in set_ecdh_privkey()
/Linux-v6.1/drivers/crypto/
Datmel-ecc.c83 struct ecdh params; in atmel_ecdh_set_secret()
/Linux-v6.1/drivers/crypto/keembay/
Dkeembay-ocs-ecc.c544 struct ecdh params; in kmb_ocs_ecdh_set_secret()