aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2013-11-05 19:36:27 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2013-11-05 19:36:27 +0800
commitf262f0f5cad0c9eca61d1d383e3b67b57dcbe5ea (patch)
treec2751c06429179a5ac2fca4dabd001ef4e06b2d0 /crypto
parentcrypto: omap-aes - Fix CTR mode counter length (diff)
downloadlinux-dev-f262f0f5cad0c9eca61d1d383e3b67b57dcbe5ea.tar.xz
linux-dev-f262f0f5cad0c9eca61d1d383e3b67b57dcbe5ea.zip
crypto: s390 - Fix aes-cbc IV corruption
The cbc-aes-s390 algorithm incorrectly places the IV in the tfm data structure. As the tfm is shared between multiple threads, this introduces a possibility of data corruption. This patch fixes this by moving the parameter block containing the IV and key onto the stack (the block is 48 bytes long). The same bug exists elsewhere in the s390 crypto system and they will be fixed in subsequent patches. Cc: stable@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions