diff options
author | Mathias Krause <minipli@googlemail.com> | 2012-05-30 01:43:08 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-05-31 20:53:22 +1000 |
commit | 7c8d51848a88aafdb68f42b6b650c83485ea2f84 (patch) | |
tree | 7d8ed09c28d44f7b66d8c81695f7af77d43d7794 /drivers | |
parent | 121daad8fd1dce63076fa55aaedd5dc3f981b334 (diff) | |
download | linux-rpi3-7c8d51848a88aafdb68f42b6b650c83485ea2f84.tar.gz linux-rpi3-7c8d51848a88aafdb68f42b6b650c83485ea2f84.tar.bz2 linux-rpi3-7c8d51848a88aafdb68f42b6b650c83485ea2f84.zip |
crypto: aesni-intel - fix unaligned cbc decrypt for x86-32
The 32 bit variant of cbc(aes) decrypt is using instructions requiring
128 bit aligned memory locations but fails to ensure this constraint in
the code. Fix this by loading the data into intermediate registers with
load unaligned instructions.
This fixes reported general protection faults related to aesni.
References: https://bugzilla.kernel.org/show_bug.cgi?id=43223
Reported-by: Daniel <garkein@mailueberfall.de>
Cc: stable@kernel.org [v2.6.39+]
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions