From 495ebc26f6c377000ef2a2f58f3c0ebe2e596b9a Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 23 Jul 2019 18:18:33 +0200 Subject: [PATCH] Revert "Disable AVX512 Argon2 implementation on MacOS" This reverts commit cf59da7cd41da5d562d22d01b09f5ecb71e8a0f4. --- src/libsodium/crypto_pwhash/argon2/argon2-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libsodium/crypto_pwhash/argon2/argon2-core.c b/src/libsodium/crypto_pwhash/argon2/argon2-core.c index 26d8d0f0..3108fb8f 100644 --- a/src/libsodium/crypto_pwhash/argon2/argon2-core.c +++ b/src/libsodium/crypto_pwhash/argon2/argon2-core.c @@ -523,8 +523,7 @@ argon2_pick_best_implementation(void) { /* LCOV_EXCL_START */ #if defined(HAVE_AVX512FINTRIN_H) && defined(HAVE_AVX2INTRIN_H) && \ - defined(HAVE_TMMINTRIN_H) && defined(HAVE_SMMINTRIN_H) && \ - !defined(__APPLE__) + defined(HAVE_TMMINTRIN_H) && defined(HAVE_SMMINTRIN_H) if (sodium_runtime_has_avx512f()) { fill_segment = argon2_fill_segment_avx512f; return 0;