OpenVAS Scanner
7.0.1~git
|
Unix SMB/CIFS implementation. More...
Go to the source code of this file.
Macros | |
#define | uint32 uint32_t |
#define | ROUND1(a, b, c, d, k, s) a = lshift (a + F (b, c, d) + X[k], s) |
#define | ROUND2(a, b, c, d, k, s) a = lshift (a + G (b, c, d) + X[k] + (uint32) 0x5A827999, s) |
#define | ROUND3(a, b, c, d, k, s) a = lshift (a + H (b, c, d) + X[k] + (uint32) 0x6ED9EBA1, s) |
Functions | |
static uint32 | F (uint32 X, uint32 Y, uint32 Z) |
static uint32 | G (uint32 X, uint32 Y, uint32 Z) |
static uint32 | H (uint32 X, uint32 Y, uint32 Z) |
static uint32 | lshift (uint32 x, int s) |
static void | mdfour64_ntlmssp (uint32 *M) |
static void | copy64_ntlmssp (uint32 *M, const unsigned char *in) |
static void | copy4_ntlmssp (unsigned char *out, uint32 x) |
void | mdfour_ntlmssp (unsigned char *out, const unsigned char *in, int n) |
Variables | |
static uint32 | A |
static uint32 | B |
static uint32 | C |
static uint32 | D |
Unix SMB/CIFS implementation.
A implementation of MD4 designed for use in the SMB authentication protocol
Definition in file md4.c.
Definition at line 68 of file md4.c.
Referenced by mdfour64_ntlmssp().
Definition at line 69 of file md4.c.
Referenced by mdfour64_ntlmssp().
Definition at line 71 of file md4.c.
Referenced by mdfour64_ntlmssp().
#define uint32 uint32_t |
Definition at line 33 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().
|
static |
Definition at line 164 of file md4.c.
Referenced by mdfour_ntlmssp().
|
static |
Definition at line 154 of file md4.c.
Referenced by mdfour_ntlmssp().
|
static |
void mdfour_ntlmssp | ( | unsigned char * | out, |
const unsigned char * | in, | ||
int | n | ||
) |
Definition at line 174 of file md4.c.
References A, B, C, copy4_ntlmssp(), copy64_ntlmssp(), D, mdfour64_ntlmssp(), and uint32.
Referenced by do_filehash_ntlmssp(), generate_random_buffer_ntlmssp(), and SMBsesskeygen_ntv1_ntlmssp().
|
static |
Definition at line 41 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().
|
static |
Definition at line 41 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().
|
static |
Definition at line 41 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().
|
static |
Definition at line 41 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().