From 8cb0fdef17625e1423e83e7226e3ae72e8fc4e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 29 Aug 2011 20:33:38 +0200 Subject: [PATCH] (struct ripemd160_ctx): Use a 64-bit block count. Renamed digest to state. Rev: nettle/ripemd160.h:1.2 --- ripemd160.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ripemd160.h b/ripemd160.h index 4af65239..83ed6e53 100644 --- a/ripemd160.h +++ b/ripemd160.h @@ -47,8 +47,8 @@ extern "C" { struct ripemd160_ctx { - uint32_t digest[_RIPEMD160_DIGEST_LENGTH]; - uint32_t nblocks; + uint32_t state[_RIPEMD160_DIGEST_LENGTH]; + uint32_t count_low, count_high; /* 64-bit block count */ uint8_t block[RIPEMD160_DATA_SIZE]; unsigned int index; }; -- GitLab