CryptoPkg/Include/openssl/rand.h File Reference


Data Structures

struct  rand_meth_st

Defines

#define RAND_F_RAND_GET_RAND_METHOD   101
#define RAND_F_RAND_INIT_FIPS   102
#define RAND_F_SSLEAY_RAND_BYTES   100
#define RAND_R_DUAL_EC_DRBG_DISABLED   104
#define RAND_R_ERROR_INITIALISING_DRBG   102
#define RAND_R_ERROR_INSTANTIATING_DRBG   103
#define RAND_R_NO_FIPS_RANDOM_METHOD_SET   101
#define RAND_R_PRNG_NOT_SEEDED   100

Functions

int RAND_set_rand_method (const RAND_METHOD *meth)
const RAND_METHODRAND_get_rand_method (void)
int RAND_set_rand_engine (ENGINE *engine)
RAND_METHODRAND_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, size_t num)
int RAND_status (void)
int RAND_query_egd_bytes (const char *path, unsigned char *buf, int bytes)
int RAND_egd (const char *path)
int RAND_egd_bytes (const char *path, int bytes)
int RAND_poll (void)
void ERR_load_RAND_strings (void)

Define Documentation

#define RAND_F_RAND_GET_RAND_METHOD   101

#define RAND_F_RAND_INIT_FIPS   102

#define RAND_F_SSLEAY_RAND_BYTES   100

#define RAND_R_DUAL_EC_DRBG_DISABLED   104

#define RAND_R_ERROR_INITIALISING_DRBG   102

#define RAND_R_ERROR_INSTANTIATING_DRBG   103

#define RAND_R_NO_FIPS_RANDOM_METHOD_SET   101

#define RAND_R_PRNG_NOT_SEEDED   100


Function Documentation

void ERR_load_RAND_strings ( void   ) 

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

int RAND_bytes ( unsigned char *  buf,
int  num 
)

void RAND_cleanup ( void   ) 

int RAND_egd ( const char *  path  ) 

int RAND_egd_bytes ( const char *  path,
int  bytes 
)

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

const RAND_METHOD* RAND_get_rand_method ( void   ) 

int RAND_load_file ( const char *  file,
long  max_bytes 
)

int RAND_poll ( void   ) 

int RAND_pseudo_bytes ( unsigned char *  buf,
int  num 
)

int RAND_query_egd_bytes ( const char *  path,
unsigned char *  buf,
int  bytes 
)

void RAND_seed ( const void *  buf,
int  num 
)

int RAND_set_rand_engine ( ENGINE engine  ) 

int RAND_set_rand_method ( const RAND_METHOD meth  ) 

RAND_METHOD* RAND_SSLeay ( void   ) 

int RAND_status ( void   ) 

int RAND_write_file ( const char *  file  ) 


Generated on Wed Sep 2 14:03:41 2015 for CryptoPkg[ALL] by  doxygen 1.5.7.1