00001 /* 00002 * $Id$ 00003 */ 00004 00027 #ifndef _SHA1_H_ 00028 #define _SHA1_H_ 00029 00031 typedef struct SHA1Context 00032 { 00033 unsigned Message_Digest[5]; 00035 unsigned Length_Low; 00036 unsigned Length_High; 00038 unsigned char Message_Block[64]; 00039 int Message_Block_Index; 00041 int Computed; 00042 int Corrupted; 00043 } SHA1Context; 00044 00045 /* 00046 * Function Prototypes 00047 */ 00048 void SHA1Reset(SHA1Context *); 00049 int SHA1Result(SHA1Context *); 00050 void SHA1Input( SHA1Context *, 00051 const unsigned char *, 00052 unsigned); 00053 00054 #endif
1.6.3