Home
last modified time | relevance | path

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

/crypto/
Dshash.c333 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async() local
334 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async()
339 if (!crypto_mod_get(calg)) in crypto_init_shash_ops_async()
342 shash = crypto_create_tfm(calg, &crypto_shash_type); in crypto_init_shash_ops_async()
344 crypto_mod_put(calg); in crypto_init_shash_ops_async()
456 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_compat() local
457 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_compat()
462 if (!crypto_mod_get(calg)) in crypto_init_shash_ops_compat()
465 shash = crypto_create_tfm(calg, &crypto_shash_type); in crypto_init_shash_ops_compat()
467 crypto_mod_put(calg); in crypto_init_shash_ops_compat()