| Botan
    1.10.16
    | 
#include <dev_random.h>
 
  
 | Public Member Functions | |
| Device_EntropySource (const std::vector< std::string > &fsnames) | |
| std::string | name () const | 
| void | poll (Entropy_Accumulator &accum) | 
| ~Device_EntropySource () | |
Entropy source reading from kernel devices like /dev/random
Definition at line 20 of file dev_random.h.
| Botan::Device_EntropySource::Device_EntropySource | ( | const std::vector< std::string > & | fsnames | ) | 
Device_EntropySource constructor Open a file descriptor to each (available) device in fsnames
Definition at line 41 of file dev_random.cpp.
Referenced by name().
| Botan::Device_EntropySource::~Device_EntropySource | ( | ) | 
Device_EntropySource destructor: close all open devices
Definition at line 54 of file dev_random.cpp.
Referenced by name().
| 
 | inlinevirtual | 
Implements Botan::EntropySource.
Definition at line 23 of file dev_random.h.
References Device_EntropySource(), poll(), and ~Device_EntropySource().
| 
 | virtual | 
Gather entropy from a RNG device
Implements Botan::EntropySource.
Definition at line 63 of file dev_random.cpp.
References Botan::Entropy_Accumulator::add(), Botan::Entropy_Accumulator::desired_remaining_bits(), Botan::Entropy_Accumulator::get_io_buffer(), Botan::CT::max(), Botan::CT::select(), and Botan::MemoryRegion< T >::size().
Referenced by name().
 1.8.13
 1.8.13