summaryrefslogtreecommitdiff
path: root/crypto/seqiv.c
diff options
context:
space:
mode:
authorSebastian Siewior <sebastian@breakpoint.cc>2008-03-06 18:56:19 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-03-06 18:56:19 +0800
commitcba4255808b2a8a6e27e595ca5717df09a9927c9 (patch)
treeb6830ee9b6cfe394c4e160982a8c75a7e868e877 /crypto/seqiv.c
parente48ea71c75f2c7f5b1d307492334aea301b0d8ed (diff)
downloadlinux-crypto-cba4255808b2a8a6e27e595ca5717df09a9927c9.tar.gz
linux-crypto-cba4255808b2a8a6e27e595ca5717df09a9927c9.zip
[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 <sebastian@breakpoint.cc> Tested-by: Stefan Hellermann <stefan@the2masters.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/seqiv.c')
0 files changed, 0 insertions, 0 deletions