|
OpenVAS Scanner 23.23.1
|
Unix SMB/CIFS implementation. Functions to create reasonable random numbers for crypto use. More...
#include "byteorder.h"#include "md4.h"#include "proto.h"#include "smb.h"#include <pwd.h>#include <time.h>#include <unistd.h>#include <fcntl.h>Macros | |
| #define | uint32 uint32_t |
| #define | False 0 |
| #define | True 1 |
| #define | ZERO_STRUCT(x) |
Functions | |
| static void | get_rand_reseed_data_ntlmssp (int *reseed_data) |
| static void | do_filehash_ntlmssp (const char *fname, unsigned char *the_hash) |
| static int | do_reseed_ntlmssp (bool use_fd, int fd) |
| void | generate_random_buffer_ntlmssp (unsigned char *out, int len) |
Variables | |
| static unsigned char | smb_arc4_state [258] |
| static uint32 | counter |
| static bool | done_reseed_ntlmssp = False |
| static void(* | reseed_callback_ntlmssp )(int *newseed) |
Unix SMB/CIFS implementation. Functions to create reasonable random numbers for crypto use.
Random number generation.
| #define False 0 |
| #define True 1 |
| #define uint32 uint32_t |
| #define ZERO_STRUCT | ( | x | ) |
|
static |
|
static |
| void generate_random_buffer_ntlmssp | ( | unsigned char * | out, |
| int | len ) |
|
static |
|
static |
|
static |
|
static |