Lines Matching refs:tfm
118 int crypto_init_shash_ops_async(struct crypto_tfm *tfm);
120 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() argument
122 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
131 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() argument
134 tfm->reqsize = reqsize; in crypto_ahash_set_reqsize()
193 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() argument
195 return crypto_tfm_ctx(&tfm->base); in crypto_shash_ctx()
229 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm) in crypto_shash_ctx_aligned() argument
231 return crypto_tfm_ctx_aligned(&tfm->base); in crypto_shash_ctx_aligned()
234 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast() argument
236 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()