commit | 985b609668d8f4d53ce14e1df471e433b2095771 | [log] [tgz] |
---|---|---|
author | Corentin Labbe <clabbe@baylibre.com> | Mon Dec 14 20:02:28 2020 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 04 11:38:31 2021 +0100 |
tree | 137a7fe3ebd4bd324cbfd8c71ed93f2b295a4986 | |
parent | 19be286216dc62fb547096d22b734b9920aa9028 [diff] |
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: 6298e948215f2 ("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>