Lines Matching refs:crypto_shash
162 struct crypto_shash *tfm;
218 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
220 int (*init_tfm)(struct crypto_shash *tfm);
221 void (*exit_tfm)(struct crypto_shash *tfm);
222 int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src);
240 struct crypto_shash { struct
715 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
718 struct crypto_shash *crypto_clone_shash(struct crypto_shash *tfm);
722 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) in crypto_shash_tfm()
733 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash()
738 static inline const char *crypto_shash_alg_name(struct crypto_shash *tfm) in crypto_shash_alg_name()
743 static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm) in crypto_shash_driver_name()
757 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) in crypto_shash_blocksize()
767 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) in crypto_shash_alg()
781 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) in crypto_shash_digestsize()
786 static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm) in crypto_shash_statesize()
791 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) in crypto_shash_get_flags()
796 static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags) in crypto_shash_set_flags()
801 static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags) in crypto_shash_clear_flags()
821 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize()
844 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
881 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
926 struct crypto_shash *tfm = desc->tfm; in crypto_shash_init()