Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c524 ctx->hashalg = crypto_alloc_shash("sha1", 0, in cpt_aead_init()
526 if (IS_ERR(ctx->hashalg)) in cpt_aead_init()
527 return PTR_ERR(ctx->hashalg); in cpt_aead_init()
531 ctx->hashalg = crypto_alloc_shash("sha256", 0, in cpt_aead_init()
533 if (IS_ERR(ctx->hashalg)) in cpt_aead_init()
534 return PTR_ERR(ctx->hashalg); in cpt_aead_init()
538 ctx->hashalg = crypto_alloc_shash("sha384", 0, in cpt_aead_init()
540 if (IS_ERR(ctx->hashalg)) in cpt_aead_init()
541 return PTR_ERR(ctx->hashalg); in cpt_aead_init()
545 ctx->hashalg = crypto_alloc_shash("sha512", 0, in cpt_aead_init()
[all …]
Dotx_cptvf_algs.h171 struct crypto_shash *hashalg; member
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm1.c42 static struct crypto_shash *hashalg; variable
64 sdesc = init_sdesc(hashalg); in TSS_sha1()
137 sdesc = init_sdesc(hashalg); in TSS_authhmac()
213 sdesc = init_sdesc(hashalg); in TSS_checkhmac1()
306 sdesc = init_sdesc(hashalg); in TSS_checkhmac2()
1209 if (hashalg) in trusted_shash_release()
1210 crypto_free_shash(hashalg); in trusted_shash_release()
1226 hashalg = crypto_alloc_shash(hash_alg, 0, 0); in trusted_shash_alloc()
1227 if (IS_ERR(hashalg)) { in trusted_shash_alloc()
1230 ret = PTR_ERR(hashalg); in trusted_shash_alloc()
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_ccamisc.h69 u8 hashalg; /* hash algorithmus used for wrapping key */ member