Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
A Dtrusted_tpm1.c35 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()
994 if (hashalg) in trusted_shash_release()
995 crypto_free_shash(hashalg); in trusted_shash_release()
1011 hashalg = crypto_alloc_shash(hash_alg, 0, 0); in trusted_shash_alloc()
1012 if (IS_ERR(hashalg)) { in trusted_shash_alloc()
1015 ret = PTR_ERR(hashalg); in trusted_shash_alloc()
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_algs.c531 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()
561 ctx->sdesc = alloc_sdesc(ctx->hashalg); in cpt_aead_init()
565 crypto_free_shash(ctx->hashalg); in cpt_aead_init()
623 crypto_free_shash(ctx->hashalg); in otx_cpt_aead_exit()
754 int bs = crypto_shash_blocksize(ctx->hashalg); in aead_hmac_init()
[all …]
A Dotx_cptvf_algs.h171 struct crypto_shash *hashalg; member
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_algs.c620 if (IS_ERR(ctx->hashalg)) in cpt_aead_init()
621 return PTR_ERR(ctx->hashalg); in cpt_aead_init()
623 if (ctx->hashalg) { in cpt_aead_init()
624 ctx->sdesc = alloc_sdesc(ctx->hashalg); in cpt_aead_init()
626 crypto_free_shash(ctx->hashalg); in cpt_aead_init()
637 int ss = crypto_shash_statesize(ctx->hashalg); in cpt_aead_init()
642 crypto_free_shash(ctx->hashalg); in cpt_aead_init()
650 crypto_free_shash(ctx->hashalg); in cpt_aead_init()
733 crypto_free_shash(ctx->hashalg); in otx2_cpt_aead_exit()
842 int bs = crypto_shash_blocksize(ctx->hashalg); in aead_hmac_init()
[all …]
A Dotx2_cptvf_algs.h164 struct crypto_shash *hashalg; member
/linux/drivers/s390/crypto/
A Dzcrypt_ccamisc.h69 u8 hashalg; /* hash algorithmus used for wrapping key */ member

Completed in 20 milliseconds