crypto: qce - Return error for zero length messages
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 11 Feb 2021 20:01:22 +0000 (15:01 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 7 Mar 2021 04:13:16 +0000 (15:13 +1100)
commitf08789462255d0a2858b1d600be4099a2980a328
treebec2be1f3fb5c9a0ef98a8c15b48ab12d1fe130b
parent42f730a47beee3b8df9a55ed8a3009eb0fe5bd3f
crypto: qce - Return error for zero length messages

Crypto engine BAM dma does not support 0 length data. Return unsupported
if zero length messages are passed for transformation.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qce/skcipher.c