linux-kernel-test/arch
Mathias Krause 7c8d51848a 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>
2012-05-31 20:53:22 +10:00
..
alpha Merge branch 'akpm' (Andrew's patch-bomb) 2012-03-23 16:59:10 -07:00
arm mach-ux500: crypto - core support for CRYP/HASH module. 2012-05-15 17:25:32 +10:00
avr32 ARM: device tree work 2012-03-27 16:47:35 -07:00
blackfin nmi watchdog: do not use cpp symbol in Kconfig 2012-03-23 16:58:31 -07:00
c6x Remove remaining bits of io_remap_page_range() 2012-03-23 16:58:31 -07:00
cris Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-03-20 21:04:47 -07:00
frv Merge branch 'kmap_atomic' of git://github.com/congwang/linux 2012-03-21 09:40:26 -07:00
h8300 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-03-20 21:04:47 -07:00
hexagon coredump: remove VM_ALWAYSDUMP flag 2012-03-23 16:58:42 -07:00
ia64 Miscellaneous Itanium patches 2012-03-23 17:19:37 -07:00
m32r Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-03-20 21:04:47 -07:00
m68k The following text was taken from the original review request: 2012-03-24 10:08:39 -07:00
microblaze Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze 2012-03-27 18:20:56 -07:00
mips Merge tag 'asoc-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into next/boards 2012-03-27 15:18:19 -07:00
mn10300 Merge branch 'akpm' (Andrew's patch-bomb) 2012-03-23 16:59:10 -07:00
openrisc OpenRISC changes for 3.4 2012-03-23 17:24:25 -07:00
parisc The following text was taken from the original review request: 2012-03-24 10:08:39 -07:00
powerpc The following text was taken from the original review request: 2012-03-24 10:08:39 -07:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-03-27 18:36:38 -07:00
score Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-03-20 21:12:50 -07:00
sh ARM: timer cleanup work 2012-03-27 16:06:17 -07:00
sparc The following text was taken from the original review request: 2012-03-24 10:08:39 -07:00
tile coredump: remove VM_ALWAYSDUMP flag 2012-03-23 16:58:42 -07:00
um Merge branch 'for-linus-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2012-03-27 18:29:53 -07:00
unicore32 Merge branch 'akpm' (Andrew's patch-bomb) 2012-03-23 16:59:10 -07:00
x86 crypto: aesni-intel - fix unaligned cbc decrypt for x86-32 2012-05-31 20:53:22 +10:00
xtensa Merge branch 'akpm' (Andrew's patch-bomb) 2012-03-23 16:59:10 -07:00
.gitignore
Kconfig nmi watchdog: do not use cpp symbol in Kconfig 2012-03-23 16:58:31 -07:00