summaryrefslogtreecommitdiff
path: root/net/netlabel
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.vnet.ibm.com>2014-01-22 13:00:04 +0100
committerBen Hutchings <ben@decadent.org.uk>2014-04-02 00:58:46 +0100
commit33b121eb313609f3d8338eeabbc35c91a185771a (patch)
tree94a315dd65516fc07795e5be8f42cb982a4ceb04 /net/netlabel
parentfc211c9a572bba86c7d37c390c6fb3a9ff052f33 (diff)
downloadlwn-33b121eb313609f3d8338eeabbc35c91a185771a.tar.gz
lwn-33b121eb313609f3d8338eeabbc35c91a185771a.zip
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions