summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/chacha20/chacha20-arm64.S
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-23 03:53:35 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-23 17:05:23 +0200
commit94549a595c7ff6a2040d11009b14576c64ee9b88 (patch)
treea0f41bed7257c873b9561b37888c45e600dbd334 /src/crypto/zinc/chacha20/chacha20-arm64.S
parentdad4e5d2e29f3e19f95982bf3e468f0f965379ce (diff)
crypto-arm: rework KERNEL_MODE_NEON handling again
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/chacha20/chacha20-arm64.S')
-rw-r--r--src/crypto/zinc/chacha20/chacha20-arm64.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/zinc/chacha20/chacha20-arm64.S b/src/crypto/zinc/chacha20/chacha20-arm64.S
index ba82286..1aeadab 100644
--- a/src/crypto/zinc/chacha20/chacha20-arm64.S
+++ b/src/crypto/zinc/chacha20/chacha20-arm64.S
@@ -289,6 +289,7 @@ ENTRY(chacha20_arm)
ret
ENDPROC(chacha20_arm)
+#ifdef CONFIG_KERNEL_MODE_NEON
.align 5
ENTRY(chacha20_neon)
cbz x2,.Labort_neon
@@ -1940,3 +1941,4 @@ ENTRY(chacha20_neon)
.Labort_neon:
ret
ENDPROC(chacha20_neon)
+#endif