Home
last modified time | relevance | path

Searched refs:crypto_kpp (Results 1 – 6 of 6) sorted by relevance

/linux/include/crypto/
H A Dkpp.h48 struct crypto_kpp { struct
78 int (*set_secret)(struct crypto_kpp *tfm, const void *buffer,
83 unsigned int (*max_size)(struct crypto_kpp *tfm);
85 int (*init)(struct crypto_kpp *tfm);
86 void (*exit)(struct crypto_kpp *tfm);
110 struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask);
114 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm()
124 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm()
126 return container_of(tfm, struct crypto_kpp, base); in __crypto_kpp_tfm()
129 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg()
[all …]
/linux/include/crypto/internal/
H A Dkpp.h63 static inline void kpp_set_reqsize(struct crypto_kpp *kpp, in kpp_set_reqsize()
69 static inline void kpp_set_reqsize_dma(struct crypto_kpp *kpp, in kpp_set_reqsize_dma()
76 static inline void *kpp_tfm_ctx(struct crypto_kpp *tfm) in kpp_tfm_ctx()
81 static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm) in kpp_tfm_ctx_dma()
91 static inline const char *kpp_alg_name(struct crypto_kpp *tfm) in kpp_alg_name()
128 static inline struct kpp_instance *kpp_alg_instance(struct crypto_kpp *kpp) in kpp_alg_instance()
239 static inline struct crypto_kpp *crypto_spawn_kpp( in crypto_spawn_kpp()
/linux/include/linux/
H A Dnvme-auth.h49 int nvme_auth_gen_privkey(struct crypto_kpp *dh_tfm, u8 dh_gid);
50 int nvme_auth_gen_pubkey(struct crypto_kpp *dh_tfm,
52 int nvme_auth_gen_session_key(struct crypto_kpp *dh_tfm,
/linux/drivers/nvme/common/
H A Dauth.c380 int nvme_auth_gen_privkey(struct crypto_kpp *dh_tfm, u8 dh_gid) in nvme_auth_gen_privkey()
392 int nvme_auth_gen_pubkey(struct crypto_kpp *dh_tfm, in nvme_auth_gen_pubkey()
432 int nvme_auth_gen_session_key(struct crypto_kpp *dh_tfm, in nvme_auth_gen_session_key()
/linux/security/keys/
H A Ddh.c134 struct crypto_kpp *tfm; in __keyctl_dh_compute()
/linux/drivers/nvme/host/
H A Dauth.c24 struct crypto_kpp *dh_tfm;