linux/arch/s390/crypto
Harald Freudenberger ee97dc7db4 crypto: s390 - fix des and des3_ede ctr concurrency issue
In s390 des and 3des ctr mode there is one preallocated page
used to speed up the en/decryption. This page is not protected
against concurrent usage and thus there is a potential of data
corruption with multiple threads.

The fix introduces locking/unlocking the ctr page and a slower
fallback solution at concurrency situations.

Cc: stable@vger.kernel.org
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-01-30 21:45:14 +08:00
..
aes_s390.c crypto: s390 - fix concurrency issue in aes-ctr mode 2014-01-30 21:45:08 +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 crypto: s390 - fix des and des3_ede ctr concurrency issue 2014-01-30 21:45:14 +08:00
ghash_s390.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00
Makefile crypto: s390 - add System z hardware support for GHASH 2011-05-04 15:06:32 +10:00
prng.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
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
sha.h