diff options
author | Harald Freudenberger <freude@linux.vnet.ibm.com> | 2014-01-22 13:01:33 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-01-30 21:45:14 +0800 |
commit | ee97dc7db4cbda33e4241c2d85b42d1835bc8a35 (patch) | |
tree | 14232912769ade751a61a61984bf1aaf2dc2fb24 /arch/arm64/include/asm/dma-contiguous.h | |
parent | adc3fcf1552b6e406d172fd9690bbd1395053d13 (diff) |
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>
Diffstat (limited to 'arch/arm64/include/asm/dma-contiguous.h')
0 files changed, 0 insertions, 0 deletions