diff options
author | Niels Möller <nisse@lysator.liu.se> | 2011-08-29 20:33:38 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2011-08-29 20:33:38 +0200 |
commit | 8cb0fdef17625e1423e83e7226e3ae72e8fc4e11 (patch) | |
tree | 90fd594ffd771432a3d87819db16047f93a63c4d | |
parent | 02cf36be8099f3837e33e089f1d3b61bd1700fd2 (diff) | |
download | nettle-8cb0fdef17625e1423e83e7226e3ae72e8fc4e11.tar.gz |
(struct ripemd160_ctx): Use a 64-bit block count. Renamed digest to
state.
Rev: nettle/ripemd160.h:1.2
-rw-r--r-- | ripemd160.h | 4 |
1 files 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; }; |