diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-06 16:02:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-06 16:02:32 +0100 |
commit | 96246143f738d35178160de25bf233dbfe688fa5 (patch) | |
tree | 6852869c58df44a925b5fd7c46dd26110f25289d /src/libcryptobox/blake2 | |
parent | 14f88f3317edc1114b6e91799f6a1d05f36ffa7b (diff) | |
download | rspamd-96246143f738d35178160de25bf233dbfe688fa5.tar.gz rspamd-96246143f738d35178160de25bf233dbfe688fa5.zip |
[Fix] Allow to use assembly version of blake2b on x86 cpu
Diffstat (limited to 'src/libcryptobox/blake2')
-rw-r--r-- | src/libcryptobox/blake2/blake2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/blake2/blake2.c b/src/libcryptobox/blake2/blake2.c index 7d3b281f4..fd99a0f93 100644 --- a/src/libcryptobox/blake2/blake2.c +++ b/src/libcryptobox/blake2/blake2.c @@ -57,7 +57,7 @@ BLAKE2B_DECLARE(avx) #if defined(CMAKE_ARCH_x86_64) || defined(CMAKE_ARCH_i386) BLAKE2B_DECLARE(x86) -#define BLAKE2B_X86 BLAKE2B_IMPL(0, "x86", x86) +#define BLAKE2B_X86 BLAKE2B_IMPL(CPUID_SSE2, "x86", x86) #endif /* the "always runs" version */ |