]> git.baikalelectronics.ru Git - 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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 May 2015 03:23:03 +0000 (11:23 +0800)
commit4dabb8f40866c3f051e459470561fdfdf416ac75
treee1d43c2c40d8bb1ce1ee2322acce92ff12fb54c0
parentfe78e22afd008406f2c9a19d98e756c49ca19a5e
crypto: s390/ghash - Fix incorrect ghash icv buffer handling.

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.

Cc: stable@vger.kernel.org
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>
arch/s390/crypto/ghash_s390.c