aboutsummaryrefslogtreecommitdiff
path: root/sha2.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-07-17 21:48:22 -0400
committerPaul Duncan <pabs@pablotron.org>2019-07-17 21:48:22 -0400
commit8f1738bfca64236a5973a717f22d4eb6555c448b (patch)
tree1f2fd3f81a031f5b4126b8545d852bdddb31f268 /sha2.h
parent73100bf2aaa8a1bfc4b92f42a7461b99c587ef3d (diff)
downloadsha2-8f1738bfca64236a5973a717f22d4eb6555c448b.tar.bz2
sha2-8f1738bfca64236a5973a717f22d4eb6555c448b.zip
remove buf_len member
Diffstat (limited to 'sha2.h')
-rw-r--r--sha2.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sha2.h b/sha2.h
index 367b736..c3ede29 100644
--- a/sha2.h
+++ b/sha2.h
@@ -12,10 +12,7 @@ extern "C" {
typedef struct {
uint8_t buf[64];
- size_t buf_len;
-
uint32_t h[8];
-
uint64_t num_bytes;
} sha256_t;
@@ -40,10 +37,7 @@ void sha224(const uint8_t * const, const size_t, uint8_t * const);
typedef struct {
uint8_t buf[128];
- size_t buf_len;
-
uint64_t h[8];
-
uint64_t num_bytes;
} sha512_t;