diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-10-18 20:24:57 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-18 21:01:33 (GMT) |
commit | 32bec973a8435afc0b032da22174701f836549b2 (patch) | |
tree | ffd561a1ec2988561be99b9e7328bdef43db1584 /arch/hexagon/include/uapi/asm/byteorder.h | |
parent | 43385846968b082bb6c174e8b17479e5123b8d73 (diff) | |
download | linux-fsl-qoriq-32bec973a8435afc0b032da22174701f836549b2.tar.xz |
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>
Diffstat (limited to 'arch/hexagon/include/uapi/asm/byteorder.h')
0 files changed, 0 insertions, 0 deletions