Home
last modified time | relevance | path

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

/Linux-v4.19/security/keys/
Dtrusted.c35 static const char hmac_alg[] = "hmac(sha1)"; variable
88 pr_info("trusted_key: can't alloc %s\n", hmac_alg); in TSS_rawhmac()
1198 hmacalg = crypto_alloc_shash(hmac_alg, 0, CRYPTO_ALG_ASYNC); in trusted_shash_alloc()
1201 hmac_alg); in trusted_shash_alloc()
/Linux-v4.19/security/keys/encrypted-keys/
Dencrypted.c44 static const char hmac_alg[] = "hmac(sha256)"; variable
345 tfm = crypto_alloc_shash(hmac_alg, 0, CRYPTO_ALG_ASYNC); in calc_hmac()
348 hmac_alg, PTR_ERR(tfm)); in calc_hmac()