Lines Matching refs:crypto_ahash
19 struct crypto_ahash;
150 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
152 int (*init_tfm)(struct crypto_ahash *tfm);
153 void (*exit_tfm)(struct crypto_ahash *tfm);
154 int (*clone_tfm)(struct crypto_ahash *dst, struct crypto_ahash *src);
233 struct crypto_ahash { struct
255 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument
257 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
274 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
277 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *tfm);
279 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
290 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
307 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
312 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) in crypto_ahash_driver_name()
326 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize()
338 struct crypto_ahash *tfm) in crypto_hash_alg_common()
353 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize()
368 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) in crypto_ahash_statesize()
373 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags()
378 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_set_flags()
383 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_clear_flags()
398 static inline struct crypto_ahash *crypto_ahash_reqtfm( in crypto_ahash_reqtfm()
410 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm) in crypto_ahash_reqsize()
431 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key,
549 struct crypto_ahash *tfm) in ahash_request_set_tfm()
567 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc_noprof()
994 static inline bool ahash_is_async(struct crypto_ahash *tfm) in ahash_is_async()