10 #include "MD5_config.h"
33 typedef unsigned long MD5_u32plus;
37 MD5_u32plus a, b, c,
d;
38 unsigned char buffer[64];
39 MD5_u32plus block[16];
60 unsigned char*
make_hash(
const void *arg);
70 char*
make_digest(
const unsigned char *digest,
int len);
79 char*
md5(
const void *arg);
93 void hmac_md5(
const void *text,
int text_len,
void *key,
int key_len,
unsigned char *digest);
104 char*
hmac_md5(
const void *text,
int text_len,
void *key,
int key_len);
113 static const void *
body(
void *ctxBuf,
const void *data,
size_t size);
120 static void MD5Init(
void *ctxBuf);
129 static void MD5Final(
unsigned char *result,
void *ctxBuf);
139 static void MD5Update(
void *ctxBuf,
const void *data,
size_t size);
140 #if defined(MD5_LINUX)
149 #if defined(MD5_LINUX)
static void MD5Update(void *ctxBuf, const void *data, size_t size)
Definition: MD5.cpp:194
unsigned char * make_hash(const void *arg)
Definition: MD5.cpp:281
double millis()
Definition: MD5.cpp:381
static const void * body(void *ctxBuf, const void *data, size_t size)
Definition: MD5.cpp:72
static void MD5Final(unsigned char *result, void *ctxBuf)
Definition: MD5.cpp:230
MD5_u32plus lo
Definition: MD5.h:36
char * make_digest(const unsigned char *digest, int len)
Definition: MD5.cpp:9
MD5_u32plus d
Definition: MD5.h:37
char * md5(const void *arg)
Definition: MD5.cpp:291
timeval tv
Definition: MD5.h:150
static void MD5Init(void *ctxBuf)
Definition: MD5.cpp:182
MD5()
Definition: MD5.cpp:3
void hmac_md5(const void *text, int text_len, void *key, int key_len, unsigned char *digest)
Definition: MD5.cpp:295