Skip to content
Snippets Groups Projects
Commit 8cb0fdef authored by Niels Möller's avatar Niels Möller
Browse files

(struct ripemd160_ctx): Use a 64-bit block count. Renamed digest to

state.

Rev: nettle/ripemd160.h:1.2
parent 02cf36be
No related branches found
No related tags found
No related merge requests found
...@@ -47,8 +47,8 @@ extern "C" { ...@@ -47,8 +47,8 @@ extern "C" {
struct ripemd160_ctx struct ripemd160_ctx
{ {
uint32_t digest[_RIPEMD160_DIGEST_LENGTH]; uint32_t state[_RIPEMD160_DIGEST_LENGTH];
uint32_t nblocks; uint32_t count_low, count_high; /* 64-bit block count */
uint8_t block[RIPEMD160_DATA_SIZE]; uint8_t block[RIPEMD160_DATA_SIZE];
unsigned int index; unsigned int index;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment