linux_dsm_epyc7002/drivers/crypto/qce
Sivaprakash Murugesan a668ee56ff crypto: qce - re-initialize context on import
crypto testmgr deliberately corrupts the request context while passing
vectors to the import. This is to make sure that drivers do not rely on
request but they take all the necessary input from io vec passed to it.

qce casts the request context from request parameter, since it is corrupted
the sub squent hash request fails and qce hangs.

To avoid this re-initialize request context on import. The qce import
API alreasy takes care of taking the input vectors from passed io vec.

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 - re-initialize context on import 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