Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/
Dn2_core.c294 struct crypto_shash *child_shash; member
416 struct crypto_shash *child_shash; in n2_hmac_cra_init() local
428 child_shash = crypto_alloc_shash(n2alg->child_alg, 0, 0); in n2_hmac_cra_init()
429 if (IS_ERR(child_shash)) { in n2_hmac_cra_init()
432 err = PTR_ERR(child_shash); in n2_hmac_cra_init()
439 ctx->child_shash = child_shash; in n2_hmac_cra_init()
456 crypto_free_shash(ctx->child_shash); in n2_hmac_cra_exit()
463 struct crypto_shash *child_shash = ctx->child_shash; in n2_hmac_async_setkey() local
472 bs = crypto_shash_blocksize(child_shash); in n2_hmac_async_setkey()
473 ds = crypto_shash_digestsize(child_shash); in n2_hmac_async_setkey()
[all …]