Lines Matching refs:crypto_shash
148 struct crypto_shash *tfm;
187 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
215 struct crypto_shash { struct
684 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
687 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) in crypto_shash_tfm()
696 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash()
701 static inline const char *crypto_shash_alg_name(struct crypto_shash *tfm) in crypto_shash_alg_name()
706 static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm) in crypto_shash_driver_name()
712 struct crypto_shash *tfm) in crypto_shash_alignmask()
726 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) in crypto_shash_blocksize()
736 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) in crypto_shash_alg()
750 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) in crypto_shash_digestsize()
755 static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm) in crypto_shash_statesize()
760 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) in crypto_shash_get_flags()
765 static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags) in crypto_shash_set_flags()
770 static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags) in crypto_shash_clear_flags()
790 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize()
812 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
861 struct crypto_shash *tfm = desc->tfm; in crypto_shash_import()
882 struct crypto_shash *tfm = desc->tfm; in crypto_shash_init()