Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef SHA1_I_H
00016 #define SHA1_I_H
00017
00018 struct SHA1Context {
00019 u32 state[5];
00020 u32 count[2];
00021 unsigned char buffer[64];
00022 };
00023
00024 void SHA1Init(struct SHA1Context *context);
00025 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
00026 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
00027 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
00028
00029 #endif