Lines Matching defs:crypto_kpp
41 * struct crypto_kpp - user-instantiated object which encapsulate
48 struct crypto_kpp {
93 int (*set_secret)(struct crypto_kpp *tfm, const void *buffer,
98 unsigned int (*max_size)(struct crypto_kpp *tfm);
100 int (*init)(struct crypto_kpp *tfm);
101 void (*exit)(struct crypto_kpp *tfm);
123 * Allocate a handle for kpp algorithm. The returned struct crypto_kpp
129 struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask);
133 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm)
143 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm)
145 return container_of(tfm, struct crypto_kpp, base);
148 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm)
153 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm)
159 struct crypto_kpp *tfm)
164 static inline struct crypto_kpp *crypto_kpp_reqtfm(struct kpp_request *req)
169 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm)
174 static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags)
186 static inline void crypto_free_kpp(struct crypto_kpp *tfm)
199 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm,
329 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm,
355 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
376 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req);
395 static inline unsigned int crypto_kpp_maxsize(struct crypto_kpp *tfm)