linux_dsm_epyc7002/drivers/crypto/inside-secure
Antoine Ténart 2973633e9f crypto: inside-secure - do not use areq->result for partial results
This patches update the SafeXcel driver to stop using the crypto
ahash_request result field for partial results (i.e. on updates).
Instead the driver local safexcel_ahash_req state field is used, and
only on final operations the ahash_request result buffer is updated.

Fixes: 1b44c5a60c ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-12-22 19:48:01 +11:00
..
Makefile crypto: inside-secure - add SafeXcel EIP197 crypto engine driver 2017-06-10 12:04:21 +08:00
safexcel_cipher.c crypto: inside-secure - fix request allocations in invalidation path 2017-12-22 19:48:00 +11:00
safexcel_hash.c crypto: inside-secure - do not use areq->result for partial results 2017-12-22 19:48:01 +11:00
safexcel_ring.c crypto: inside-secure - use the base_end pointer in ring rollback 2017-06-20 11:21:48 +08:00
safexcel.c crypto: inside-secure - free requests even if their handling failed 2017-12-22 19:48:00 +11:00
safexcel.h crypto: inside-secure - increase the batch size 2017-06-20 11:21:47 +08:00