updated bords/mappers/stuff to 0.98.15, lots of them got broken, asmcore support...
[fceu.git] / md5.h
diff --git a/md5.h b/md5.h
new file mode 100644 (file)
index 0000000..39c01ec
--- /dev/null
+++ b/md5.h
@@ -0,0 +1,18 @@
+#ifndef _MD5_H\r
+#define _MD5_H\r
+\r
+struct md5_context\r
+{\r
+    uint32 total[2];\r
+    uint32 state[4];\r
+    uint8 buffer[64];\r
+};\r
+\r
+void md5_starts( struct md5_context *ctx );\r
+void md5_update( struct md5_context *ctx, uint8 *input, uint32 length );\r
+void md5_finish( struct md5_context *ctx, uint8 digest[16] );\r
+\r
+/* Uses a static buffer, so beware of how it's used. */\r
+char *md5_asciistr(uint8 digest[16]);\r
+\r
+#endif /* md5.h */\r