linux/arch/s390
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
..
appldata s390: convert use of typedef ctl_table to struct ctl_table 2013-10-28 08:36:25 +01:00
boot s390/boot: Install bzImage as default kernel image 2013-11-15 14:08:36 +01:00
configs s390: add a couple of useful defconfigs 2013-10-24 17:17:14 +02:00
crypto crypto: s390 - fix concurrency issue in aes-ctr mode 2014-01-30 21:45:08 +08:00
hypfs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-09-05 08:50:26 -07:00
include First round of KVM updates for 3.14; PPC parts will come next week. 2014-01-22 21:40:43 -08:00
kernel Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2014-01-20 09:23:31 -08:00
kvm First round of KVM updates for 3.14; PPC parts will come next week. 2014-01-22 21:40:43 -08:00
lib s390: Fix misspellings using 'codespell' tool 2014-01-16 16:40:13 +01:00
math-emu s390: fix save and restore of the floating-point-control register 2013-10-24 17:17:11 +02:00
mm s390: Fix misspellings using 'codespell' tool 2014-01-16 16:40:13 +01:00
net s390/bpf,jit: fix 32 bit divisions, use unsigned divide instructions 2014-01-17 18:54:49 -08:00
oprofile s390/cpum_sf: Add raw data sampling to support the diagnostic-sampling function 2013-12-16 14:38:00 +01:00
pci PCI changes for the v3.14 merge window: 2014-01-22 16:39:28 -08:00
Kbuild
Kconfig s390/smp: improve setup of possible cpu mask 2013-12-18 17:35:18 +01:00
Kconfig.debug Kconfig: consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECKS 2013-04-30 17:04:09 -07:00
Makefile s390: allow to set gcc -mtune flag 2013-10-31 09:54:01 +01:00
defconfig Update default configuration 2013-10-24 17:17:15 +02:00