OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_randbytestore.cpp File Reference
#include "test_common.hpp"
#include <cstdint>
#include <limits>
#include <vector>
#include <openvpn/random/randbytestore.hpp>
Include dependency graph for test_randbytestore.cpp:

Go to the source code of this file.

Classes

class  FakeRNG< T >
 

Functions

 TEST (randbytestore, get_byte_order_u32)
 
 TEST (randbytestore, get_byte_order_u64)
 
 TEST (randbytestore, refill_on_exhaustion)
 
 TEST (randbytestore, fill_struct)
 
 TEST (randbytestore, byte_order_not_msb_first)
 
 TEST (randbytestore, no_early_refill)
 
 TEST (randbytestore, no_missed_refill)
 

Function Documentation

◆ TEST() [1/7]

TEST ( randbytestore  ,
byte_order_not_msb_first   
)

Definition at line 127 of file test_randbytestore.cpp.

◆ TEST() [2/7]

TEST ( randbytestore  ,
fill_struct   
)

Definition at line 101 of file test_randbytestore.cpp.

◆ TEST() [3/7]

TEST ( randbytestore  ,
get_byte_order_u32   
)

Definition at line 51 of file test_randbytestore.cpp.

◆ TEST() [4/7]

TEST ( randbytestore  ,
get_byte_order_u64   
)

Definition at line 66 of file test_randbytestore.cpp.

◆ TEST() [5/7]

TEST ( randbytestore  ,
no_early_refill   
)

Definition at line 138 of file test_randbytestore.cpp.

◆ TEST() [6/7]

TEST ( randbytestore  ,
no_missed_refill   
)

Definition at line 153 of file test_randbytestore.cpp.

◆ TEST() [7/7]

TEST ( randbytestore  ,
refill_on_exhaustion   
)

Definition at line 85 of file test_randbytestore.cpp.