]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 12:13:26 +0000 (14:13 +0200)
commitbbcf0e59a6e8ae5943f53ca1e47daa04f6236f3d
tree67a01b8b0990301c6d5bf34a4d4c261137addf33
parentc00a93cb65b884921ee80d4a16fbd64302f80cf0
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.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/s390/crypto/aes_s390.c
arch/s390/crypto/des_s390.c