original_kernel/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
..
Makefile crypto: cast6 - add x86_64/avx assembler implementation 2012-08-01 17:47:30 +08:00
ablk_helper.c
aes-i586-asm_32.S
aes-x86_64-asm_64.S
aes_glue.c
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-x86_64-asm_64.S
blowfish_glue.c
camellia-x86_64-asm_64.S
camellia_glue.c crypto: camellia-x86_64 - fix sparse warnings (constant is so big) 2012-09-07 04:17:05 +08:00
cast5-avx-x86_64-asm_64.S crypto: cast5-avx - tune assembler code for more performance 2012-09-07 04:17:04 +08:00
cast5_avx_glue.c crypto: cast5/avx - fix storing of new IV in CBC encryption 2012-09-27 15:50:40 +08:00
cast6-avx-x86_64-asm_64.S crypto: cast6-avx - tune assembler code for more performance 2012-09-07 04:17:05 +08:00
cast6_avx_glue.c crypto: cast6 - add x86_64/avx assembler implementation 2012-08-01 17:47:30 +08:00
crc32c-intel.c
fpu.c
ghash-clmulni-intel_asm.S
ghash-clmulni-intel_glue.c
glue_helper.c crypto: x86/glue_helper - fix storing of new IV in CBC encryption 2012-10-04 17:45:29 +08:00
salsa20-i586-asm_32.S
salsa20-x86_64-asm_64.S
salsa20_glue.c
serpent-avx-x86_64-asm_64.S
serpent-sse2-i586-asm_32.S
serpent-sse2-x86_64-asm_64.S
serpent_avx_glue.c
serpent_sse2_glue.c
sha1_ssse3_asm.S
sha1_ssse3_glue.c
twofish-avx-x86_64-asm_64.S crypto: twofish-avx - tune assembler code for more performance 2012-09-07 04:17:04 +08:00
twofish-i586-asm_32.S
twofish-x86_64-asm_64-3way.S
twofish-x86_64-asm_64.S
twofish_avx_glue.c
twofish_glue.c
twofish_glue_3way.c