crypto: s390 - fix aes,des ctr mode concurrency finding.
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Wed, 7 May 2014 14:51:29 +0000 (16:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:27 +0000 (10:28 -0700)
commit55494146e3d09cb6febacea484012b9dac55cb4b
tree2b9cb6c06c60ce8c9027b58b894fbd86689b8a49
parentc40da129a2be0858f7e9dc8503fc878c0ebc5f6f
crypto: s390 - fix aes,des ctr mode concurrency finding.

commit 3901c1124ec5099254a9396085f7798153a7293f upstream.

An additional testcase found an issue with the last
series of patches applied: the fallback solution may
not save the iv value after operation. This very small
fix just makes sure the iv is copied back to the
walk/desc struct.

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>
arch/s390/crypto/aes_s390.c
arch/s390/crypto/des_s390.c