Searched refs:calg (Results 1 – 9 of 9) sorted by relevance
209 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async() local214 if (!crypto_mod_get(calg)) in crypto_init_scomp_ops_async()217 scomp = crypto_create_tfm(calg, &crypto_scomp_type); in crypto_init_scomp_ops_async()219 crypto_mod_put(calg); in crypto_init_scomp_ops_async()282 struct crypto_alg *base = &alg->calg.base; in crypto_register_scomp()284 comp_prepare_alg(&alg->calg); in crypto_register_scomp()
28 return container_of(alg, struct acomp_alg, calg.base); in __crypto_acomp_alg()165 struct crypto_alg *base = &alg->calg.base; in crypto_register_acomp()167 comp_prepare_alg(&alg->calg); in crypto_register_acomp()
309 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_lskcipher_ops_sg() local312 if (!crypto_mod_get(calg)) in crypto_init_lskcipher_ops_sg()315 skcipher = crypto_create_tfm(calg, &crypto_lskcipher_type); in crypto_init_lskcipher_ops_sg()317 crypto_mod_put(calg); in crypto_init_lskcipher_ops_sg()
115 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_ahash_using_shash() local120 if (!crypto_mod_get(calg)) in crypto_init_ahash_using_shash()123 shash = crypto_create_tfm(calg, &crypto_shash_type); in crypto_init_ahash_using_shash()125 crypto_mod_put(calg); in crypto_init_ahash_using_shash()
333 if (!x->calg) { in ipcomp_init_state()352 ipcd->tfms = ipcomp_alloc_tfms(x->calg->alg_name); in ipcomp_init_state()357 calg_desc = xfrm_calg_get_byname(x->calg->alg_name, 0); in ipcomp_init_state()
45 struct comp_alg_common calg; member
292 if (xs->calg) { in ixgbevf_ipsec_add_sa()
597 if (xs->calg) { in ixgbe_ipsec_add_sa()
226 struct xfrm_algo *calg; member