]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: cryptd - initialize child shash_desc on import
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 1 Sep 2016 13:25:43 +0000 (14:25 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Sep 2016 13:04:36 +0000 (21:04 +0800)
commit8668071b8e2ef07e1c9f1ce1633082a307d80b8c
treeb4b590508cb653ed43308b63ce1c4ec9dcfd255f
parent38f2731dd26a238b1b5c490e0ebc6661d111d6f4
crypto: cryptd - initialize child shash_desc on import

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>
crypto/cryptd.c