Home
last modified time | relevance | path

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

/Linux-v5.4/security/keys/
Dtrusted.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()
1199 if (hmacalg) in trusted_shash_release()
1200 crypto_free_shash(hmacalg); in trusted_shash_release()
1207 hmacalg = crypto_alloc_shash(hmac_alg, 0, 0); in trusted_shash_alloc()
1208 if (IS_ERR(hmacalg)) { in trusted_shash_alloc()
1211 return PTR_ERR(hmacalg); in trusted_shash_alloc()
1225 crypto_free_shash(hmacalg); in trusted_shash_alloc()