Botan
2.1.0
Crypto and TLS for C++11
|
#include <es_win32.h>
Public Member Functions | |
std::string | name () const override |
size_t | poll (RandomNumberGenerator &rng) override |
Static Public Member Functions | |
static std::unique_ptr< Entropy_Source > | create (const std::string &type) |
Win32 Entropy Source
Definition at line 18 of file es_win32.h.
|
staticinherited |
Return a new entropy source of a particular type, or null Each entropy source may require substantial resources (eg, a file handle or socket instance), so try to share them among multiple RNGs, or just use the preconfigured global list accessed by Entropy_Sources::global_sources()
Definition at line 45 of file entropy_srcs.cpp.
Referenced by Botan::Entropy_Sources::Entropy_Sources().
|
inlineoverridevirtual |
Implements Botan::Entropy_Source.
Definition at line 21 of file es_win32.h.
|
overridevirtual |
Win32 poll using stats functions including Tooltip32
Implements Botan::Entropy_Source.
Definition at line 18 of file es_win32.cpp.
References Botan::RandomNumberGenerator::add_entropy_T(), and TOOLHELP32_ITER.