Botan 3.6.1
Crypto and TLS for C&
|
#include <rdseed.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 (std::string_view type) |
Entropy source using the rdseed instruction first introduced on Intel's Broadwell architecture.
|
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 110 of file entropy_srcs.cpp.
References Botan::Processor_RNG::available(), BOTAN_UNUSED, and Botan::Entropy_Source::name().
Referenced by Botan::Entropy_Sources::Entropy_Sources().
|
inlineoverridevirtual |
Implements Botan::Entropy_Source.
Definition at line 21 of file rdseed.h.
|
overridevirtual |
Perform an entropy gathering poll
rng | will be provided with entropy via calls to add_entropy |
Implements Botan::Entropy_Source.
Definition at line 58 of file rdseed.cpp.
References Botan::RandomNumberGenerator::add_entropy().