crypto: nx - Fix numerous sparse byte-order warnings
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Jun 2021 08:00:12 +0000 (16:00 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 24 Jun 2021 06:51:35 +0000 (14:51 +0800)
commitb20d9a73a3b2a859d32ae569588557bc47c87a1e
tree01c74bac18a1245072d7180d0f130176e12de2f4
parent2a96726bd0ccde4f12b9b9a9f61f7b1ac5af7e10
crypto: nx - Fix numerous sparse byte-order warnings

The nx driver started out its life as a BE-only driver.  However,
somewhere along the way LE support was partially added.  This never
seems to have been extended all the way but it does trigger numerous
warnings during build.

This patch fixes all those warnings, but it doesn't mean that the
driver will work on LE.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-aes-cbc.c
drivers/crypto/nx/nx-aes-ccm.c
drivers/crypto/nx/nx-aes-ctr.c
drivers/crypto/nx/nx-aes-ecb.c
drivers/crypto/nx/nx-aes-gcm.c
drivers/crypto/nx/nx-sha256.c
drivers/crypto/nx/nx-sha512.c
drivers/crypto/nx/nx_csbcpb.h