This commit is contained in:
MoneroOcean 2019-08-18 15:08:51 -07:00
parent 2bd032b538
commit 7c8b4f72c8
2 changed files with 30 additions and 93 deletions

View file

@ -36,8 +36,38 @@ if (WITH_RANDOMX)
src/crypto/rx/RxConfig.cpp
src/crypto/rx/RxDataset.cpp
src/crypto/rx/RxVm.cpp
src/crypto/defyx/align.h
src/crypto/defyx/brg_endian.h
src/crypto/defyx/defyx.cpp
src/crypto/defyx/defyx.h
src/crypto/defyx/KangarooTwelve.c
src/crypto/defyx/KangarooTwelve.h
src/crypto/defyx/KeccakP-1600-reference.c
src/crypto/defyx/KeccakP-1600-SnP.h
src/crypto/defyx/KeccakSponge-common.h
src/crypto/defyx/KeccakSponge.inc
src/crypto/defyx/KeccakSpongeWidth1600.c
src/crypto/defyx/KeccakSpongeWidth1600.h
src/crypto/defyx/Phases.h
src/crypto/defyx/sha256.c
src/crypto/defyx/sha256.h
src/crypto/defyx/sysendian.h
src/crypto/defyx/yescrypt.h
)
if (WIN32)
set(SOURCES_CRYPTO
"${SOURCES_CRYPTO}"
src/crypto/defyx/yescrypt-ref.c
)
else()
set(SOURCES_CRYPTO
"${SOURCES_CRYPTO}"
src/crypto/defyx/yescrypt-best.c
)
endif()
if (CMAKE_C_COMPILER_ID MATCHES MSVC)
enable_language(ASM_MASM)
list(APPEND SOURCES_CRYPTO