mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Revert "Disable AVX512 Argon2 implementation on MacOS"
This reverts commit cf59da7cd4.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user