summaryrefslogtreecommitdiff
path: root/sha.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2011-08-29 16:15:38 +0200
committerNiels Möller <nisse@lysator.liu.se>2011-08-29 16:15:38 +0200
commita64cc8917cd1d13e3c004d64a0d37e683e7cbd6f (patch)
treeb798daed02862f06f35fb14ade27f239dcead937 /sha.h
parenta71ad6f0efeacdb167fd5ac76f095c5a31505b9b (diff)
downloadnettle-a64cc8917cd1d13e3c004d64a0d37e683e7cbd6f.tar.gz
(struct sha1_ctx): Renamed attribute digest to state.
Rev: nettle/sha.h:1.7
Diffstat (limited to 'sha.h')
-rw-r--r--sha.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha.h b/sha.h
index 41afde4b..74beff35 100644
--- a/sha.h
+++ b/sha.h
@@ -57,7 +57,7 @@ extern "C" {
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 */
uint8_t block[SHA1_DATA_SIZE]; /* SHA1 data buffer */
unsigned int index; /* index into buffer */