Home
last modified time | relevance | path

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

/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c25 static const char hmac_alg[] = "hmac(sha1)"; variable
79 pr_info("can't alloc %s\n", hmac_alg); in TSS_rawhmac()
993 hmacalg = crypto_alloc_shash(hmac_alg, 0, 0); in trusted_shash_alloc()
996 hmac_alg); in trusted_shash_alloc()
/openbmc/linux/security/keys/encrypted-keys/
H A Dencrypted.c41 static const char hmac_alg[] = "hmac(sha256)"; variable
338 tfm = crypto_alloc_shash(hmac_alg, 0, 0); in calc_hmac()
341 hmac_alg, PTR_ERR(tfm)); in calc_hmac()