From f04609b1fc4d6cfd8416e91a82f9398148c041cb Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 5 Jan 2006 01:42:16 +0000 Subject: add bcm43xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2836 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../target/linux/package/bcm43xx-dscape/fwcutter/md5.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h (limited to 'openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h') diff --git a/openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h b/openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h new file mode 100644 index 000000000..ee574e413 --- /dev/null +++ b/openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h @@ -0,0 +1,16 @@ +#ifndef FWCUTTER_MD5_H_ +#define FWCUTTER_MD5_H_ + +#include + +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_ */ -- cgit v1.2.3