summaryrefslogtreecommitdiff
path: root/sha_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-03-09 13:44:00 -0500
committerJeffrey Walton <noloader@gmail.com>2021-03-09 13:44:00 -0500
commit7503f8425484cd988dcefdf2fd708433bb5f151e (patch)
treedcad8db036ce68482aa3a10c11d05107b1a3820d /sha_simd.cpp
parente6170878eff6a4e2e0a1ee4fdfbe54e9c39ad09c (diff)
downloadcryptopp-git-7503f8425484cd988dcefdf2fd708433bb5f151e.tar.gz
Update source files for Android.mk (GH #1015)
Diffstat (limited to 'sha_simd.cpp')
-rw-r--r--sha_simd.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/sha_simd.cpp b/sha_simd.cpp
index 277c9362..2c05d8a5 100644
--- a/sha_simd.cpp
+++ b/sha_simd.cpp
@@ -23,11 +23,8 @@
# include <immintrin.h>
#endif
-#if (CRYPTOPP_ARM_NEON_HEADER)
-# include <arm_neon.h>
-#endif
-
-#if (CRYPTOPP_ARM_ACLE_HEADER)
+// Android makes <arm_acle.h> available with ARMv7-a
+#if (CRYPTOPP_ARMV8) && (CRYPTOPP_ARM_ACLE_HEADER)
# include <stdint.h>
# include <arm_acle.h>
#endif