summaryrefslogtreecommitdiff
path: root/sha.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-05-21 02:38:30 -0400
committerJeffrey Walton <noloader@gmail.com>2019-05-21 02:38:30 -0400
commit5fb03078eb67714f59b605a6ac443882630624d2 (patch)
tree4a7cd4ce0e2f059c1d540ed2874679a43c8ffcfe /sha.cpp
parente8603143dc23841e460d1acb1e7a50d64949803e (diff)
downloadcryptopp-git-5fb03078eb67714f59b605a6ac443882630624d2.tar.gz
Use void return value for Cryptogams SHA functions
Diffstat (limited to 'sha.cpp')
-rw-r--r--sha.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sha.cpp b/sha.cpp
index cde7e8da..d120bd93 100644
--- a/sha.cpp
+++ b/sha.cpp
@@ -72,7 +72,7 @@ extern void SHA256_HashMultipleBlocks_SHANI(word32 *state, const word32 *data, s
#endif
#if CRYPTOGAMS_ARM_SHA1
-extern "C" int sha1_block_data_order(word32* state, const word32 *data, size_t blocks);
+extern "C" void sha1_block_data_order(word32* state, const word32 *data, size_t blocks);
#endif
#if CRYPTOPP_ARM_SHA1_AVAILABLE
@@ -84,7 +84,7 @@ extern void SHA256_HashMultipleBlocks_ARMV8(word32 *state, const word32 *data, s
#endif
#if CRYPTOGAMS_ARM_SHA256
-extern "C" int sha256_block_data_order(word32* state, const word32 *data, size_t blocks);
+extern "C" void sha256_block_data_order(word32* state, const word32 *data, size_t blocks);
#endif
#if CRYPTOPP_ARM_SHA512_AVAILABLE
@@ -97,7 +97,7 @@ extern void SHA512_HashMultipleBlocks_POWER8(word64 *state, const word64 *data,
#endif
#if CRYPTOGAMS_ARM_SHA512
-extern "C" int sha512_block_data_order(word64* state, const word64 *data, size_t blocks);
+extern "C" void sha512_block_data_order(word64* state, const word64 *data, size_t blocks);
#endif
// We add extern to export table to sha_simd.cpp, but it