diff options
author | Harald Freudenberger <freude@linux.vnet.ibm.com> | 2014-01-22 16:01:33 +0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-04-02 03:58:46 +0400 |
commit | 60745e70f4b4725a1ae9387af914de0d25470491 (patch) | |
tree | 318d16bc793afecdc2a3deec4680e81df3883536 /mm | |
parent | 33b121eb313609f3d8338eeabbc35c91a185771a (diff) | |
download | linux-60745e70f4b4725a1ae9387af914de0d25470491.tar.xz |
crypto: s390 - fix des and des3_ede ctr concurrency issue
commit ee97dc7db4cbda33e4241c2d85b42d1835bc8a35 upstream.
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.
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions