aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/simd
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-20 20:22:03 -0500
committerJack Lloyd <[email protected]>2018-12-21 10:07:15 -0500
commit43875971d5d6c04035b4e1c27558e2ba9a48fe97 (patch)
treeb8231e9c7d8836a899d23d5bb0e11fcff50f21d3 /src/lib/utils/simd
parent2f60e29e5688bf81719f0f907d658c083378811b (diff)
Avoid including rotate.h in bswap.h
It was only needed for one case which is easily hardcoded. Include rotate.h in all the source files that actually use rotr/rotl but implicitly picked it up via loadstor.h -> bswap.h -> rotate.h include chain.
Diffstat (limited to 'src/lib/utils/simd')
-rw-r--r--src/lib/utils/simd/simd_32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/utils/simd/simd_32.h b/src/lib/utils/simd/simd_32.h
index 14e2d47c4..a2e41c20f 100644
--- a/src/lib/utils/simd/simd_32.h
+++ b/src/lib/utils/simd/simd_32.h
@@ -26,6 +26,9 @@
#elif defined(BOTAN_TARGET_SUPPORTS_NEON)
#include <arm_neon.h>
#define BOTAN_SIMD_USE_NEON
+
+#else
+ #include <botan/rotate.h>
#endif
namespace Botan {