Home
last modified time | relevance | path

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

/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tpm1.c36 static struct crypto_shash *hmacalg; variable
77 sdesc = init_sdesc(hmacalg); in TSS_rawhmac()
83 ret = crypto_shash_setkey(hmacalg, key, keylen); in TSS_rawhmac()
985 if (hmacalg) in trusted_shash_release()
986 crypto_free_shash(hmacalg); in trusted_shash_release()
993 hmacalg = crypto_alloc_shash(hmac_alg, 0, 0); in trusted_shash_alloc()
994 if (IS_ERR(hmacalg)) { in trusted_shash_alloc()
997 return PTR_ERR(hmacalg); in trusted_shash_alloc()
1011 crypto_free_shash(hmacalg); in trusted_shash_alloc()