android_kernel_xiaomi_sm8450/drivers/crypto/allwinner/sun4i-ss
Corentin Labbe 70c4b76be4 crypto: sun4i-ss - initialize need_fallback
commit 4ec8977b921fd9d512701e009ce8082cb94b5c1c upstream.

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

Fixes: 0ae1f46c55 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 11:38:32 +01:00
..
Makefile crypto: sun4i-ss - Move to Allwinner directory 2019-11-01 13:38:31 +08:00
sun4i-ss-cipher.c crypto: sun4i-ss - initialize need_fallback 2021-03-04 11:38:32 +01:00
sun4i-ss-core.c crypto: sun4i-ss - make unexported sun4i_ss_pm_ops static 2019-12-27 18:18:03 +08:00
sun4i-ss-hash.c crypto: sun4i-ss - Fix sparse endianness markers 2020-09-18 17:20:10 +10:00
sun4i-ss-prng.c crypto: sun4i-ss - Move to Allwinner directory 2019-11-01 13:38:31 +08:00
sun4i-ss.h crypto: sun4i-ss - linearize buffers content must be kept 2021-03-04 11:37:37 +01:00