Lines Matching refs:tfm
31 static inline struct acomp_alg *crypto_acomp_alg(struct crypto_acomp *tfm) in crypto_acomp_alg() argument
33 return __crypto_acomp_alg(crypto_acomp_tfm(tfm)->__crt_alg); in crypto_acomp_alg()
56 static void crypto_acomp_exit_tfm(struct crypto_tfm *tfm) in crypto_acomp_exit_tfm() argument
58 struct crypto_acomp *acomp = __crypto_acomp_tfm(tfm); in crypto_acomp_exit_tfm()
64 static int crypto_acomp_init_tfm(struct crypto_tfm *tfm) in crypto_acomp_init_tfm() argument
66 struct crypto_acomp *acomp = __crypto_acomp_tfm(tfm); in crypto_acomp_init_tfm()
69 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in crypto_acomp_init_tfm()
70 return crypto_init_scomp_ops_async(tfm); in crypto_acomp_init_tfm()
157 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_alloc() local
161 if (req && (tfm->__crt_alg->cra_type != &crypto_acomp_type)) in acomp_request_alloc()
171 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_free() local
173 if (tfm->__crt_alg->cra_type != &crypto_acomp_type) in acomp_request_free()