Lines Matching refs:child_shash
292 struct crypto_shash *child_shash; member
414 struct crypto_shash *child_shash; in n2_hmac_cra_init() local
426 child_shash = crypto_alloc_shash(n2alg->child_alg, 0, 0); in n2_hmac_cra_init()
427 if (IS_ERR(child_shash)) { in n2_hmac_cra_init()
430 err = PTR_ERR(child_shash); in n2_hmac_cra_init()
437 ctx->child_shash = child_shash; in n2_hmac_cra_init()
454 crypto_free_shash(ctx->child_shash); in n2_hmac_cra_exit()
461 struct crypto_shash *child_shash = ctx->child_shash; in n2_hmac_async_setkey() local
463 SHASH_DESC_ON_STACK(shash, child_shash); in n2_hmac_async_setkey()
471 shash->tfm = child_shash; in n2_hmac_async_setkey()
475 bs = crypto_shash_blocksize(child_shash); in n2_hmac_async_setkey()
476 ds = crypto_shash_digestsize(child_shash); in n2_hmac_async_setkey()