mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
crypto: amlogic - Fix endianness marker
The endianness marking on the variable v in meson_cipher is wrong.
It is actually in CPU-order, not little-endian.
This patch fixes it.
Fixes: 3d04158814
("crypto: amlogic - enable working on big...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Corentin Labbe <clabbe@baylibre.com>
Tested-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
8ea08ce08f
commit
c68e418c60
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ static int meson_cipher(struct skcipher_request *areq)
|
|||
unsigned int keyivlen, ivsize, offset, tloffset;
|
||||
dma_addr_t phykeyiv;
|
||||
void *backup_iv = NULL, *bkeyiv;
|
||||
__le32 v;
|
||||
u32 v;
|
||||
|
||||
algt = container_of(alg, struct meson_alg_template, alg.skcipher);
|
||||
|
||||
|
|
Loading…
Reference in a new issue