Lines Matching refs:crypto_kpp

42 struct crypto_kpp {  struct
72 int (*set_secret)(struct crypto_kpp *tfm, const void *buffer,
77 unsigned int (*max_size)(struct crypto_kpp *tfm);
79 int (*init)(struct crypto_kpp *tfm);
80 void (*exit)(struct crypto_kpp *tfm);
105 struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask);
109 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm()
119 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm()
121 return container_of(tfm, struct crypto_kpp, base); in __crypto_kpp_tfm()
124 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg()
129 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize()
135 struct crypto_kpp *tfm) in kpp_request_set_tfm()
140 static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req) in crypto_kpp_reqtfm()
145 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags()
150 static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags) in crypto_kpp_set_flags()
162 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp()
175 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc()
285 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret()
313 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_generate_public_key()
336 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in crypto_kpp_compute_shared_secret()
357 static inline unsigned int crypto_kpp_maxsize(struct crypto_kpp *tfm) in crypto_kpp_maxsize()