7#ifndef CRYPTOPP_RDRAND_H
8#define CRYPTOPP_RDRAND_H
41 RDRAND_Err(
const std::string &operation)
51 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "RDRAND"; }
81 CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
95 RDSEED_Err(
const std::string &operation)
105 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "RDSEED"; }
135 CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
Exception(ErrorType errorType, const std::string &s)
Construct a new Exception.
@ OTHER_ERROR
Some other error occurred not belonging to other categories.
RDRAND()
Construct a RDRAND generator.
virtual void GenerateBlock(byte *output, size_t size)
Generate random array of bytes.
virtual void DiscardBytes(size_t n)
Generate and discard n bytes.
std::string AlgorithmProvider() const
Retrieve the provider of this algorithm.
virtual void IncorporateEntropy(const byte *input, size_t length)
Update RNG state with additional unpredictable values.
RDSEED()
Construct a RDSEED generator.
virtual void IncorporateEntropy(const byte *input, size_t length)
Update RNG state with additional unpredictable values.
virtual void GenerateBlock(byte *output, size_t size)
Generate random array of bytes.
virtual void DiscardBytes(size_t n)
Generate and discard n bytes.
std::string AlgorithmProvider() const
Retrieve the provider of this algorithm.
Interface for random number generators.
Abstract base classes that provide a uniform interface to this library.
Crypto++ library namespace.