linux/drivers/crypto/inside-secure
Antoine Tenart 4dc5475ae0 crypto: inside-secure - wait for the request to complete if in the backlog
This patch updates the safexcel_hmac_init_pad() function to also wait
for completion when the digest return code is -EBUSY, as it would mean
the request is in the backlog to be processed later.

Fixes: 1b44c5a60c ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Suggested-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-03-09 22:45:31 +08:00
..
Makefile
safexcel_cipher.c crypto: inside-secure - fix the invalidation step during cra_exit 2018-02-22 22:16:27 +08:00
safexcel_hash.c crypto: inside-secure - wait for the request to complete if in the backlog 2018-03-09 22:45:31 +08: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 - move cache result dma mapping to request 2018-03-09 22:45:30 +08:00
safexcel.h crypto: inside-secure - move cache result dma mapping to request 2018-03-09 22:45:30 +08:00