
Defines | |
| #define | REVERSE(p, n) |
| #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 | MD5_DO(f, w, x, y, z, data, s) ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
Functions | |
| static void | DigestMD5 (struct md5_s *p_md5, uint32_t *p_input) |
| void | InitMD5 (struct md5_s *p_md5) |
| void | AddMD5 (struct md5_s *p_md5, const void *p_src, size_t i_len) |
| void | EndMD5 (struct md5_s *p_md5) |
| #define F1 | ( | x, | |||
| y, | |||||
| z | ) | ((z) ^ ((x) & ((y) ^ (z)))) |
Referenced by DigestMD5(), and Thread().
| #define F2 | ( | x, | |||
| y, | |||||
| z | ) | F1((z), (x), (y)) |
Referenced by DigestMD5(), and Thread().
| #define F3 | ( | x, | |||
| y, | |||||
| z | ) | ((x) ^ (y) ^ (z)) |
Referenced by DigestMD5(), and Thread().
| #define F4 | ( | x, | |||
| y, | |||||
| z | ) | ((y) ^ ((x) | ~(z))) |
Referenced by DigestMD5(), and Thread().
| #define MD5_DO | ( | f, | |||
| w, | |||||
| x, | |||||
| y, | |||||
| z, | |||||
| data, | |||||
| s | ) | ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) |
Referenced by DigestMD5().
| #define REVERSE | ( | p, | |||
| n | ) |
Referenced by DigestMD5(), DoShuffle(), drms_decrypt(), drms_init(), EndMD5(), GetUserKey(), and InitShuffle().
| void AddMD5 | ( | struct md5_s * | p_md5, | |
| const void * | p_src, | |||
| size_t | i_len | |||
| ) |
References DigestMD5(), md5_s::i_bits, and md5_s::p_data.
Referenced by ArtCacheGetDirPath(), AuthDigest(), CheckAndSend(), DoShuffle(), drms_init(), GenerateCnonce(), GetSystemKey(), Handshake(), HashSystemInfo(), InitShuffle(), vlc_rand_bytes(), vlclua_md5_add(), and vlclua_md5_create().
| static void DigestMD5 | ( | struct md5_s * | p_md5, | |
| uint32_t * | p_input | |||
| ) | [static] |
| void EndMD5 | ( | struct md5_s * | p_md5 | ) |
References DigestMD5(), md5_s::i_bits, md5_s::p_data, and REVERSE.
Referenced by ArtCacheGetDirPath(), AuthDigest(), CheckAndSend(), DoShuffle(), drms_init(), GenerateCnonce(), GetSystemKey(), Handshake(), HashSystemInfo(), InitShuffle(), vlc_rand_bytes(), vlclua_md5_create(), and vlclua_md5_end().
| void InitMD5 | ( | struct md5_s * | p_md5 | ) |
References md5_s::i_bits, md5_s::p_data, and md5_s::p_digest.
Referenced by ArtCacheGetDirPath(), AuthDigest(), CheckAndSend(), DoShuffle(), drms_init(), GenerateCnonce(), GetSystemKey(), Handshake(), HashSystemInfo(), InitShuffle(), vlc_rand_bytes(), and vlclua_md5_create().
1.5.6