Home
last modified time | relevance | path

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

/Linux-v4.19/security/keys/
Dtrusted.c44 static struct crypto_shash *hmacalg; variable
86 sdesc = init_sdesc(hmacalg); in TSS_rawhmac()
92 ret = crypto_shash_setkey(hmacalg, key, keylen); in TSS_rawhmac()
1190 if (hmacalg) in trusted_shash_release()
1191 crypto_free_shash(hmacalg); in trusted_shash_release()
1198 hmacalg = crypto_alloc_shash(hmac_alg, 0, CRYPTO_ALG_ASYNC); in trusted_shash_alloc()
1199 if (IS_ERR(hmacalg)) { in trusted_shash_alloc()
1202 return PTR_ERR(hmacalg); in trusted_shash_alloc()
1216 crypto_free_shash(hmacalg); in trusted_shash_alloc()