diff options
| author | Marcelo Cerri <[email protected]> | 2016-09-28 16:42:10 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2016-10-02 14:26:42 +0000 |
| commit | 80da44c29d997e28c4442825f35f4ac339813877 (patch) | |
| tree | 07d05485c86275960e270a968ded8baded310d2a /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | crypto: ghash-generic - move common definitions to a new header file (diff) | |
| download | kernel-80da44c29d997e28c4442825f35f4ac339813877.tar.gz kernel-80da44c29d997e28c4442825f35f4ac339813877.zip | |
crypto: vmx - Fix memory corruption caused by p8_ghash
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 <[email protected]>
Fixes: cc333cd68dfa ("crypto: vmx - Adding GHASH routines for VMX module")
Cc: [email protected]
Signed-off-by: Marcelo Cerri <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
