summaryrefslogtreecommitdiff
path: root/chacha_avx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chacha_avx.cpp')
-rw-r--r--chacha_avx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/chacha_avx.cpp b/chacha_avx.cpp
index c647fa1e..23f10511 100644
--- a/chacha_avx.cpp
+++ b/chacha_avx.cpp
@@ -20,6 +20,9 @@
#include "chacha.h"
#include "misc.h"
+// https://github.com/weidai11/cryptopp/issues/1069
+#undef CRYPTOPP_AVX2_AVAILABLE
+
#if defined(CRYPTOPP_AVX2_AVAILABLE)
# include <xmmintrin.h>
# include <emmintrin.h>