aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/sha1_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/sha1_i.h')
-rw-r--r--src/crypto/sha1_i.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crypto/sha1_i.h b/src/crypto/sha1_i.h
index e4b3a96..ec2f82f 100644
--- a/src/crypto/sha1_i.h
+++ b/src/crypto/sha1_i.h
@@ -15,7 +15,11 @@
#ifndef SHA1_I_H
#define SHA1_I_H
-struct SHA1Context;
+struct SHA1Context {
+ u32 state[5];
+ u32 count[2];
+ unsigned char buffer[64];
+};
void SHA1Init(struct SHA1Context *context);
void SHA1Update(struct SHA1Context *context, const void *data, u32 len);