From: Sebastian Siewior Date: Thu, 6 Mar 2008 10:56:19 +0000 (+0800) Subject: [CRYPTO] xts: Use proper alignment X-Git-Tag: v2.6.25-rc5~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6212f2c7f70c591efb0d9f3d50ad29112392fee2;p=pandora-kernel.git [CRYPTO] xts: Use proper alignment The XTS blockmode uses a copy of the IV which is saved on the stack and may or may not be properly aligned. If it is not, it will break hardware cipher like the geode or padlock. This patch encrypts the IV in place so we don't have to worry about alignment. Signed-off-by: Sebastian Siewior Tested-by: Stefan Hellermann Signed-off-by: Herbert Xu --- Reading git-diff-tree failed