linux_dsm_epyc7002/drivers/crypto/qce
Sivaprakash Murugesan df12ef60c8 crypto: qce/sha - Do not modify scatterlist passed along with request
Crypto test driver's test_ahash_speed calls crypto_ahash_update and
crypto_ahash_final APIs repeatedly for all the available test vector
buffer lengths.

if we mark the end for scatterlist based on the current vector size then
the subsequent vectors might fail if the later buffer lengths are higher.

To avoid this, in qce do not mark the end of scatterlist in update API,
the qce_ahash_async_req_handle API already takes care of this copying
right amount of buffer from the request scatter list.

Signed-off-by: Sivaprakash Murugesan <sivaprak@codeaurora.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-07-03 14:18:34 +10:00
..
cipher.h crypto: qce - switch to skcipher API 2019-11-17 09:02:48 +08:00
common.c crypto: qce - handle AES-XTS cases that qce fails 2020-02-13 17:05:27 +08:00
common.h crypto: qce - support zero length test vectors 2020-07-03 14:18:34 +10:00
core.c crypto: qce - allow building only hashes/ciphers 2019-12-27 18:18:04 +08:00
core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
dma.c crypto: qce - use cryptlen when adding extra sgl 2020-02-13 17:05:26 +08:00
dma.h crypto: qce - use cryptlen when adding extra sgl 2020-02-13 17:05:26 +08:00
Makefile crypto: qce - allow building only hashes/ciphers 2019-12-27 18:18:04 +08:00
regs-v5.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
sha.c crypto: qce/sha - Do not modify scatterlist passed along with request 2020-07-03 14:18:34 +10:00
sha.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
skcipher.c crypto: qce - fix wrong config symbol reference 2020-03-12 23:00:13 +11:00