![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Macros | |
#define | F(X, Y, Z) |
#define | G(X, Y, Z) |
#define | H(X, Y, Z) |
#define | lshift(x, s) |
#define | ROUND1(a, b, c, d, k, s) |
#define | ROUND2(a, b, c, d, k, s) |
#define | ROUND3(a, b, c, d, k, s) |
Functions | |
unsigned | Com_BlockChecksum (void *buffer, int length) |
void | Com_BlockFullChecksum (void *buffer, int len, unsigned char *outbuf) |
static void | copy4 (unsigned char *out, uint32_t x) |
static void | copy64 (uint32_t *M, const unsigned char *in) |
void | mdfour (unsigned char *out, const unsigned char *in, int n) |
static void | mdfour64 (struct mdfour_s *md, uint32_t *M) |
void | mdfour_begin (struct mdfour_s *md) |
void | mdfour_result (struct mdfour_s *md, unsigned char *out) |
static void | mdfour_tail (struct mdfour_s *md, const unsigned char *in, int n) |
void | mdfour_update (struct mdfour_s *md, const unsigned char *in, int n) |
#define G | ( | X, | |
Y, | |||
Z ) |
#define lshift | ( | x, | |
s ) |
Definition at line 45 of file mdfour.c.
Referenced by mdfour64().
Definition at line 46 of file mdfour.c.
Referenced by mdfour64().
Definition at line 198 of file mdfour.c.
References buffer, length, and mdfour().
Referenced by Mod_Q1BSP_Load(), Mod_Q2BSP_Load(), and Mod_Q3BSP_Load().
|
static |
Definition at line 107 of file mdfour.c.
References x.
Referenced by mdfour_result(), and mdfour_tail().
|
static |
Definition at line 97 of file mdfour.c.
Referenced by mdfour_tail(), and mdfour_update().
Definition at line 182 of file mdfour.c.
References mdfour_begin(), mdfour_result(), mdfour_update(), and n.
Referenced by Com_BlockChecksum(), Com_BlockFullChecksum(), and VM_digest_hex().
Definition at line 49 of file mdfour.c.
References mdfour_s::A, mdfour_s::B, mdfour_s::C, mdfour_s::D, M, ROUND1, ROUND2, and ROUND3.
Referenced by mdfour_tail(), and mdfour_update().
Definition at line 115 of file mdfour.c.
References mdfour_s::A, mdfour_s::B, mdfour_s::C, mdfour_s::D, and mdfour_s::totalN.
Referenced by mdfour().
Definition at line 173 of file mdfour.c.
References mdfour_s::A, mdfour_s::B, mdfour_s::C, copy4(), and mdfour_s::D.
Referenced by mdfour().
Definition at line 125 of file mdfour.c.
References b, buf, copy4(), copy64(), M, mdfour64(), n, and mdfour_s::totalN.
Referenced by mdfour_update().
Definition at line 152 of file mdfour.c.
References copy64(), M, mdfour64(), mdfour_tail(), n, and mdfour_s::totalN.
Referenced by mdfour().