OpenVAS Libraries  6.0+beta5
Macros | Typedefs | Functions
genrand.c File Reference

Random number generation. More...

#include <pwd.h>
#include <unistd.h>
#include "byteorder.h"
#include "smb.h"
#include "time.h"
#include "md4.h"
#include "proto.h"
#include <fcntl.h>

Macros

#define uint32   uint32_t
 
#define False   0
 
#define True   1
 
#define ZERO_STRUCT(x)   memset((char *)&(x), 0, sizeof(x))
 

Typedefs

typedef unsigned int bool
 

Functions

void set_rand_reseed_callback_ntlmssp (void(*fn)(int *))
 
void set_need_random_reseed_ntlmssp ()
 
void generate_random_buffer_ntlmssp (unsigned char *out, int len)
 

Detailed Description

Random number generation.

Macro Definition Documentation

#define False   0
#define True   1
#define uint32   uint32_t
#define ZERO_STRUCT (   x)    memset((char *)&(x), 0, sizeof(x))

Typedef Documentation

typedef unsigned int bool

Function Documentation

void generate_random_buffer_ntlmssp ( unsigned char *  out,
int  len 
)
void set_need_random_reseed_ntlmssp ( )
void set_rand_reseed_callback_ntlmssp ( void(*)(int *)  fn)