linux/arch/s390/crypto
Gerald Schaefer 9dda2769af crypto: s390 - Fix aes-xts parameter corruption
Some s390 crypto algorithms incorrectly use the crypto_tfm structure to
store private data. As the tfm can be shared among multiple threads, this
can result in data corruption.

This patch fixes aes-xts by moving the xts and pcc parameter blocks from
the tfm onto the stack (48 + 96 bytes).

Cc: stable@vger.kernel.org
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2013-11-28 22:25:16 +08:00
..
aes_s390.c crypto: s390 - Fix aes-xts parameter corruption 2013-11-28 22:25:16 +08:00
crypt_s390.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
des_s390.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00
ghash_s390.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00
Makefile
prng.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sha.h
sha1_s390.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sha256_s390.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sha512_s390.c
sha_common.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00