summaryrefslogtreecommitdiff
path: root/chacha_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-09-17 20:39:23 -0400
committerJeffrey Walton <noloader@gmail.com>2021-09-17 20:39:23 -0400
commitf0a32f0c6a515ec7f4d753747f1dcee040d38a5a (patch)
tree498c15e405ac412326aefc2dae9e1c040d0c8aca /chacha_simd.cpp
parent08f3fc5676afcd2ea171b13ecae5f467859d021f (diff)
downloadcryptopp-git-f0a32f0c6a515ec7f4d753747f1dcee040d38a5a.tar.gz
Disable ChaCha20 AVX2 implementation (GH #1069)
Diffstat (limited to 'chacha_simd.cpp')
-rw-r--r--chacha_simd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/chacha_simd.cpp b/chacha_simd.cpp
index 4e5a3cc3..64004add 100644
--- a/chacha_simd.cpp
+++ b/chacha_simd.cpp
@@ -35,6 +35,9 @@
# undef CRYPTOPP_SSE2_INTRIN_AVAILABLE
#endif
+// https://github.com/weidai11/cryptopp/issues/1069
+#undef CRYPTOPP_AVX2_AVAILABLE
+
#if (CRYPTOPP_SSE2_INTRIN_AVAILABLE)
# include <xmmintrin.h>
# include <emmintrin.h>