From 96246143f738d35178160de25bf233dbfe688fa5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 6 Apr 2016 16:02:32 +0100 Subject: [PATCH] [Fix] Allow to use assembly version of blake2b on x86 cpu --- src/libcryptobox/blake2/blake2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5