From cb83bd331e5774027bcab965ccf9bcbe798ad167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Sat, 28 Sep 2013 09:43:12 +0200 Subject: Made hash functions use an uint64_t for the block count. --- ripemd160.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ripemd160.h') diff --git a/ripemd160.h b/ripemd160.h index eca98736..9ef86d31 100644 --- a/ripemd160.h +++ b/ripemd160.h @@ -48,7 +48,7 @@ extern "C" { struct ripemd160_ctx { uint32_t state[_RIPEMD160_DIGEST_LENGTH]; - uint32_t count_low, count_high; /* 64-bit block count */ + uint64_t count; /* 64-bit block count */ uint8_t block[RIPEMD160_DATA_SIZE]; unsigned int index; }; -- cgit v1.2.1