Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/qce/
Dsha.c336 struct crypto_ahash *ahash_tfm; in qce_ahash_hmac_setkey() local
356 ahash_tfm = crypto_alloc_ahash(alg_name, 0, 0); in qce_ahash_hmac_setkey()
357 if (IS_ERR(ahash_tfm)) in qce_ahash_hmac_setkey()
358 return PTR_ERR(ahash_tfm); in qce_ahash_hmac_setkey()
360 req = ahash_request_alloc(ahash_tfm, GFP_KERNEL); in qce_ahash_hmac_setkey()
369 crypto_ahash_clear_flags(ahash_tfm, ~0); in qce_ahash_hmac_setkey()
387 crypto_free_ahash(ahash_tfm); in qce_ahash_hmac_setkey()
/linux-5.19.10/drivers/crypto/keembay/
Dkeembay-ocs-hcu-core.c753 struct crypto_ahash *ahash_tfm; in kmb_ocs_hcu_setkey() local
793 ahash_tfm = crypto_alloc_ahash(alg_name, 0, 0); in kmb_ocs_hcu_setkey()
794 if (IS_ERR(ahash_tfm)) in kmb_ocs_hcu_setkey()
795 return PTR_ERR(ahash_tfm); in kmb_ocs_hcu_setkey()
797 req = ahash_request_alloc(ahash_tfm, GFP_KERNEL); in kmb_ocs_hcu_setkey()
806 crypto_ahash_clear_flags(ahash_tfm, ~0); in kmb_ocs_hcu_setkey()
817 crypto_free_ahash(ahash_tfm); in kmb_ocs_hcu_setkey()