Added SILC Thread Queue API
[silc.git] / lib / silccrypt / md5_internal.h
index ef1bddb66200b57bd27edecbb546e2b4961edc23..66ec97bcccc485d50932decbe41d3ac4778cc9bf 100644 (file)
@@ -1,20 +1,18 @@
-/* file ripped from noiz-0.5. -Pekka */
+/* file ripped from noiz-0.5. -Pekka.  Public domain. */
 
 #ifndef MD5_INTERNAL_H
 #define MD5_INTERNAL_H
 
-typedef unsigned long uint32;
-
 struct MD5Context {
-       uint32 buf[4];
-       uint32 bits[2];
-       unsigned char in[64];
+  SilcUInt32 buf[4];
+  SilcUInt32 bits[2];
+  unsigned char in[64];
 };
 
 void MD5Init(struct MD5Context *context);
 void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len);
 void MD5Final(unsigned char digest[16], struct MD5Context *context);
-void MD5Transform(uint32 buf[4], const unsigned char kbuf[64]);
+void MD5Transform(SilcUInt32 buf[4], const unsigned char kbuf[64]);
 
 /*
  * This is needed to make RSAREF happy on some MS-DOS compilers.