Namespaces | |
namespace | JetByteTools |
namespace | JetByteTools::Core |
Defines | |
#define | UL_MD5LENGTH 16 |
#define | byteReverse(buf, len) |
#define | F1(x, y, z) (z ^ (x & (y ^ z))) |
#define | F2(x, y, z) F1(z, x, y) |
#define | F3(x, y, z) (x ^ y ^ z) |
#define | F4(x, y, z) (y ^ (x | ~z)) |
#define | MD5STEP(f, w, x, y, z, data, s) ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
Functions | |
static void | ul_MD5Init (struct UL_MD5Context *context) |
static void | ul_MD5Update (struct UL_MD5Context *context, unsigned char const *buf, unsigned len) |
static void | ul_MD5Final (unsigned char digest[UL_MD5LENGTH], struct UL_MD5Context *context) |
static void | ul_MD5Transform (uint32_t buf[4], uint32_t const in[16]) |
#define byteReverse | ( | buf, | |||
len | ) |
#define F1 | ( | x, | |||
y, | |||||
z | ) | (z ^ (x & (y ^ z))) |
#define F2 | ( | x, | |||
y, | |||||
z | ) | F1(z, x, y) |
#define F3 | ( | x, | |||
y, | |||||
z | ) | (x ^ y ^ z) |
#define F4 | ( | x, | |||
y, | |||||
z | ) | (y ^ (x | ~z)) |
#define MD5STEP | ( | f, | |||
w, | |||||
x, | |||||
y, | |||||
z, | |||||
data, | |||||
s | ) | ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
#define UL_MD5LENGTH 16 |