Searched refs:ecdh (Results 1 – 6 of 6) 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/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 120 struct hpre_ecdh_ctx ecdh; member 136 struct kpp_request *ecdh; member 1213 if (ctx->ecdh.p) { in hpre_ecc_clear_ctx() 1215 memzero_explicit(ctx->ecdh.p + shift, sz); in hpre_ecc_clear_ctx() 1216 dma_free_coherent(dev, sz << 3, ctx->ecdh.p, ctx->ecdh.dma_p); in hpre_ecc_clear_ctx() 1217 ctx->ecdh.p = NULL; in hpre_ecc_clear_ctx() 1259 static int hpre_ecdh_fill_curve(struct hpre_ctx *ctx, struct ecdh *params, in hpre_ecdh_fill_curve() 1264 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve() 1265 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve() 1266 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve() [all …]
|
| /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 | Makefile | 183 ecdh_generic-y += ecdh.o
|
| /linux/net/bluetooth/ |
| H A D | ecdh_helper.c | 106 struct ecdh p = {0}; in set_ecdh_privkey()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 495 struct ecdh p = {0}; in tpm_buf_append_salt()
|