diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-09-08 17:14:31 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-09-08 17:14:31 +0200 |
commit | 4a8f068ba559ceb597fb8b417a08c8fc96088aa4 (patch) | |
tree | 78504ced20db70e1d8bdc975eac9a377eb1ad40f /src/Crypto/Sha2.c | |
parent | 66ce6998b64388cbf08f780a3b4e35f73526221d (diff) | |
download | VeraCrypt-4a8f068ba559ceb597fb8b417a08c8fc96088aa4.tar.gz VeraCrypt-4a8f068ba559ceb597fb8b417a08c8fc96088aa4.zip |
Windows: Add support for x86 and x64 build for driver and binaries using Visual Studio 2019
We also enable Control Flow Guard and Spectre Mitigation
Diffstat (limited to 'src/Crypto/Sha2.c')
-rw-r--r-- | src/Crypto/Sha2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Crypto/Sha2.c b/src/Crypto/Sha2.c index 42215c89..3cce21d7 100644 --- a/src/Crypto/Sha2.c +++ b/src/Crypto/Sha2.c @@ -27,7 +27,7 @@ extern "C" #endif #if CRYPTOPP_BOOL_X64 || ((CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32) && !defined (TC_MACOSX)) - void sha512_compress_nayuki(uint_64t state[8], const uint_8t block[128]); + void VC_CDECL sha512_compress_nayuki(uint_64t state[8], const uint_8t block[128]); #endif #if defined(__cplusplus) } @@ -309,7 +309,7 @@ extern "C" #endif #if CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 - void sha256_compress_nayuki(uint_32t state[8], const uint_8t block[64]); + void VC_CDECL sha256_compress_nayuki(uint_32t state[8], const uint_8t block[64]); #endif #if defined(__cplusplus) |