Commit 8a4e047c authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: marvell/cesa - Handle zero-length skcipher requests



Do not access random memory for zero-length skcipher requests.
Just return 0.

Fixes: f63601fd ("crypto: marvell/cesa - add a new driver for Marvell's CESA")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c66d7ebb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment