summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSebastian Siewior <sebastian@breakpoint.cc>2008-03-12 12:18:36 +0800
committerChris Wright <chrisw@sous-sol.org>2008-03-24 11:47:13 -0700
commit7c0f76561fdc0a24ebfae4ee4112d62473eb3bdc (patch)
tree1f9972951588215792ccc89252dac5eff8a3b223 /fs
parent0c7ac6f8e603b7e33c7ee268c30f2de59111951c (diff)
CRYPTO xts: Use proper alignment
[ Upstream commit: 6212f2c7f70c591efb0d9f3d50ad29112392fee2 ] 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 <sebastian@breakpoint.cc> Tested-by: Stefan Hellermann <stefan@the2masters.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions