linux-stable/drivers/crypto/marvell
Romain Perier 603e989ebe crypto: marvell - Don't chain at DMA level when backlog is disabled
The flag CRYPTO_TFM_REQ_MAY_BACKLOG is optional and can be set from the
user to put requests into the backlog queue when the main cryptographic
queue is full. Before calling mv_cesa_tdma_chain we must check the value
of the return status to be sure that the current request has been
correctly queued or added to the backlog.

Fixes: 85030c5168 ("crypto: marvell - Add support for chaining...")
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-07-28 13:04:43 +08:00
..
cesa.c crypto: marvell - Don't chain at DMA level when backlog is disabled 2016-07-28 13:04:43 +08:00
cesa.h crypto: marvell - Add support for chaining crypto requests in TDMA mode 2016-06-23 18:29:51 +08:00
cipher.c crypto: marvell - Fix memory leaks in TDMA chain for cipher requests 2016-07-28 13:04:42 +08:00
hash.c crypto: marvell - Add support for chaining crypto requests in TDMA mode 2016-06-23 18:29:51 +08:00
Makefile
tdma.c crypto: marvell - Fix wrong flag used for GFP in mv_cesa_dma_add_iv_op 2016-07-19 15:42:40 +08:00