-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
359 changed files
with
29,284 additions
and
9,582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
if (WITH_ASTROBWT) | ||
add_definitions(/DXMRIG_ALGO_ASTROBWT) | ||
|
||
list(APPEND HEADERS_CRYPTO | ||
src/crypto/astrobwt/AstroBWT.h | ||
src/crypto/astrobwt/sha3.h | ||
) | ||
|
||
list(APPEND SOURCES_CRYPTO | ||
src/crypto/astrobwt/AstroBWT.cpp | ||
src/crypto/astrobwt/sha3.cpp | ||
) | ||
|
||
if (XMRIG_ARM) | ||
list(APPEND HEADERS_CRYPTO | ||
src/crypto/astrobwt/salsa20_ref/ecrypt-config.h | ||
src/crypto/astrobwt/salsa20_ref/ecrypt-machine.h | ||
src/crypto/astrobwt/salsa20_ref/ecrypt-portable.h | ||
src/crypto/astrobwt/salsa20_ref/ecrypt-sync.h | ||
) | ||
|
||
list(APPEND SOURCES_CRYPTO | ||
src/crypto/astrobwt/salsa20_ref/salsa20.c | ||
) | ||
else() | ||
if (CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
add_definitions(/DASTROBWT_AVX2) | ||
if (CMAKE_C_COMPILER_ID MATCHES MSVC) | ||
enable_language(ASM_MASM) | ||
list(APPEND SOURCES_CRYPTO src/crypto/astrobwt/sha3_256_avx2.asm) | ||
else() | ||
enable_language(ASM) | ||
list(APPEND SOURCES_CRYPTO src/crypto/astrobwt/sha3_256_avx2.S) | ||
endif() | ||
endif() | ||
|
||
list(APPEND HEADERS_CRYPTO | ||
src/crypto/astrobwt/Salsa20.hpp | ||
) | ||
|
||
list(APPEND SOURCES_CRYPTO | ||
src/crypto/astrobwt/Salsa20.cpp | ||
) | ||
endif() | ||
else() | ||
remove_definitions(/DXMRIG_ALGO_ASTROBWT) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.