aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.vnet.ibm.com>2014-01-22 07:01:33 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-20 14:06:10 -0500
commit4cd88080b9faf0addc76815e38195b88e0075aea (patch)
treef930a45b3a382a938c9bf4d053c55ee0b91babf6 /fs
parent21d6cfc95cbdd193e29f55ad2fb0934ff99a9a80 (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions