git.samba.org
/
gd
/
nettle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a71ad6f
)
(struct sha1_ctx): Renamed attribute digest to state.
author
Niels Möller
<nisse@lysator.liu.se>
Mon, 29 Aug 2011 14:15:38 +0000
(16:15 +0200)
committer
Niels Möller
<nisse@lysator.liu.se>
Mon, 29 Aug 2011 14:15:38 +0000
(16:15 +0200)
Rev: nettle/sha.h:1.7
sha.h
patch
|
blob
|
history
diff --git
a/sha.h
b/sha.h
index 41afde4b6ac78b76efcba0e0bd1edd8b6d8487db..74beff35e1a5da5e0db7a2f72667c803c04513b2 100644
(file)
--- 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 */