linux-brain/drivers/crypto/sunxi-ss
Corentin Labbe 0d95bdee02 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 10:26:45 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sun4i-ss-cipher.c crypto: sun4i-ss - initialize need_fallback 2021-03-04 10:26:45 +01:00
sun4i-ss-core.c crypto: sunxi-ss - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:12:01 +10:00
sun4i-ss-hash.c crypto: sun4i-ss - fix big endian issues 2020-01-26 10:01:01 +01:00
sun4i-ss-prng.c crypto: sun4i_ss_prng - convert lock to _bh in sun4i_ss_prng_generate 2018-02-08 22:38:14 +11:00
sun4i-ss.h crypto: sun4i-ss - linearize buffers content must be kept 2021-03-04 10:26:19 +01:00