SWILIB API (NSG)    
Loading...
Searching...
No Matches
rand.h File Reference

Go to the source code of this file.

Data Structures

struct  rand_meth_st
 

Macros

#define RAND_F_SSLEAY_RAND_BYTES   100
 
#define RAND_R_PRNG_NOT_SEEDED   100
 

Typedefs

typedef struct rand_meth_st RAND_METHOD
 

Functions

void RAND_set_rand_method (RAND_METHOD *meth)
 
RAND_METHOD * RAND_SSLeay (void)
 
void RAND_cleanup (void)
 
int RAND_bytes (unsigned char *buf, int num)
 
int RAND_pseudo_bytes (unsigned char *buf, int num)
 
void RAND_seed (const void *buf, int num)
 
void RAND_add (const void *buf, int num, double entropy)
 
int RAND_load_file (const char *file, long max_bytes)
 
int RAND_write_file (const char *file)
 
const char * RAND_file_name (char *file, int num)
 
int RAND_status (void)
 
int RAND_egd (const char *path)
 
void ERR_load_RAND_strings (void)
 

Data Structure Documentation

◆ rand_meth_st

struct rand_meth_st

Macro Definition Documentation

◆ RAND_F_SSLEAY_RAND_BYTES

#define RAND_F_SSLEAY_RAND_BYTES   100

Definition at line 108 of file rand.h.

◆ RAND_R_PRNG_NOT_SEEDED

#define RAND_R_PRNG_NOT_SEEDED   100

Definition at line 111 of file rand.h.

Typedef Documentation

◆ RAND_METHOD

typedef struct rand_meth_st RAND_METHOD

Function Documentation

◆ RAND_set_rand_method()

void RAND_set_rand_method ( RAND_METHOD * meth)

◆ RAND_SSLeay()

RAND_METHOD * RAND_SSLeay ( void )

◆ RAND_cleanup()

void RAND_cleanup ( void )

◆ RAND_bytes()

int RAND_bytes ( unsigned char * buf,
int num )

◆ RAND_pseudo_bytes()

int RAND_pseudo_bytes ( unsigned char * buf,
int num )

◆ RAND_seed()

void RAND_seed ( const void * buf,
int num )

◆ RAND_add()

void RAND_add ( const void * buf,
int num,
double entropy )

◆ RAND_load_file()

int RAND_load_file ( const char * file,
long max_bytes )

◆ RAND_write_file()

int RAND_write_file ( const char * file)

◆ RAND_file_name()

const char * RAND_file_name ( char * file,
int num )

◆ RAND_status()

int RAND_status ( void )

◆ RAND_egd()

int RAND_egd ( const char * path)

◆ ERR_load_RAND_strings()

void ERR_load_RAND_strings ( void )