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 20:25:40 +0000 (13:25 -0700)
commitc99612d30ffcdf6ff41281a84e8df2a56c8b7d20
treebec8fec48f20ba84561a6d545d89b1ef59cdc251
parentd1ae1920b53e00849397c3f6f63dace219de46a0
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