Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
H A 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()
996 if (hmacalg) in trusted_shash_release()
997 crypto_free_shash(hmacalg); in trusted_shash_release()
1004 hmacalg = crypto_alloc_shash(hmac_alg, 0, 0); in trusted_shash_alloc()
1005 if (IS_ERR(hmacalg)) { in trusted_shash_alloc()
1008 return PTR_ERR(hmacalg); in trusted_shash_alloc()
1022 crypto_free_shash(hmacalg); in trusted_shash_alloc()