Lines Matching refs:tfm
78 int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,
136 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() argument
138 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
141 static inline void *crypto_ahash_ctx_dma(struct crypto_ahash *tfm) in crypto_ahash_ctx_dma() argument
143 return crypto_tfm_ctx_dma(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx_dma()
158 static inline void crypto_ahash_set_statesize(struct crypto_ahash *tfm, in crypto_ahash_set_statesize() argument
161 tfm->statesize = size; in crypto_ahash_set_statesize()
164 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() argument
167 tfm->reqsize = reqsize; in crypto_ahash_set_reqsize()
238 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() argument
240 return crypto_tfm_ctx(&tfm->base); in crypto_shash_ctx()
272 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm) in crypto_shash_ctx_aligned() argument
274 return crypto_tfm_ctx_aligned(&tfm->base); in crypto_shash_ctx_aligned()
277 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast() argument
279 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()