forked from Chia-Network/bls-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple (cross-)build related fixes and additions (Chia-Network#24)
* Fix compilation errors if libsodium is not used/found "#if BLSALLOC == sodium" for some reason evaluates to true and thus sodium is used even though it is not present. * Use WCGR for SEED when cross compiling for Windows /dev/[u]dev is not present on Windows. * Use lower-case include for <Wincrypt.h> When cross-compiling on Debian Stretch, compilation fails because Wincrypt.h can't be found because includes are case-sensitive on Linux. * Use CMAKE_AR and CMAKE_C_OUTPUT_EXTENSION when combining .a libraries Required for cross-compilation. * Installation of lib files and headers * Make messageHash const in Sign and SignPrehashed
- Loading branch information
Showing
7 changed files
with
24 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ | |
#undef DOUBLE | ||
|
||
#include <windows.h> | ||
#include <Wincrypt.h> | ||
#include <wincrypt.h> | ||
|
||
#elif SEED == RDRND | ||
|
||
|
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