| Botan
    1.10.16
    | 
#include <entropy_src.h>
 
  
 | Public Member Functions | |
| void | add (const void *bytes, size_t length, double entropy_bits_per_byte) | 
| template<typename T > | |
| void | add (const T &v, double entropy_bits_per_byte) | 
| size_t | bits_collected () const | 
| size_t | desired_remaining_bits () const | 
| Entropy_Accumulator_BufferedComputation (Buffered_Computation &sink, size_t goal) | |
| MemoryRegion< byte > & | get_io_buffer (size_t size) | 
| bool | polling_goal_achieved () const | 
Entropy accumulator that puts the input into a Buffered_Computation
Definition at line 98 of file entropy_src.h.
| 
 | inline | 
| sink | the hash or MAC we are feeding the poll data into | 
| goal | is how many bits we want to collect in this poll | 
Definition at line 106 of file entropy_src.h.
| 
 | inlineinherited | 
Add entropy to the accumulator
| bytes | the input bytes | 
| length | specifies how many bytes the input is | 
| entropy_bits_per_byte | is a best guess at how much entropy per byte is in this input | 
Definition at line 70 of file entropy_src.h.
Referenced by Botan::Win32_EntropySource::poll(), Botan::FTW_EntropySource::poll(), Botan::Win32_CAPI_EntropySource::poll(), Botan::High_Resolution_Timestamp::poll(), Botan::Device_EntropySource::poll(), Botan::EGD_EntropySource::poll(), and Botan::Unix_EntropySource::poll().
| 
 | inlineinherited | 
Add entropy to the accumulator
| v | is some value | 
| entropy_bits_per_byte | is a best guess at how much entropy per byte is in this input | 
Definition at line 83 of file entropy_src.h.
| 
 | inlineinherited | 
Definition at line 44 of file entropy_src.h.
Referenced by Botan::Randpool::reseed(), and Botan::HMAC_RNG::reseed().
| 
 | inlineinherited | 
Definition at line 56 of file entropy_src.h.
Referenced by Botan::Device_EntropySource::poll(), and Botan::EGD_EntropySource::poll().
| 
 | inlineinherited | 
Get a cached I/O buffer (purely for minimizing allocation overhead to polls)
| size | requested size for the I/O buffer | 
Definition at line 38 of file entropy_src.h.
References Botan::MemoryRegion< T >::resize().
Referenced by Botan::FTW_EntropySource::poll(), Botan::Win32_CAPI_EntropySource::poll(), Botan::EGD_EntropySource::poll(), Botan::Device_EntropySource::poll(), and Botan::Unix_EntropySource::poll().
| 
 | inlineinherited | 
Definition at line 50 of file entropy_src.h.
Referenced by Botan::Win32_EntropySource::poll(), Botan::FTW_EntropySource::poll(), Botan::Randpool::reseed(), and Botan::HMAC_RNG::reseed().
 1.8.13
 1.8.13