|
OpenVAS Scanner 22.7.9
|
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.
|
static |
Definition at line 155 of file md4.c.
Referenced by mdfour_ntlmssp().

|
static |
Definition at line 145 of file md4.c.
Referenced by mdfour_ntlmssp().

|
static |
Definition at line 63 of file md4.c.
References A, B, C, D, ROUND1, ROUND2, ROUND3, and uint32.
Referenced by mdfour_ntlmssp().

| void mdfour_ntlmssp | ( | unsigned char * | out, |
| const unsigned char * | in, | ||
| int | n | ||
| ) |
Definition at line 165 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 28 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().
|
static |
Definition at line 28 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().
|
static |
Definition at line 28 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().
|
static |
Definition at line 28 of file md4.c.
Referenced by mdfour64_ntlmssp(), and mdfour_ntlmssp().