Lines Matching refs:child_shash
293 struct crypto_shash *child_shash; member
415 struct crypto_shash *child_shash; in n2_hmac_cra_init() local
427 child_shash = crypto_alloc_shash(n2alg->child_alg, 0, 0); in n2_hmac_cra_init()
428 if (IS_ERR(child_shash)) { in n2_hmac_cra_init()
431 err = PTR_ERR(child_shash); in n2_hmac_cra_init()
438 ctx->child_shash = child_shash; in n2_hmac_cra_init()
455 crypto_free_shash(ctx->child_shash); in n2_hmac_cra_exit()
462 struct crypto_shash *child_shash = ctx->child_shash; in n2_hmac_async_setkey() local
464 SHASH_DESC_ON_STACK(shash, child_shash); in n2_hmac_async_setkey()
472 shash->tfm = child_shash; in n2_hmac_async_setkey()
474 bs = crypto_shash_blocksize(child_shash); in n2_hmac_async_setkey()
475 ds = crypto_shash_digestsize(child_shash); in n2_hmac_async_setkey()