Searched refs:hashalg (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 515 ctx->hashalg = crypto_alloc_shash("sha1", 0, 0); in cpt_aead_init() 519 ctx->hashalg = crypto_alloc_shash("sha256", 0, 0); in cpt_aead_init() 523 ctx->hashalg = crypto_alloc_shash("sha384", 0, 0); in cpt_aead_init() 527 ctx->hashalg = crypto_alloc_shash("sha512", 0, 0); in cpt_aead_init() 531 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 532 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 536 if (!ctx->hashalg) in cpt_aead_init() 545 int ss = crypto_shash_statesize(ctx->hashalg); in cpt_aead_init() 549 crypto_free_shash(ctx->hashalg); in cpt_aead_init() 556 crypto_free_shash(ctx->hashalg); in cpt_aead_init() [all …]
|
| H A D | otx_cptvf_algs.h | 171 struct crypto_shash *hashalg; member
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_algs.c | 605 ctx->hashalg = crypto_alloc_shash("sha1", 0, 0); in cpt_aead_init() 609 ctx->hashalg = crypto_alloc_shash("sha256", 0, 0); in cpt_aead_init() 613 ctx->hashalg = crypto_alloc_shash("sha384", 0, 0); in cpt_aead_init() 617 ctx->hashalg = crypto_alloc_shash("sha512", 0, 0); in cpt_aead_init() 621 if (IS_ERR(ctx->hashalg)) in cpt_aead_init() 622 return PTR_ERR(ctx->hashalg); in cpt_aead_init() 624 if (ctx->hashalg) { in cpt_aead_init() 625 ctx->sdesc = alloc_sdesc(ctx->hashalg); in cpt_aead_init() 627 crypto_free_shash(ctx->hashalg); in cpt_aead_init() 637 if (ctx->cipher_type != OTX2_CPT_CIPHER_NULL && ctx->hashalg) { in cpt_aead_init() [all …]
|
| H A D | otx2_cptvf_algs.h | 164 struct crypto_shash *hashalg; member
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_ccamisc.h | 70 u8 hashalg; /* hash algorithmus used for wrapping key */ member
|