kernel-hacking-2024-linux-s.../arch/s390/crypto
Harald Freudenberger 0519e9ad89 crypto: s390 - fix concurrency issue in aes-ctr mode
The aes-ctr mode uses one preallocated page without any concurrency
protection. When multiple threads run aes-ctr encryption or decryption
this can lead to data corruption.

The patch introduces locking for the page and a fallback solution with
slower en/decryption performance in 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:08 +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
des_s390.c crypto: arch - use crypto_memneq instead of memcmp 2013-12-20 20:06:24 +08:00
ghash_s390.c
Makefile
prng.c
sha.h
sha1_s390.c
sha256_s390.c
sha512_s390.c
sha_common.c