aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.vnet.ibm.com>2014-01-22 07:00:04 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-20 14:06:10 -0500
commit21d6cfc95cbdd193e29f55ad2fb0934ff99a9a80 (patch)
tree3149d8ef356c6cf57a7b7077e12fce0cc6481c60 /fs
parent5b64d8f705a69fd3a3b2859aaf253a7127150599 (diff)
crypto: s390 - fix des and des3_ede cbc concurrency issue
commit adc3fcf1552b6e406d172fd9690bbd1395053d13 upstream. In s390 des and des3_ede cbc mode the iv value is not protected against concurrency access and modifications from another running en/decrypt operation which is using the very same tfm struct instance. This fix copies the iv to the local stack before the crypto operation and stores the value back when done. 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