Lines Matching refs:ahash_tfm
1125 struct crypto_ahash *ahash_tfm; in rfc6803_encrypt_case() local
1181 ahash_tfm = crypto_alloc_ahash(gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC); in rfc6803_encrypt_case()
1182 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ahash_tfm); in rfc6803_encrypt_case()
1183 err = crypto_ahash_setkey(ahash_tfm, Ki.data, Ki.len); in rfc6803_encrypt_case()
1187 err = gss_krb5_checksum(ahash_tfm, NULL, 0, &buf, 0, &checksum); in rfc6803_encrypt_case()
1207 crypto_free_ahash(ahash_tfm); in rfc6803_encrypt_case()
1620 struct crypto_ahash *ahash_tfm; in rfc8009_encrypt_case() local
1675 ahash_tfm = crypto_alloc_ahash(gk5e->cksum_name, 0, CRYPTO_ALG_ASYNC); in rfc8009_encrypt_case()
1676 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ahash_tfm); in rfc8009_encrypt_case()
1677 err = crypto_ahash_setkey(ahash_tfm, Ki.data, Ki.len); in rfc8009_encrypt_case()
1683 err = krb5_etm_checksum(cts_tfm, ahash_tfm, &buf, 0, &checksum); in rfc8009_encrypt_case()
1700 crypto_free_ahash(ahash_tfm); in rfc8009_encrypt_case()