diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-09-17 20:39:23 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-09-17 20:39:23 -0400 |
commit | f0a32f0c6a515ec7f4d753747f1dcee040d38a5a (patch) | |
tree | 498c15e405ac412326aefc2dae9e1c040d0c8aca /chacha_avx.cpp | |
parent | 08f3fc5676afcd2ea171b13ecae5f467859d021f (diff) | |
download | cryptopp-git-f0a32f0c6a515ec7f4d753747f1dcee040d38a5a.tar.gz |
Disable ChaCha20 AVX2 implementation (GH #1069)
Diffstat (limited to 'chacha_avx.cpp')
-rw-r--r-- | chacha_avx.cpp | 3 |
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>
|