crypto: sun4i-ss - fix big endian issues
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Thu, 14 Nov 2019 12:58:49 +0000 (13:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Jan 2020 09:01:01 +0000 (10:01 +0100)
commite1763c9456be68151543cccfa810ae0de1554384
tree4516c697c16f8c4574cf5ca153acb4d99d5f4943
parent36148a8fdc2fa336304b8a0f302067125b0ebc24
crypto: sun4i-ss - fix big endian issues

commit d1d787bcebfe122a5bd443ae565696661e2e9656 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/sunxi-ss/sun4i-ss-hash.c