Lines Matching defs:tfm
151 struct crypto_shash *tfm; member
254 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast()
276 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
285 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
302 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
307 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) in crypto_ahash_driver_name()
313 struct crypto_ahash *tfm) in crypto_ahash_alignmask()
327 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize()
339 struct crypto_ahash *tfm) in crypto_hash_alg_common()
354 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize()
369 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) in crypto_ahash_statesize()
374 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags()
379 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_set_flags()
384 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_clear_flags()
411 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm) in crypto_ahash_reqsize()
507 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_import() local
528 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_init() local
549 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_update() local
580 struct crypto_ahash *tfm) in ahash_request_set_tfm()
598 struct crypto_ahash *tfm, gfp_t gfp) in ahash_request_alloc()
719 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) in crypto_shash_tfm()
728 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash()
733 static inline const char *crypto_shash_alg_name(struct crypto_shash *tfm) in crypto_shash_alg_name()
738 static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm) in crypto_shash_driver_name()
744 struct crypto_shash *tfm) in crypto_shash_alignmask()
758 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) in crypto_shash_blocksize()
768 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) in crypto_shash_alg()
782 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) in crypto_shash_digestsize()
787 static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm) in crypto_shash_statesize()
792 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) in crypto_shash_get_flags()
797 static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags) in crypto_shash_set_flags()
802 static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags) in crypto_shash_clear_flags()
822 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize()
916 struct crypto_shash *tfm = desc->tfm; in crypto_shash_import() local
938 struct crypto_shash *tfm = desc->tfm; in crypto_shash_init() local