summaryrefslogtreecommitdiffstats
path: root/target/linux/package/bcm43xx-standalone/fwcutter/md5.h
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-13 11:27:06 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-13 11:27:06 +0000
commite13455d72418a1369b162ca0b4444ba6790336cb (patch)
treede058c20cee3ec6025ca7d0ca42a1df9f057dde6 /target/linux/package/bcm43xx-standalone/fwcutter/md5.h
parent4b1682dd66f82e3c531c607f8fba511b14879ede (diff)
update to a newer snapshot and m. buesch snapshots
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3358 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/bcm43xx-standalone/fwcutter/md5.h')
-rw-r--r--target/linux/package/bcm43xx-standalone/fwcutter/md5.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/package/bcm43xx-standalone/fwcutter/md5.h b/target/linux/package/bcm43xx-standalone/fwcutter/md5.h
new file mode 100644
index 000000000..ee574e413
--- /dev/null
+++ b/target/linux/package/bcm43xx-standalone/fwcutter/md5.h
@@ -0,0 +1,16 @@
+#ifndef FWCUTTER_MD5_H_
+#define FWCUTTER_MD5_H_
+
+#include <stdint.h>
+
+struct MD5Context {
+ uint32_t buf[4];
+ uint32_t bits[2];
+ unsigned char in[64];
+};
+
+void MD5Init(struct MD5Context *ctx);
+void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len);
+void MD5Final(unsigned char *digest, struct MD5Context *ctx);
+
+#endif /* FWCUTTER_MD5_H_ */