xorp

RandomGen Class Reference

List of all members.

Public Member Functions

void get_random_bytes (size_t len, uint8_t *buf)

Private Member Functions

bool read_file (const string &filename)
bool read_fd (FILE *file)
void add_buf_to_randomness (uint8_t *buf, size_t len)

Private Attributes

bool _random_exists
bool _urandom_exists
uint8_t * _random_data
uint32_t _counter

Static Private Attributes

static const size_t RAND_POOL_SIZE = 65536

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations