diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-23 03:53:35 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-23 17:05:23 +0200 |
commit | 94549a595c7ff6a2040d11009b14576c64ee9b88 (patch) | |
tree | a0f41bed7257c873b9561b37888c45e600dbd334 /src/crypto/zinc/chacha20/chacha20-arm64.S | |
parent | dad4e5d2e29f3e19f95982bf3e468f0f965379ce (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.S | 2 |
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 |