1 /* file ripped from noiz-0.5. -Pekka. Public domain. */ 2 3 #ifndef MD5_INTERNAL_H 4 #define MD5_INTERNAL_H 5 6 struct MD5Context { 7 SilcUInt32 buf[4]; 8 SilcUInt32 bits[2]; 9 unsigned char in[64]; 10 }; 11 12 void MD5Init(struct MD5Context *context); 13 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); 14 void MD5Final(unsigned char digest[16], struct MD5Context *context); 15 void MD5Transform(SilcUInt32 buf[4], const unsigned char kbuf[64]); 16 17 /* 18 * This is needed to make RSAREF happy on some MS-DOS compilers. 19 */ 20 typedef struct MD5Context MD5_CTX; 21 22 #endif 23