]> mj.ucw.cz Git - libucw.git/blobdiff - lib/md5.h
UCW: Constified the lookup table for CF_LOOKUP and CF_BITMAP_LOOKUP.
[libucw.git] / lib / md5.h
index 7be26a770d5bd3a47fdcc3f00cbc65959af04a3c..0bb64593df017caf728f86ce4e1860601cd7225a 100644 (file)
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -1,5 +1,11 @@
-#ifndef MD5_H
-#define MD5_H
+/*
+ *     UCW Library -- MD5 Message Digest
+ *
+ *     This file is in public domain (see lib/md5.c).
+ */
+
+#ifndef _UCW_MD5_H
+#define _UCW_MD5_H
 
 typedef u32 uint32;
 
@@ -15,4 +21,7 @@ void MD5Update(struct MD5Context *context, unsigned char const *buf,
 void MD5Final(unsigned char digest[16], struct MD5Context *context);
 void MD5Transform(uint32 buf[4], uint32 const in[16]);
 
-#endif /* !MD5_H */
+#define MD5_HEX_SIZE 33
+#define MD5_SIZE 16
+
+#endif /* !_UCW_MD5_H */