Crypto++
8.6
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
19 #ifndef CRYPTOPP_DARN_H
20 #define CRYPTOPP_DARN_H
32 DARN_Err(
const std::string &operation)
33 :
Exception(OTHER_ERROR,
"DARN: " + operation +
" operation failed") {}
55 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "DARN"; }
82 CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
95 #endif // CRYPTOPP_DARN_H
DARN()
Construct a DARN generator.
virtual void GenerateBlock(byte *output, size_t size)
Generate random array of bytes.
virtual void IncorporateEntropy(const byte *input, size_t length)
Update RNG state with additional unpredictable values.
Interface for random number generators.
Base class for all exceptions thrown by the library.
std::string AlgorithmProvider() const
Retrieve the provider of this algorithm.
Crypto++ library namespace.
virtual void DiscardBytes(size_t n)
Generate and discard n bytes.
Secure memory block with allocator and cleanup.
Abstract base classes that provide a uniform interface to this library.
Hardware generated random numbers using DARN instruction.
Exception thrown when a DARN generator encounters a generator related error.