linux/drivers/crypto/marvell
Herbert Xu 47810c6147 crypto: marvell/cesa - Avoid empty transfer descriptor
[ Upstream commit 1bafd82d9a ]

The user may set req->src even if req->nbytes == 0.  If there
is no data to hash from req->src, do not generate an empty TDMA
descriptor.

Fixes: db509a4533 ("crypto: marvell/cesa - add TDMA support")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-06-19 15:31:29 +02:00
..
cesa crypto: marvell/cesa - Avoid empty transfer descriptor 2025-06-19 15:31:29 +02:00
octeontx crypto: octeontx - Remove unused declaration otx_cpt_callback() 2024-08-30 18:22:31 +08:00
octeontx2 crypto: octeontx2 - suppress auth failure screaming due to negative tests 2025-05-29 11:02:17 +02:00
Kconfig crypto: octeontx* - Select CRYPTO_AUTHENC 2024-09-06 14:50:46 +08:00
Makefile crypto: marvell - add Marvell OcteonTX2 CPT PF driver 2021-01-22 14:58:02 +11:00