mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 08:35:54 +02:00
17 lines
379 B
C
17 lines
379 B
C
|
#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_ */
|