Optimized RandomX dataset initialization

- Use single Argon2 implemenation
- Auto-select the fastest Argon2 implementation for RandomX
This commit is contained in:
SChernykh 2020-05-03 20:44:59 +02:00
parent c18478a6b4
commit 80d944bf82
8 changed files with 33 additions and 1244 deletions

View file

@ -16,8 +16,6 @@ if (WITH_RANDOMX)
list(APPEND SOURCES_CRYPTO
src/crypto/randomx/aes_hash.cpp
src/crypto/randomx/allocator.cpp
src/crypto/randomx/argon2_core.c
src/crypto/randomx/argon2_ref.c
src/crypto/randomx/blake2_generator.cpp
src/crypto/randomx/blake2/blake2b.c
src/crypto/randomx/bytecode_machine.cpp