Lines Matching refs:crypto_ahash
15 struct crypto_ahash;
166 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
168 int (*init_tfm)(struct crypto_ahash *tfm);
169 void (*exit_tfm)(struct crypto_ahash *tfm);
170 int (*clone_tfm)(struct crypto_ahash *dst, struct crypto_ahash *src);
252 struct crypto_ahash {
260 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
283 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm)
285 return container_of(tfm, struct crypto_ahash, base);
296 * crypto_ahash is the cipher handle that is required for any subsequent
302 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
305 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *tfm);
307 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm)
318 static inline void crypto_free_ahash(struct crypto_ahash *tfm)
335 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm)
340 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm)
346 struct crypto_ahash *tfm)
360 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm)
372 struct crypto_ahash *tfm)
387 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm)
402 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm)
407 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm)
412 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags)
417 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags)
432 static inline struct crypto_ahash *crypto_ahash_reqtfm(
444 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm)
465 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key,
540 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
561 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
603 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);
632 struct crypto_ahash *tfm)
650 struct crypto_ahash *tfm, gfp_t gfp)