From: Jussi Kivilinna Date: Tue, 11 Jun 2013 19:25:22 +0000 (+0300) Subject: crypto: aesni_intel - fix accessing of unaligned memory X-Git-Tag: v3.10-rc7~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe6510b5d6349a8999b83ef7c5671e5a561b803a;p=pandora-kernel.git 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 Tested-by: Dave Jones Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- Reading git-diff-tree failed