Crypto++
8.2
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
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.
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.