Lines Matching defs:crypto_shash
176 struct crypto_shash *tfm;
236 int (*setkey)(struct crypto_shash *tfm, const u8 *key,
238 int (*init_tfm)(struct crypto_shash *tfm);
239 void (*exit_tfm)(struct crypto_shash *tfm);
240 int (*clone_tfm)(struct crypto_shash *dst, struct crypto_shash *src);
268 struct crypto_shash {
762 * crypto_shash is the cipher handle that is required for any subsequent
768 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
771 struct crypto_shash *crypto_clone_shash(struct crypto_shash *tfm);
775 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm)
786 static inline void crypto_free_shash(struct crypto_shash *tfm)
791 static inline const char *crypto_shash_alg_name(struct crypto_shash *tfm)
796 static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm)
802 struct crypto_shash *tfm)
816 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm)
826 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm)
840 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm)
845 static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm)
850 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm)
855 static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags)
860 static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags)
880 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm)
903 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
933 * crypto_shash_tfm_digest() takes a hash transformation object (crypto_shash)
940 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
974 struct crypto_shash *tfm = desc->tfm;
996 struct crypto_shash *tfm = desc->tfm;