libxcks
0.1.0.1
|
Compute md5 hash. More...
Go to the source code of this file.
Macros | |
#define | X(a) do { *(uint32_t*)p = a ; p += 4; } while(0) |
Helper function for MD5's computing. More... | |
#define | FF(b, c, d) (d ^ (b & (c ^ d))) |
First fonction of the MD5 algorithm. More... | |
#define | FG(b, c, d) FF (d, b, c) |
Second fonction of the MD5 algorithm. More... | |
#define | FH(b, c, d) (b ^ c ^ d) |
Third fonction of the MD5 algorithm. More... | |
#define | FI(b, c, d) (c ^ (b | ~d)) |
Fourth fonction of the MD5 algorithm. More... | |
#define | OP(a, b, c, d, s, T) |
First round. More... | |
#define | OP(f, a, b, c, d, k, s, T) |
First round. More... | |
Compute md5 hash.
Definition in file md5.cpp.
#define FF | ( | b, | |
c, | |||
d | |||
) | (d ^ (b & (c ^ d))) |
#define FG | ( | b, | |
c, | |||
d | |||
) | FF (d, b, c) |
#define FH | ( | b, | |
c, | |||
d | |||
) | (b ^ c ^ d) |
#define FI | ( | b, | |
c, | |||
d | |||
) | (c ^ (b | ~d)) |
#define OP | ( | a, | |
b, | |||
c, | |||
d, | |||
s, | |||
T | |||
) |
First round.
Second round.
#define OP | ( | f, | |
a, | |||
b, | |||
c, | |||
d, | |||
k, | |||
s, | |||
T | |||
) |
First round.
Second round.
#define X | ( | a | ) | do { *(uint32_t*)p = a ; p += 4; } while(0) |
Helper function for MD5's computing.