Home
last modified time | relevance | path

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

/Linux-v5.10/security/keys/trusted-keys/
Dtrusted_tpm1.c43 static struct crypto_shash *hmacalg; variable
84 sdesc = init_sdesc(hmacalg); in TSS_rawhmac()
90 ret = crypto_shash_setkey(hmacalg, key, keylen); in TSS_rawhmac()
1175 if (hmacalg) in trusted_shash_release()
1176 crypto_free_shash(hmacalg); in trusted_shash_release()
1183 hmacalg = crypto_alloc_shash(hmac_alg, 0, 0); in trusted_shash_alloc()
1184 if (IS_ERR(hmacalg)) { in trusted_shash_alloc()
1187 return PTR_ERR(hmacalg); in trusted_shash_alloc()
1201 crypto_free_shash(hmacalg); in trusted_shash_alloc()