crypto: sun4i-ss - fix big endian issues
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Thu, 14 Nov 2019 12:58:49 +0000 (13:58 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:37 +0000 (18:48 +0800)
commitd1d787bcebfe122a5bd443ae565696661e2e9656
tree0cddb7e597758348a4708abddda40a7c6fedfe5c
parent2edf86414b66b2cd921547000208b383972cd11a
crypto: sun4i-ss - fix big endian issues

When testing BigEndian kernel, the sun4i-ss was failling all crypto
tests.
This patch fix endian issues with it.

Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator")
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c