Lines Matching refs:crypto_hash

140 struct crypto_hash;
219 struct crypto_hash *tfm;
644 int (*setkey)(struct crypto_hash *tfm, const u8 *key,
713 struct crypto_hash { struct
2114 static inline struct crypto_hash *__crypto_hash_cast(struct crypto_tfm *tfm) in __crypto_hash_cast()
2116 return (struct crypto_hash *)tfm; in __crypto_hash_cast()
2119 static inline struct crypto_hash *crypto_hash_cast(struct crypto_tfm *tfm) in crypto_hash_cast()
2140 static inline struct crypto_hash *crypto_alloc_hash(const char *alg_name, in crypto_alloc_hash()
2151 static inline struct crypto_tfm *crypto_hash_tfm(struct crypto_hash *tfm) in crypto_hash_tfm()
2160 static inline void crypto_free_hash(struct crypto_hash *tfm) in crypto_free_hash()
2185 static inline struct hash_tfm *crypto_hash_crt(struct crypto_hash *tfm) in crypto_hash_crt()
2199 static inline unsigned int crypto_hash_blocksize(struct crypto_hash *tfm) in crypto_hash_blocksize()
2204 static inline unsigned int crypto_hash_alignmask(struct crypto_hash *tfm) in crypto_hash_alignmask()
2218 static inline unsigned int crypto_hash_digestsize(struct crypto_hash *tfm) in crypto_hash_digestsize()
2223 static inline u32 crypto_hash_get_flags(struct crypto_hash *tfm) in crypto_hash_get_flags()
2228 static inline void crypto_hash_set_flags(struct crypto_hash *tfm, u32 flags) in crypto_hash_set_flags()
2233 static inline void crypto_hash_clear_flags(struct crypto_hash *tfm, u32 flags) in crypto_hash_clear_flags()
2328 static inline int crypto_hash_setkey(struct crypto_hash *hash, in crypto_hash_setkey()