Lines Matching refs:crypto_ahash
15 struct crypto_ahash;
166 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
168 int (*init_tfm)(struct crypto_ahash *tfm);
169 void (*exit_tfm)(struct crypto_ahash *tfm);
170 int (*clone_tfm)(struct crypto_ahash *dst, struct crypto_ahash *src);
252 struct crypto_ahash { struct
260 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, argument
283 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument
285 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
302 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
305 struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *tfm);
307 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
318 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
335 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
340 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) in crypto_ahash_driver_name()
346 struct crypto_ahash *tfm) in crypto_ahash_alignmask()
360 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize()
372 struct crypto_ahash *tfm) in crypto_hash_alg_common()
387 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize()
402 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) in crypto_ahash_statesize()
407 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags()
412 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_set_flags()
417 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_clear_flags()
432 static inline struct crypto_ahash *crypto_ahash_reqtfm( in crypto_ahash_reqtfm()
444 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm) in crypto_ahash_reqsize()
465 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key,
540 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_import()
561 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init()
603 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_update()
632 struct crypto_ahash *tfm) in ahash_request_set_tfm()
650 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc()