Lines Matching refs:crypto_aead
76 struct crypto_aead;
139 int (*setkey)(struct crypto_aead *tfm, const u8 *key,
141 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize);
144 int (*init)(struct crypto_aead *tfm);
145 void (*exit)(struct crypto_aead *tfm);
154 struct crypto_aead { struct
161 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast() argument
163 return container_of(tfm, struct crypto_aead, base); in __crypto_aead_cast()
180 struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask);
182 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm()
193 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead()
198 static inline const char *crypto_aead_driver_name(struct crypto_aead *tfm) in crypto_aead_driver_name()
203 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg()
223 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize()
240 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize()
250 static inline unsigned int crypto_aead_maxauthsize(struct crypto_aead *aead) in crypto_aead_maxauthsize()
265 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize()
270 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask()
275 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags()
280 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_set_flags()
285 static inline void crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_clear_flags()
306 int crypto_aead_setkey(struct crypto_aead *tfm,
319 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize);
321 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm()
388 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm) in crypto_aead_reqsize()
402 struct crypto_aead *tfm) in aead_request_set_tfm()
418 static inline struct aead_request *aead_request_alloc(struct crypto_aead *tfm, in aead_request_alloc()