]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 20 Oct 2016 13:05:18 +0000 (08:05 -0500)
commitdc9ab585c9be8d6647b30741fe4cda9bfacf4ff1
tree517a6efc5590219e0d6e93ca6f853d34c4aa1020
parentbc10aa18e08ebb2e9bdd118dcfa061501278097c
crypto: cryptd - initialize child shash_desc on import

BugLink: http://bugs.launchpad.net/bugs/1627730
commit 0bd2223594a4dcddc1e34b15774a3a4776f7749e upstream.

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()

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
crypto/cryptd.c