Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/qce/
A Dsha.c338 struct crypto_ahash *ahash_tfm; in qce_ahash_hmac_setkey() local
358 ahash_tfm = crypto_alloc_ahash(alg_name, 0, 0); in qce_ahash_hmac_setkey()
359 if (IS_ERR(ahash_tfm)) in qce_ahash_hmac_setkey()
360 return PTR_ERR(ahash_tfm); in qce_ahash_hmac_setkey()
362 req = ahash_request_alloc(ahash_tfm, GFP_KERNEL); in qce_ahash_hmac_setkey()
371 crypto_ahash_clear_flags(ahash_tfm, ~0); in qce_ahash_hmac_setkey()
389 crypto_free_ahash(ahash_tfm); in qce_ahash_hmac_setkey()
/linux-6.3-rc2/net/sunrpc/auth_gss/
A Dgss_krb5_test.c1318 struct crypto_ahash *ahash_tfm; in rfc6803_encrypt_case() local
1373 ahash_tfm = crypto_alloc_ahash(gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC); in rfc6803_encrypt_case()
1374 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ahash_tfm); in rfc6803_encrypt_case()
1375 err = crypto_ahash_setkey(ahash_tfm, Ki.data, Ki.len); in rfc6803_encrypt_case()
1379 err = gss_krb5_checksum(ahash_tfm, NULL, 0, &buf, 0, &checksum); in rfc6803_encrypt_case()
1399 crypto_free_ahash(ahash_tfm); in rfc6803_encrypt_case()
1812 struct crypto_ahash *ahash_tfm; in rfc8009_encrypt_case() local
1868 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ahash_tfm); in rfc8009_encrypt_case()
1869 err = crypto_ahash_setkey(ahash_tfm, Ki.data, Ki.len); in rfc8009_encrypt_case()
1875 err = krb5_etm_checksum(cts_tfm, ahash_tfm, &buf, 0, &checksum); in rfc8009_encrypt_case()
[all …]
/linux-6.3-rc2/drivers/crypto/keembay/
A 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()

Completed in 16 milliseconds