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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 May 2014 13:46:09 +0000 (21:46 +0800)
commit3901c1124ec5099254a9396085f7798153a7293f
tree262732628ea2c21750399ef0196c90688a6ff494
parent27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04
crypto: s390 - fix aes,des ctr mode concurrency finding.

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.

Cc: <stable@vger.kernel.org> # 3.14+
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/aes_s390.c
arch/s390/crypto/des_s390.c