linux/crypto/cryptd.c
Ard Biesheuvel 87af205b4c crypto: cryptd - initialize child shash_desc on import
[ Upstream commit 0bd2223594 ]

When calling .import() on a cryptd ahash_request, the structure members
that describe the child transform in the shash_desc need to be initialized
like they are when calling .init()

Cc: stable@vger.kernel.org
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
2016-10-05 22:40:20 -04:00

963 lines
25 KiB