Lines Matching refs:crypto_aead

75 struct crypto_aead;
137 int (*setkey)(struct crypto_aead *tfm, const u8 *key,
139 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize);
142 int (*init)(struct crypto_aead *tfm);
143 void (*exit)(struct crypto_aead *tfm);
152 struct crypto_aead {
159 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm)
161 return container_of(tfm, struct crypto_aead, base);
172 * crypto_aead is the cipher handle that is required for any subsequent
178 struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask);
180 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm)
191 static inline void crypto_free_aead(struct crypto_aead *tfm)
196 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm)
216 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm)
233 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm)
243 static inline unsigned int crypto_aead_maxauthsize(struct crypto_aead *aead)
258 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm)
263 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm)
268 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm)
273 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags)
278 static inline void crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags)
299 int crypto_aead_setkey(struct crypto_aead *tfm,
312 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize);
314 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req)
381 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm)
395 struct crypto_aead *tfm)
411 static inline struct aead_request *aead_request_alloc(struct crypto_aead *tfm,