crypto: sun4i-ss - initialize need_fallback
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 14 Dec 2020 20:02:29 +0000 (20:02 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 2 Jan 2021 21:41:36 +0000 (08:41 +1100)
commit4ec8977b921fd9d512701e009ce8082cb94b5c1c
tree549218e72fd52eb02c70be0ca475b5539a0f0680
parent5ab6177fa02df15cd8a02a1f1fb361d2d5d8b946
crypto: sun4i-ss - initialize need_fallback

The need_fallback is never initialized and seem to be always true at runtime.
So all hardware operations are always bypassed.

Fixes: 0ae1f46c55f87 ("crypto: sun4i-ss - fallback when length is not multiple of blocksize")
Cc: <stable@vger.kernel.org>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c