Home
last modified time | relevance | path

Searched refs:calg (Results 1 – 3 of 3) sorted by relevance

/crypto/
Dscompress.c188 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async() local
193 if (!crypto_mod_get(calg)) in crypto_init_scomp_ops_async()
196 scomp = crypto_create_tfm(calg, &crypto_scomp_type); in crypto_init_scomp_ops_async()
198 crypto_mod_put(calg); in crypto_init_scomp_ops_async()
Dskcipher.c665 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_blkcipher() local
671 if (!crypto_mod_get(calg)) in crypto_init_skcipher_ops_blkcipher()
674 btfm = __crypto_alloc_tfm(calg, CRYPTO_ALG_TYPE_BLKCIPHER, in crypto_init_skcipher_ops_blkcipher()
677 crypto_mod_put(calg); in crypto_init_skcipher_ops_blkcipher()
690 skcipher->keysize = calg->cra_blkcipher.max_keysize; in crypto_init_skcipher_ops_blkcipher()
764 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_skcipher_ops_ablkcipher() local
770 if (!crypto_mod_get(calg)) in crypto_init_skcipher_ops_ablkcipher()
773 abtfm = __crypto_alloc_tfm(calg, 0, 0); in crypto_init_skcipher_ops_ablkcipher()
775 crypto_mod_put(calg); in crypto_init_skcipher_ops_ablkcipher()
790 skcipher->keysize = calg->cra_ablkcipher.max_keysize; in crypto_init_skcipher_ops_ablkcipher()
Dshash.c352 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async() local
353 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async()
358 if (!crypto_mod_get(calg)) in crypto_init_shash_ops_async()
361 shash = crypto_create_tfm(calg, &crypto_shash_type); in crypto_init_shash_ops_async()
363 crypto_mod_put(calg); in crypto_init_shash_ops_async()