diff options
| author | Marcelo Cerri <marcelo.cerri@canonical.com> | 2016-09-28 13:42:10 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-22 12:26:56 +0200 |
| commit | 78e1355d421d266f8309f81ce0770a0f9372a0ec (patch) | |
| tree | d3dae215b029dc89320c19904521051d5cb34622 /include/linux/compiler.h | |
| parent | 4f8c2ad3eeb5bc635ce23d8148cfb4b070704a8b (diff) | |
crypto: vmx - Fix memory corruption caused by p8_ghash
commit 80da44c29d997e28c4442825f35f4ac339813877 upstream.
This patch changes the p8_ghash driver to use ghash-generic as a fixed
fallback implementation. This allows the correct value of descsize to be
defined directly in its shash_alg structure and avoids problems with
incorrect buffer sizes when its state is exported or imported.
Reported-by: Jan Stancek <jstancek@redhat.com>
Fixes: cc333cd68dfa ("crypto: vmx - Adding GHASH routines for VMX module")
Signed-off-by: Marcelo Cerri <marcelo.cerri@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions
