]> git.ipfire.org Git - people/arne_f/kernel.git/commit
crypto: s390/ghash - Fix incorrect ghash icv buffer handling.
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Thu, 21 May 2015 08:01:11 +0000 (10:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jun 2015 15:19:37 +0000 (08:19 -0700)
commitb17cbe3c49ab4b4370ca9631c8621c2438618425
treea7326c19253087e139ea5d69c2c57dc224982ad4
parentb66614bc2f03b43a7d646839276f8c4b27952295
crypto: s390/ghash - Fix incorrect ghash icv buffer handling.

commit a1cae34e23b1293eccbcc8ee9b39298039c3952a upstream.

Multitheaded tests showed that the icv buffer in the current ghash
implementation is not handled correctly. A move of this working ghash
buffer value to the descriptor context fixed this. Code is tested and
verified with an multithreaded application via af_alg interface.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Gerald Schaefer <geraldsc@linux.vnet.ibm.com>
Reported-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/crypto/ghash_s390.c