Lines Matching refs:crypto_ahash
15 struct crypto_ahash;
145 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
147 int (*init_tfm)(struct crypto_ahash *tfm);
148 void (*exit_tfm)(struct crypto_ahash *tfm);
149 int (*clone_tfm)(struct crypto_ahash *dst, struct crypto_ahash *src);
226 struct crypto_ahash { struct
248 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument
250 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
267 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
270 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *tfm);
272 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
283 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
300 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
305 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) in crypto_ahash_driver_name()
319 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize()
331 struct crypto_ahash *tfm) in crypto_hash_alg_common()
346 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize()
361 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) in crypto_ahash_statesize()
366 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags()
371 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_set_flags()
376 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_clear_flags()
391 static inline struct crypto_ahash *crypto_ahash_reqtfm( in crypto_ahash_reqtfm()
403 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm) in crypto_ahash_reqsize()
424 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key,
542 struct crypto_ahash *tfm) in ahash_request_set_tfm()
560 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc_noprof()