Searched refs:hashalg (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 525 ctx->hashalg = crypto_alloc_shash("sha1", 0, in cpt_aead_init() 527 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 528 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 532 ctx->hashalg = crypto_alloc_shash("sha256", 0, in cpt_aead_init() 534 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 535 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 539 ctx->hashalg = crypto_alloc_shash("sha384", 0, in cpt_aead_init() 541 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 542 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 546 ctx->hashalg = crypto_alloc_shash("sha512", 0, in cpt_aead_init() [all …]
|
D | otx_cptvf_algs.h | 171 struct crypto_shash *hashalg; member
|
/linux-5.19.10/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.c | 590 ctx->hashalg = crypto_alloc_shash("sha1", 0, in cpt_aead_init() 592 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 593 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 597 ctx->hashalg = crypto_alloc_shash("sha256", 0, in cpt_aead_init() 599 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 600 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 604 ctx->hashalg = crypto_alloc_shash("sha384", 0, in cpt_aead_init() 606 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 607 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 611 ctx->hashalg = crypto_alloc_shash("sha512", 0, in cpt_aead_init() [all …]
|
D | otx2_cptvf_algs.h | 161 struct crypto_shash *hashalg; member
|
/linux-5.19.10/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 35 static struct crypto_shash *hashalg; variable 57 sdesc = init_sdesc(hashalg); in TSS_sha1() 130 sdesc = init_sdesc(hashalg); in TSS_authhmac() 206 sdesc = init_sdesc(hashalg); in TSS_checkhmac1() 299 sdesc = init_sdesc(hashalg); in TSS_checkhmac2() 983 if (hashalg) in trusted_shash_release() 984 crypto_free_shash(hashalg); in trusted_shash_release() 1000 hashalg = crypto_alloc_shash(hash_alg, 0, 0); in trusted_shash_alloc() 1001 if (IS_ERR(hashalg)) { in trusted_shash_alloc() 1004 ret = PTR_ERR(hashalg); in trusted_shash_alloc()
|
/linux-5.19.10/drivers/s390/crypto/ |
D | zcrypt_ccamisc.h | 69 u8 hashalg; /* hash algorithmus used for wrapping key */ member
|