Home
last modified time | relevance | path

Searched refs:ecdh (Results 1 – 9 of 9) 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/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c119 struct hpre_ecdh_ctx ecdh; member
136 struct kpp_request *ecdh; member
1178 if (ctx->ecdh.p) { in hpre_ecc_clear_ctx()
1180 memzero_explicit(ctx->ecdh.p + shift, sz); in hpre_ecc_clear_ctx()
1181 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx()
1182 ctx->ecdh.p = NULL; in hpre_ecc_clear_ctx()
1224 static int hpre_ecdh_fill_curve(struct hpre_ctx *ctx, struct ecdh *params, in hpre_ecdh_fill_curve()
1229 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve()
1230 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve()
1231 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve()
[all …]
/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()
/linux/Documentation/crypto/
H A Dapi-kpp.rst28 .. kernel-doc:: include/crypto/ecdh.h
31 .. kernel-doc:: include/crypto/ecdh.h
32 :functions: ecdh crypto_ecdh_key_len crypto_ecdh_encode_key crypto_ecdh_decode_key
/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.c495 struct ecdh p = {0}; in tpm_buf_append_salt()