OpenVAS Scanner
7.0.1~git
|
Go to the source code of this file.
Macros | |
#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 | MD5Transform (uint32 buf[4], uint32 const in[16]) |
static void | byteReverse (unsigned char *buf, unsigned longs) |
void | MD5Init (struct MD5Context *ctx) |
void | MD5Update (struct MD5Context *ctx, unsigned char const *buf, unsigned len) |
void | MD5Final (unsigned char digest[16], struct MD5Context *ctx) |
#define MD5STEP | ( | f, | |
w, | |||
x, | |||
y, | |||
z, | |||
data, | |||
s | |||
) | (w += f (x, y, z) + data, w = w << s | w >> (32 - s), w += x) |
|
static |
Definition at line 32 of file md5.c.
References uint32.
Referenced by MD5Final(), and MD5Update().
void MD5Final | ( | unsigned char | digest[16], |
struct MD5Context * | ctx | ||
) |
Definition at line 118 of file md5.c.
References MD5Context::bits, MD5Context::buf, byteReverse(), MD5Context::in, MD5Transform(), and uint32.
Referenced by hmac_md5_final(), ntlmssp_genauth_ntlm2(), and simple_packet_signature_ntlmssp().
void MD5Init | ( | struct MD5Context * | ctx | ) |
Definition at line 50 of file md5.c.
References MD5Context::bits, and MD5Context::buf.
Referenced by hmac_md5_final(), hmac_md5_init_limK_to_64(), ntlmssp_genauth_ntlm2(), and simple_packet_signature_ntlmssp().
Definition at line 180 of file md5.c.
References F1, F2, F3, F4, MD5STEP, and uint32.
Referenced by MD5Final(), and MD5Update().
void MD5Update | ( | struct MD5Context * | ctx, |
unsigned char const * | buf, | ||
unsigned | len | ||
) |
Definition at line 66 of file md5.c.
References MD5Context::bits, MD5Context::buf, byteReverse(), MD5Context::in, MD5Transform(), and uint32.
Referenced by hmac_md5_final(), hmac_md5_init_limK_to_64(), hmac_md5_update(), ntlmssp_genauth_ntlm2(), and simple_packet_signature_ntlmssp().