rand.h File Reference

#include <stdlib.h>
#include <openssl/ossl_typ.h>
#include <openssl/e_os2.h>

Go to the source code of this file.

Data Structures

struct  rand_meth_st

Defines

#define RAND_F_RAND_GET_RAND_METHOD   101
#define RAND_F_SSLEAY_RAND_BYTES   100
#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

Definition at line 131 of file rand.h.

#define RAND_F_SSLEAY_RAND_BYTES   100

Definition at line 132 of file rand.h.

#define RAND_R_PRNG_NOT_SEEDED   100

Definition at line 135 of file rand.h.


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 Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6