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

(struct sha1_ctx): Renamed attribute digest to state.

Rev: nettle/sha.h:1.7
parent a71ad6f0
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ extern "C" { ...@@ -57,7 +57,7 @@ extern "C" {
struct sha1_ctx struct sha1_ctx
{ {
uint32_t digest[_SHA1_DIGEST_LENGTH]; /* Message digest */ uint32_t state[_SHA1_DIGEST_LENGTH]; /* State variables */
uint32_t count_low, count_high; /* 64-bit block count */ uint32_t count_low, count_high; /* 64-bit block count */
uint8_t block[SHA1_DATA_SIZE]; /* SHA1 data buffer */ uint8_t block[SHA1_DATA_SIZE]; /* SHA1 data buffer */
unsigned int index; /* index into buffer */ unsigned int index; /* index into buffer */
......
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