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

/linux-4.1.27/drivers/crypto/
H A Dn2_core.c287 struct crypto_shash *child_shash; member in struct:n2_hmac_ctx
399 struct crypto_shash *child_shash; n2_hmac_cra_init() local
411 child_shash = crypto_alloc_shash(n2alg->child_alg, 0, 0); n2_hmac_cra_init()
412 if (IS_ERR(child_shash)) { n2_hmac_cra_init()
415 err = PTR_ERR(child_shash); n2_hmac_cra_init()
422 ctx->child_shash = child_shash; n2_hmac_cra_init()
439 crypto_free_shash(ctx->child_shash); n2_hmac_cra_exit()
446 struct crypto_shash *child_shash = ctx->child_shash; n2_hmac_async_setkey() local
448 SHASH_DESC_ON_STACK(shash, child_shash); n2_hmac_async_setkey()
456 shash->tfm = child_shash; n2_hmac_async_setkey()
460 bs = crypto_shash_blocksize(child_shash); n2_hmac_async_setkey()
461 ds = crypto_shash_digestsize(child_shash); n2_hmac_async_setkey()

Completed in 70 milliseconds