diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-01-05 01:42:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-01-05 01:42:16 +0000 |
commit | c3906f9facd94648abbf64aca6e20fb644bdacbe (patch) | |
tree | 5a02898d418ef7944615b308f3627767b6348ebe /openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h | |
parent | 652fc44f0a62aafe9c32b5df8559d48cda2a5fd5 (diff) | |
download | mtk-20170518-c3906f9facd94648abbf64aca6e20fb644bdacbe.zip mtk-20170518-c3906f9facd94648abbf64aca6e20fb644bdacbe.tar.gz mtk-20170518-c3906f9facd94648abbf64aca6e20fb644bdacbe.tar.bz2 |
add bcm43xx
SVN-Revision: 2836
Diffstat (limited to 'openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h')
-rw-r--r-- | openwrt/target/linux/package/bcm43xx-dscape/fwcutter/md5.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 0000000..ee574e4 --- /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 <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_ */ |