OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::RandomByteStore< RAND_TYPE > Class Template Reference

#include <randbytestore.hpp>

Public Member Functions

unsigned char get_byte (RAND_TYPE &rng)
 
template<typename T >
void fill (T &obj, RAND_TYPE &rng)
 

Private Attributes

RAND_TYPE::result_type res = 0
 
unsigned int n_bytes = 0
 

Detailed Description

template<typename RAND_TYPE>
class openvpn::RandomByteStore< RAND_TYPE >

Definition at line 20 of file randbytestore.hpp.

Member Function Documentation

◆ fill()

template<typename RAND_TYPE >
template<typename T >
void openvpn::RandomByteStore< RAND_TYPE >::fill ( T &  obj,
RAND_TYPE &  rng 
)
inline

Definition at line 37 of file randbytestore.hpp.

Here is the caller graph for this function:

◆ get_byte()

template<typename RAND_TYPE >
unsigned char openvpn::RandomByteStore< RAND_TYPE >::get_byte ( RAND_TYPE &  rng)
inline

Definition at line 23 of file randbytestore.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ n_bytes

template<typename RAND_TYPE >
unsigned int openvpn::RandomByteStore< RAND_TYPE >::n_bytes = 0
private

Definition at line 46 of file randbytestore.hpp.

◆ res

template<typename RAND_TYPE >
RAND_TYPE::result_type openvpn::RandomByteStore< RAND_TYPE >::res = 0
private

Definition at line 45 of file randbytestore.hpp.


The documentation for this class was generated from the following file: