From: Vsevolod Stakhov Date: Wed, 6 Apr 2016 15:02:32 +0000 (+0100) Subject: [Fix] Allow to use assembly version of blake2b on x86 cpu X-Git-Tag: 1.2.3~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=96246143f738d35178160de25bf233dbfe688fa5;p=rspamd.git [Fix] Allow to use assembly version of blake2b on x86 cpu --- 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 */