|
libxcks
0.1.0.1
|
Compute md4 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 MD4's computing. More... | |
| #define | F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) |
| Helper function for MD4's computing. More... | |
| #define | G(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) |
| Helper function for MD4's computing. More... | |
| #define | H(x, y, z) ((x) ^ (y) ^ (z)) |
| Helper function for MD4's computing. More... | |
| #define | function(a, b, c, d, k, s) a=rol(a+F(b,c,d)+in[k],s); |
| Helper function for MD4's computing. More... | |
| #define | function(a, b, c, d, k, s) a=rol(a+G(b,c,d)+in[k]+0x5a827999,s); |
| Helper function for MD4's computing. More... | |
| #define | function(a, b, c, d, k, s) a=rol(a+H(b,c,d)+in[k]+0x6ed9eba1,s); |
| Helper function for MD4's computing. More... | |
Compute md4 hash.
Definition in file md4.cpp.
| #define F | ( | x, | |
| y, | |||
| z | |||
| ) | ((z) ^ ((x) & ((y) ^ (z)))) |
Helper function for MD4's computing.
| #define function | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| k, | |||
| s | |||
| ) | a=rol(a+F(b,c,d)+in[k],s); |
Helper function for MD4's computing.
| #define function | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| k, | |||
| s | |||
| ) | a=rol(a+G(b,c,d)+in[k]+0x5a827999,s); |
Helper function for MD4's computing.
| #define function | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| k, | |||
| s | |||
| ) | a=rol(a+H(b,c,d)+in[k]+0x6ed9eba1,s); |
Helper function for MD4's computing.
| #define G | ( | x, | |
| y, | |||
| z | |||
| ) | (((x) & (y)) | ((x) & (z)) | ((y) & (z))) |
Helper function for MD4's computing.
| #define H | ( | x, | |
| y, | |||
| z | |||
| ) | ((x) ^ (y) ^ (z)) |
Helper function for MD4's computing.
| #define X | ( | a | ) | do { *(uint32_t*)p = a ; p += 4; } while(0) |
Helper function for MD4's computing.