diff options
Diffstat (limited to 'src/hash/sha2_32/sha2_32.h')
-rw-r--r-- | src/hash/sha2_32/sha2_32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/sha2_32/sha2_32.h b/src/hash/sha2_32/sha2_32.h index a3e3a6f19..3b95812b8 100644 --- a/src/hash/sha2_32/sha2_32.h +++ b/src/hash/sha2_32/sha2_32.h @@ -26,7 +26,7 @@ class BOTAN_DLL SHA_224 : public MDx_HashFunction SHA_224() : MDx_HashFunction(28, 64, true, true), W(64), digest(8) { clear(); } private: - void compress_n(const byte[], u32bit blocks); + void compress_n(const byte[], size_t blocks); void copy_out(byte[]); SecureVector<u32bit> W, digest; @@ -45,7 +45,7 @@ class BOTAN_DLL SHA_256 : public MDx_HashFunction SHA_256() : MDx_HashFunction(32, 64, true, true), W(64), digest(8) { clear(); } private: - void compress_n(const byte[], u32bit blocks); + void compress_n(const byte[], size_t blocks); void copy_out(byte[]); SecureVector<u32bit> W, digest; |