Searched refs:hashalg (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/security/keys/
H A Dtrusted.c42 static struct crypto_shash *hashalg; variable in typeref:struct:crypto_shash
65 sdesc = init_sdesc(hashalg); TSS_sha1()
135 sdesc = init_sdesc(hashalg); TSS_authhmac()
207 sdesc = init_sdesc(hashalg); TSS_checkhmac1()
299 sdesc = init_sdesc(hashalg); TSS_checkhmac2()
1111 if (hashalg) trusted_shash_release()
1112 crypto_free_shash(hashalg); trusted_shash_release()
1128 hashalg = crypto_alloc_shash(hash_alg, 0, CRYPTO_ALG_ASYNC); trusted_shash_alloc()
1129 if (IS_ERR(hashalg)) { trusted_shash_alloc()
1132 ret = PTR_ERR(hashalg); trusted_shash_alloc()
/linux-4.1.27/security/keys/encrypted-keys/
H A Dencrypted.c62 static struct crypto_shash *hashalg; variable in typeref:struct:crypto_shash
362 sdesc = alloc_sdesc(hashalg); calc_hash()
983 if (hashalg) encrypted_shash_release()
984 crypto_free_shash(hashalg); encrypted_shash_release()
1000 hashalg = crypto_alloc_shash(hash_alg, 0, CRYPTO_ALG_ASYNC); encrypted_shash_alloc()
1001 if (IS_ERR(hashalg)) { encrypted_shash_alloc()
1004 ret = PTR_ERR(hashalg); encrypted_shash_alloc()

Completed in 105 milliseconds