Home
last modified time | relevance | path

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

/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c516 ctx->hashalg = crypto_alloc_shash("sha1", 0, 0); in cpt_aead_init()
520 ctx->hashalg = crypto_alloc_shash("sha256", 0, 0); in cpt_aead_init()
524 ctx->hashalg = crypto_alloc_shash("sha384", 0, 0); in cpt_aead_init()
528 ctx->hashalg = crypto_alloc_shash("sha512", 0, 0); in cpt_aead_init()
532 if (IS_ERR(ctx->hashalg)) in cpt_aead_init()
533 return PTR_ERR(ctx->hashalg); in cpt_aead_init()
537 if (!ctx->hashalg) in cpt_aead_init()
546 int ss = crypto_shash_statesize(ctx->hashalg); in cpt_aead_init()
550 crypto_free_shash(ctx->hashalg); in cpt_aead_init()
557 crypto_free_shash(ctx->hashalg); in cpt_aead_init()
[all...]
H A Dotx_cptvf_algs.h171 struct crypto_shash *hashalg; member
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.h164 struct crypto_shash *hashalg; member
/linux/drivers/s390/crypto/
H A Dzcrypt_ccamisc.h70 u8 hashalg; /* hash algorithmus used for wrapping key */ member