Searched refs:calg (Results 1 – 4 of 4) sorted by relevance
211 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async() local216 if (!crypto_mod_get(calg)) in crypto_init_scomp_ops_async()219 scomp = crypto_create_tfm(calg, &crypto_scomp_type); in crypto_init_scomp_ops_async()221 crypto_mod_put(calg); in crypto_init_scomp_ops_async()
669 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_blkcipher() local675 if (!crypto_mod_get(calg)) in crypto_init_skcipher_ops_blkcipher()678 btfm = __crypto_alloc_tfm(calg, CRYPTO_ALG_TYPE_BLKCIPHER, in crypto_init_skcipher_ops_blkcipher()681 crypto_mod_put(calg); in crypto_init_skcipher_ops_blkcipher()694 skcipher->keysize = calg->cra_blkcipher.max_keysize; in crypto_init_skcipher_ops_blkcipher()768 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_ablkcipher() local774 if (!crypto_mod_get(calg)) in crypto_init_skcipher_ops_ablkcipher()777 abtfm = __crypto_alloc_tfm(calg, 0, 0); in crypto_init_skcipher_ops_ablkcipher()779 crypto_mod_put(calg); in crypto_init_skcipher_ops_ablkcipher()794 skcipher->keysize = calg->cra_ablkcipher.max_keysize; in crypto_init_skcipher_ops_ablkcipher()
369 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async() local370 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async()375 if (!crypto_mod_get(calg)) in crypto_init_shash_ops_async()378 shash = crypto_create_tfm(calg, &crypto_shash_type); in crypto_init_shash_ops_async()380 crypto_mod_put(calg); in crypto_init_shash_ops_async()
179 struct xfrm_algo *calg; member