crypto: sun4i-ss - IV register does not work on A10 and A13
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 14 Dec 2020 20:02:27 +0000 (20:02 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 2 Jan 2021 21:41:35 +0000 (08:41 +1100)
commitb756f1c8fc9d84e3f546d7ffe056c5352f4aab05
treeacc0c43a5fc997117415b111e784ced41f2c5ddc
parent7bdcd851fa7eb66e8922aa7f6cba9e2f2427a7cf
crypto: sun4i-ss - IV register does not work on A10 and A13

Allwinner A10 and A13 SoC have a version of the SS which produce
invalid IV in IVx register.

Instead of adding a variant for those, let's convert SS to produce IV
directly from data.
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>
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c