Symbol: crypto_kpp
crypto/dh.c
169
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
crypto/dh.c
251
static unsigned int dh_max_size(struct crypto_kpp *tfm)
crypto/dh.c
258
static void dh_exit_tfm(struct crypto_kpp *tfm)
crypto/dh.c
295
struct crypto_kpp *dh_tfm;
crypto/dh.c
307
struct crypto_kpp *tfm)
crypto/dh.c
312
static int dh_safe_prime_init_tfm(struct crypto_kpp *tfm)
crypto/dh.c
328
static void dh_safe_prime_exit_tfm(struct crypto_kpp *tfm)
crypto/dh.c
42
static inline struct dh_ctx *dh_get_ctx(struct crypto_kpp *tfm)
crypto/dh.c
457
static int dh_safe_prime_set_secret(struct crypto_kpp *tfm, const void *buffer,
crypto/dh.c
544
static unsigned int dh_safe_prime_max_size(struct crypto_kpp *tfm)
crypto/dh.c
71
static int dh_set_secret(struct crypto_kpp *tfm, const void *buf,
crypto/ecdh.c
123
static unsigned int ecdh_max_size(struct crypto_kpp *tfm)
crypto/ecdh.c
131
static int ecdh_nist_p192_init_tfm(struct crypto_kpp *tfm)
crypto/ecdh.c
156
static int ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm)
crypto/ecdh.c
181
static int ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm)
crypto/ecdh.c
21
static inline struct ecdh_ctx *ecdh_get_ctx(struct crypto_kpp *tfm)
crypto/ecdh.c
26
static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
crypto/ecdh.c
57
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
crypto/kpp.c
40
struct crypto_kpp *kpp = __crypto_kpp_tfm(tfm);
crypto/kpp.c
48
struct crypto_kpp *kpp = __crypto_kpp_tfm(tfm);
crypto/kpp.c
80
.tfmsize = offsetof(struct crypto_kpp, base),
crypto/kpp.c
84
struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask)
crypto/testmgr.c
3580
static int do_test_kpp(struct crypto_kpp *tfm, const struct kpp_testvec *vec,
crypto/testmgr.c
3722
static int test_kpp(struct crypto_kpp *tfm, const char *alg,
crypto/testmgr.c
3741
struct crypto_kpp *tfm;
drivers/char/tpm/tpm2-sessions.c
492
struct crypto_kpp *kpp;
drivers/crypto/atmel-ecc.c
139
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/atmel-ecc.c
167
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/atmel-ecc.c
247
static int atmel_ecdh_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/atmel-ecc.c
250
struct crypto_kpp *fallback;
drivers/crypto/atmel-ecc.c
273
static void atmel_ecdh_exit_tfm(struct crypto_kpp *tfm)
drivers/crypto/atmel-ecc.c
282
static unsigned int atmel_ecdh_max_size(struct crypto_kpp *tfm)
drivers/crypto/atmel-ecc.c
42
struct crypto_kpp *fallback;
drivers/crypto/atmel-ecc.c
77
static int atmel_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
drivers/crypto/hisilicon/hpre/hpre_crypto.c
107
struct crypto_kpp *soft_tfm;
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1345
static int hpre_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1541
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1585
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1601
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1615
static unsigned int hpre_ecdh_max_size(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1626
static int hpre_ecdh_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1652
static int hpre_ecdh_nist_p192_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1661
static int hpre_ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1671
static int hpre_ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
1680
static void hpre_ecdh_exit_tfm(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
478
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/hisilicon/hpre/hpre_crypto.c
520
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/hisilicon/hpre/hpre_crypto.c
533
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/hisilicon/hpre/hpre_crypto.c
547
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/hisilicon/hpre/hpre_crypto.c
635
static int hpre_dh_set_secret(struct crypto_kpp *tfm, const void *buf,
drivers/crypto/hisilicon/hpre/hpre_crypto.c
673
static unsigned int hpre_dh_max_size(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
683
static int hpre_dh_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
713
static void hpre_dh_exit_tfm(struct crypto_kpp *tfm)
drivers/crypto/hisilicon/hpre/hpre_crypto.c
96
struct crypto_kpp *soft_tfm;
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
535
static int kmb_ocs_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
795
static int kmb_ocs_ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
802
static int kmb_ocs_ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
809
static void kmb_ocs_ecdh_exit_tfm(struct crypto_kpp *tfm)
drivers/crypto/intel/keembay/keembay-ocs-ecc.c
816
static unsigned int kmb_ocs_ecdh_max_size(struct crypto_kpp *tfm)
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
113
struct crypto_kpp *ftfm;
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
221
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
389
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
404
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
475
static int qat_dh_set_secret(struct crypto_kpp *tfm, const void *buf,
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
516
static unsigned int qat_dh_max_size(struct crypto_kpp *tfm)
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
526
static int qat_dh_init_tfm(struct crypto_kpp *tfm)
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c
554
static void qat_dh_exit_tfm(struct crypto_kpp *tfm)
drivers/nvme/common/auth.c
376
int nvme_auth_gen_privkey(struct crypto_kpp *dh_tfm, u8 dh_gid)
drivers/nvme/common/auth.c
388
int nvme_auth_gen_pubkey(struct crypto_kpp *dh_tfm,
drivers/nvme/common/auth.c
413
int nvme_auth_gen_shared_secret(struct crypto_kpp *dh_tfm,
drivers/nvme/host/auth.c
26
struct crypto_kpp *dh_tfm;
drivers/nvme/target/nvmet.h
304
struct crypto_kpp *dh_tfm;
include/crypto/internal/kpp.h
128
static inline struct kpp_instance *kpp_alg_instance(struct crypto_kpp *kpp)
include/crypto/internal/kpp.h
239
static inline struct crypto_kpp *crypto_spawn_kpp(
include/crypto/internal/kpp.h
63
static inline void kpp_set_reqsize(struct crypto_kpp *kpp,
include/crypto/internal/kpp.h
69
static inline void kpp_set_reqsize_dma(struct crypto_kpp *kpp,
include/crypto/internal/kpp.h
76
static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm)
include/crypto/internal/kpp.h
81
static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm)
include/crypto/internal/kpp.h
91
static inline const char *kpp_alg_name(struct crypto_kpp *tfm)
include/crypto/kpp.h
110
struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask);
include/crypto/kpp.h
114
static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm)
include/crypto/kpp.h
124
static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm)
include/crypto/kpp.h
126
return container_of(tfm, struct crypto_kpp, base);
include/crypto/kpp.h
129
static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm)
include/crypto/kpp.h
134
static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm)
include/crypto/kpp.h
140
struct crypto_kpp *tfm)
include/crypto/kpp.h
145
static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req)
include/crypto/kpp.h
150
static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm)
include/crypto/kpp.h
155
static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags)
include/crypto/kpp.h
167
static inline void crypto_free_kpp(struct crypto_kpp *tfm)
include/crypto/kpp.h
180
static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm,
include/crypto/kpp.h
290
static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm,
include/crypto/kpp.h
311
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
include/crypto/kpp.h
328
struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
include/crypto/kpp.h
343
static inline unsigned int crypto_kpp_maxsize(struct crypto_kpp *tfm)
include/crypto/kpp.h
78
int (*set_secret)(struct crypto_kpp *tfm, const void *buffer,
include/crypto/kpp.h
83
unsigned int (*max_size)(struct crypto_kpp *tfm);
include/crypto/kpp.h
85
int (*init)(struct crypto_kpp *tfm);
include/crypto/kpp.h
86
void (*exit)(struct crypto_kpp *tfm);
include/linux/nvme-auth.h
37
int nvme_auth_gen_privkey(struct crypto_kpp *dh_tfm, u8 dh_gid);
include/linux/nvme-auth.h
38
int nvme_auth_gen_pubkey(struct crypto_kpp *dh_tfm,
include/linux/nvme-auth.h
40
int nvme_auth_gen_shared_secret(struct crypto_kpp *dh_tfm,
net/bluetooth/ecdh_helper.c
101
int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32])
net/bluetooth/ecdh_helper.c
145
int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64])
net/bluetooth/ecdh_helper.c
194
int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64])
net/bluetooth/ecdh_helper.c
44
int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 public_key[64],
net/bluetooth/ecdh_helper.h
26
int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 pair_public_key[64],
net/bluetooth/ecdh_helper.h
28
int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]);
net/bluetooth/ecdh_helper.h
29
int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]);
net/bluetooth/ecdh_helper.h
30
int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]);
net/bluetooth/selftest.c
141
static int __init test_ecdh_sample(struct crypto_kpp *tfm, const u8 priv_a[32],
net/bluetooth/selftest.c
201
struct crypto_kpp *tfm;
net/bluetooth/smp.c
131
struct crypto_kpp *tfm_ecdh;
net/bluetooth/smp.c
2732
struct crypto_kpp *tfm_ecdh;
net/bluetooth/smp.c
3290
struct crypto_kpp *tfm_ecdh;
net/bluetooth/smp.c
3474
static int __init test_debug_key(struct crypto_kpp *tfm_ecdh)
net/bluetooth/smp.c
3740
struct crypto_kpp *tfm_ecdh)
net/bluetooth/smp.c
3824
struct crypto_kpp *tfm_ecdh;
net/bluetooth/smp.c
93
struct crypto_kpp *tfm_ecdh;
security/keys/dh.c
134
struct crypto_kpp *tfm;