diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-06-11 22:25:22 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-06-13 14:57:42 +0800 |
commit | fe6510b5d6349a8999b83ef7c5671e5a561b803a (patch) | |
tree | be7001c1a1f94a6438e53e69c771b87d45a87ff9 /arch/x86/kvm/x86.c | |
parent | 68be0b1ae355c6deb11326df6758f80154f44cf0 (diff) | |
download | linux-fe6510b5d6349a8999b83ef7c5671e5a561b803a.tar.gz linux-fe6510b5d6349a8999b83ef7c5671e5a561b803a.tar.bz2 linux-fe6510b5d6349a8999b83ef7c5671e5a561b803a.zip |
crypto: aesni_intel - fix accessing of unaligned memory
The new XTS code for aesni_intel uses input buffers directly as memory operands
for pxor instructions, which causes crash if those buffers are not aligned to
16 bytes.
Patch changes XTS code to handle unaligned memory correctly, by loading memory
with movdqu instead.
Reported-by: Dave Jones <davej@redhat.com>
Tested-by: Dave Jones <davej@redhat.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions