aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha2_64/sha2_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/sha2_64/sha2_64.h')
-rw-r--r--src/hash/sha2_64/sha2_64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/sha2_64/sha2_64.h b/src/hash/sha2_64/sha2_64.h
index 726712221..59e2c4c83 100644
--- a/src/hash/sha2_64/sha2_64.h
+++ b/src/hash/sha2_64/sha2_64.h
@@ -25,7 +25,7 @@ class BOTAN_DLL SHA_384 : public MDx_HashFunction
SHA_384() : MDx_HashFunction(48, 128, true, true, 16), W(80), digest(8)
{ clear(); }
private:
- void compress_n(const byte[], u32bit blocks);
+ void compress_n(const byte[], size_t blocks);
void copy_out(byte[]);
SecureVector<u64bit> W, digest;
@@ -43,7 +43,7 @@ class BOTAN_DLL SHA_512 : public MDx_HashFunction
SHA_512() : MDx_HashFunction(64, 128, true, true, 16), W(80), digest(8)
{ clear(); }
private:
- void compress_n(const byte[], u32bit blocks);
+ void compress_n(const byte[], size_t blocks);
void copy_out(byte[]);
SecureVector<u64bit> W, digest;