diff options
author | 2014-01-16 16:01:11 +0100 | |
---|---|---|
committer | 2014-01-30 21:45:08 +0800 | |
commit | 0519e9ad89e5cd6e6b08398f57c6a71d9580564c (patch) | |
tree | 9c258040d8dce825dc6abf72f719670b09b54a14 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (diff) | |
download | linux-dev-0519e9ad89e5cd6e6b08398f57c6a71d9580564c.tar.xz linux-dev-0519e9ad89e5cd6e6b08398f57c6a71d9580564c.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions