Commit 1bafd82d authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: marvell/cesa - Avoid empty transfer descriptor



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: db509a45 ("crypto: marvell/cesa - add TDMA support")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8a4e047c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment