VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Eric Biggers <ebiggers@google.com> 2019-02-22 22:54:08 -0800 committer: Herbert Xu <herbert@gondor.apana.org.au> 2019-02-28 14:37:48 +0800 commit: f86d17e9efe010b894db231329ee36b24bcc1b24 parent: 4b6d196c9cec548a6b1cf5bb07b4a8b8d375829d
Commit Summary:
crypto: arm64/chacha - fix hchacha_block_neon() for big endian
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/crypto/chacha-neon-core.S b/arch/arm64/crypto/chacha-neon-core.S
index bfb80e10ff7b..706c4e10e9e2 100644
--- a/arch/arm64/crypto/chacha-neon-core.S
+++ b/arch/arm64/crypto/chacha-neon-core.S
@@ -158,8 +158,8 @@ ENTRY(hchacha_block_neon)
 	mov		w3, w2
 	bl		chacha_permute
 
-	st1		{v0.16b}, [x1], #16
-	st1		{v3.16b}, [x1]
+	st1		{v0.4s}, [x1], #16
+	st1		{v3.4s}, [x1]
 
 	ldp		x29, x30, [sp], #16
 	ret