sha1_i.h
Go to the documentation of this file.00001
00016 #ifndef SHA1_I_H
00017 #define SHA1_I_H
00018
00019 struct SHA1Context {
00020 u32 state[5];
00021 u32 count[2];
00022 unsigned char buffer[64];
00023 };
00024
00025 void SHA1Init(struct SHA1Context *context);
00026 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
00027 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
00028 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
00029
00030 #endif
00031