android_kernel_xiaomi_sm7250/drivers/crypto/sunxi-ss
Corentin Labbe 4c18f773e2 crypto: sun4i-ss - handle BigEndian for cipher
commit 5ab6177fa02df15cd8a02a1f1fb361d2d5d8b946 upstream.

Ciphers produce invalid results on BE.
Key and IV need to be written in LE.

Fixes: 6298e94821 ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
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 09:39:54 +01:00
..
Makefile crypto: sun4i-ss - support the Security System PRNG 2017-07-18 17:50:55 +08:00
sun4i-ss-cipher.c crypto: sun4i-ss - handle BigEndian for cipher 2021-03-04 09:39:54 +01:00
sun4i-ss-core.c crypto: skcipher - remove useless setting of type flags 2018-07-09 00:30:27 +08:00
sun4i-ss-hash.c crypto: sun4i-ss - fix big endian issues 2020-01-27 14:49:53 +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 - support the Security System PRNG 2017-07-18 17:50:55 +08:00