Lines Matching refs:crypto_ahash

18 struct crypto_ahash;
136 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
195 struct crypto_ahash { struct
203 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, argument
226 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument
228 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
245 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
248 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
257 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
263 struct crypto_ahash *tfm) in crypto_ahash_alignmask()
277 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize()
289 struct crypto_ahash *tfm) in crypto_hash_alg_common()
304 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize()
309 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) in crypto_ahash_statesize()
314 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags()
319 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_set_flags()
324 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_clear_flags()
339 static inline struct crypto_ahash *crypto_ahash_reqtfm( in crypto_ahash_reqtfm()
355 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm) in crypto_ahash_reqsize()
376 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key,
379 static inline bool crypto_ahash_has_setkey(struct crypto_ahash *tfm) in crypto_ahash_has_setkey()
512 struct crypto_ahash *tfm) in ahash_request_set_tfm()
531 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc()