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