Lines Matching refs:crypto_ahash

14 struct crypto_ahash;
142 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
144 int (*init_tfm)(struct crypto_ahash *tfm);
145 void (*exit_tfm)(struct crypto_ahash *tfm);
224 struct crypto_ahash {
232 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
254 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm)
256 return container_of(tfm, struct crypto_ahash, base);
267 * crypto_ahash is the cipher handle that is required for any subsequent
273 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
276 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm)
287 static inline void crypto_free_ahash(struct crypto_ahash *tfm)
304 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm)
309 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm)
315 struct crypto_ahash *tfm)
329 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm)
341 struct crypto_ahash *tfm)
356 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm)
371 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm)
376 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm)
381 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags)
386 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags)
401 static inline struct crypto_ahash *crypto_ahash_reqtfm(
413 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm)
434 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key,
509 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
530 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
551 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
582 struct crypto_ahash *tfm)
600 struct crypto_ahash *tfm, gfp_t gfp)