Lines Matching refs:crypto_hash
140 struct crypto_hash;
191 struct crypto_hash *tfm;
529 int (*setkey)(struct crypto_hash *tfm, const u8 *key,
584 struct crypto_hash { struct
1587 static inline struct crypto_hash *__crypto_hash_cast(struct crypto_tfm *tfm) in __crypto_hash_cast()
1589 return (struct crypto_hash *)tfm; in __crypto_hash_cast()
1592 static inline struct crypto_hash *crypto_hash_cast(struct crypto_tfm *tfm) in crypto_hash_cast()
1613 static inline struct crypto_hash *crypto_alloc_hash(const char *alg_name, in crypto_alloc_hash()
1624 static inline struct crypto_tfm *crypto_hash_tfm(struct crypto_hash *tfm) in crypto_hash_tfm()
1633 static inline void crypto_free_hash(struct crypto_hash *tfm) in crypto_free_hash()
1658 static inline struct hash_tfm *crypto_hash_crt(struct crypto_hash *tfm) in crypto_hash_crt()
1672 static inline unsigned int crypto_hash_blocksize(struct crypto_hash *tfm) in crypto_hash_blocksize()
1677 static inline unsigned int crypto_hash_alignmask(struct crypto_hash *tfm) in crypto_hash_alignmask()
1691 static inline unsigned int crypto_hash_digestsize(struct crypto_hash *tfm) in crypto_hash_digestsize()
1696 static inline u32 crypto_hash_get_flags(struct crypto_hash *tfm) in crypto_hash_get_flags()
1701 static inline void crypto_hash_set_flags(struct crypto_hash *tfm, u32 flags) in crypto_hash_set_flags()
1706 static inline void crypto_hash_clear_flags(struct crypto_hash *tfm, u32 flags) in crypto_hash_clear_flags()
1801 static inline int crypto_hash_setkey(struct crypto_hash *hash, in crypto_hash_setkey()