Lines Matching refs:tfm
129 int crypto_init_shash_ops_async(struct crypto_tfm *tfm);
131 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() argument
133 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
142 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() argument
145 tfm->reqsize = reqsize; in crypto_ahash_set_reqsize()
195 struct crypto_ahash *tfm) in ahash_tfm_in_queue() argument
197 return crypto_tfm_in_queue(queue, crypto_ahash_tfm(tfm)); in ahash_tfm_in_queue()
200 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() argument
202 return crypto_tfm_ctx(&tfm->base); in crypto_shash_ctx()
236 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm) in crypto_shash_ctx_aligned() argument
238 return crypto_tfm_ctx_aligned(&tfm->base); in crypto_shash_ctx_aligned()
241 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast() argument
243 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()