Use optimized Argon2 source for all x86_64 builds (#1762)
Minimum requirements for opt.c is SSE2
This commit is contained in:
parent
1b1b7f283c
commit
a67aa3f524
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ add_library (cryptopp
|
|||
crypto/cryptopp/sse_simd.cpp
|
||||
${CRYPTOPP_EXTRA})
|
||||
|
||||
if ((NANO_SIMD_OPTIMIZATIONS OR RAIBLOCKS_SIMD_OPTIMIZATIONS) AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
||||
if (WIN32 OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(i.86|x86(_64)?)$")
|
||||
set (ARGON_CORE crypto/phc-winner-argon2/src/opt.c)
|
||||
else ()
|
||||
set (ARGON_CORE crypto/phc-winner-argon2/src/ref.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue