diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-09-17 20:07:53 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-09-17 20:07:53 -0400 |
| commit | f0c2324f6be1a3b91b88412354e7c80e19cd03e7 (patch) | |
| tree | e741c2a1b1c2e340d01afc7d6734773842541a84 /sha-simd.cpp | |
| parent | 09f1a2fb38fa493de110d620472bc5b3617a2f8e (diff) | |
| download | cryptopp-git-f0c2324f6be1a3b91b88412354e7c80e19cd03e7.tar.gz | |
Fix armeabi and armv7-a for Android (GH #509)
Diffstat (limited to 'sha-simd.cpp')
| -rw-r--r-- | sha-simd.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sha-simd.cpp b/sha-simd.cpp index d3a869d6..4cf144c8 100644 --- a/sha-simd.cpp +++ b/sha-simd.cpp @@ -22,12 +22,11 @@ # include <immintrin.h>
#endif
-#if (CRYPTOPP_ARM_NEON_AVAILABLE)
+#if (CRYPTOPP_ARM_SHA_AVAILABLE)
# include <arm_neon.h>
-#endif
-
-#if defined(CRYPTOPP_ARM_ACLE_AVAILABLE)
-# include <arm_acle.h>
+# if defined(CRYPTOPP_ARM_ACLE_AVAILABLE)
+# include <arm_acle.h>
+# endif
#endif
#ifdef CRYPTOPP_GNU_STYLE_INLINE_ASSEMBLY
|
