linux/arch/x86/crypto
Jussi Kivilinna 32bec973a8 crypto: aesni - fix XTS mode on x86-32, add wrapper function for asmlinkage aesni_enc()
Calling convention for internal functions and 'asmlinkage' functions is
different on x86-32. Therefore do not directly cast aesni_enc as XTS tweak
function, but use wrapper function in between. Fixes crash with "XTS +
aesni_intel + x86-32" combination.

Cc: stable@vger.kernel.org
Reported-by: Krzysztof Kolasa <kkolasa@winsoft.pl>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-18 14:01:33 -07:00
..
ablk_helper.c
aes_glue.c
aes-i586-asm_32.S
aes-x86_64-asm_64.S
aesni-intel_asm.S
aesni-intel_glue.c crypto: aesni - fix XTS mode on x86-32, add wrapper function for asmlinkage aesni_enc() 2012-10-18 14:01:33 -07:00
blowfish_glue.c
blowfish-x86_64-asm_64.S
camellia_glue.c
camellia-x86_64-asm_64.S
cast5_avx_glue.c
cast5-avx-x86_64-asm_64.S
cast6_avx_glue.c
cast6-avx-x86_64-asm_64.S
crc32c-intel.c
fpu.c
ghash-clmulni-intel_asm.S
ghash-clmulni-intel_glue.c
glue_helper.c
Makefile
salsa20_glue.c
salsa20-i586-asm_32.S
salsa20-x86_64-asm_64.S
serpent_avx_glue.c
serpent_sse2_glue.c
serpent-avx-x86_64-asm_64.S
serpent-sse2-i586-asm_32.S
serpent-sse2-x86_64-asm_64.S
sha1_ssse3_asm.S
sha1_ssse3_glue.c
twofish_avx_glue.c
twofish_glue_3way.c
twofish_glue.c
twofish-avx-x86_64-asm_64.S
twofish-i586-asm_32.S
twofish-x86_64-asm_64-3way.S
twofish-x86_64-asm_64.S