Lines Matching refs:crypto_aead
77 struct crypto_aead;
157 int (*setkey)(struct crypto_aead *tfm, const u8 *key,
159 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize);
162 int (*init)(struct crypto_aead *tfm);
163 void (*exit)(struct crypto_aead *tfm);
176 struct crypto_aead {
183 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm)
185 return container_of(tfm, struct crypto_aead, base);
196 * crypto_aead is the cipher handle that is required for any subsequent
202 struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask);
204 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm)
215 static inline void crypto_free_aead(struct crypto_aead *tfm)
220 static inline const char *crypto_aead_driver_name(struct crypto_aead *tfm)
225 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm)
245 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm)
262 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm)
272 static inline unsigned int crypto_aead_maxauthsize(struct crypto_aead *aead)
287 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm)
292 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm)
297 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm)
302 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags)
307 static inline void crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags)
328 int crypto_aead_setkey(struct crypto_aead *tfm,
341 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize);
343 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req)
410 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm)
424 struct crypto_aead *tfm)
440 static inline struct aead_request *aead_request_alloc(struct crypto_aead *tfm,