00001 #ifndef MD5_H 00002 #define MD5_H 00003 #ifndef HEADER_MD5_H 00004 /* Try to avoid clashes with OpenSSL */ 00005 #define HEADER_MD5_H 00006 #endif 00007 00008 struct MD5Context { 00009 uint32 buf[4]; 00010 uint32 bits[2]; 00011 unsigned char in[64]; 00012 }; 00013 00014 void MD5Init(struct MD5Context *context); 00015 void MD5Update(struct MD5Context *context, unsigned char const *buf, 00016 unsigned len); 00017 void MD5Final(unsigned char digest[16], struct MD5Context *context); 00018 00019 #endif /* !MD5_H */