diff options
Diffstat (limited to 'src/lib/entropy/p9_darn/p9_darn.h')
-rw-r--r-- | src/lib/entropy/p9_darn/p9_darn.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/entropy/p9_darn/p9_darn.h b/src/lib/entropy/p9_darn/p9_darn.h new file mode 100644 index 000000000..9d8c508a1 --- /dev/null +++ b/src/lib/entropy/p9_darn/p9_darn.h @@ -0,0 +1,23 @@ +/* +* (C) 2019 Jack Lloyd +* +* Botan is released under the Simplified BSD License (see license.txt) +*/ + +#ifndef BOTAN_ENTROPY_SRC_DARN_H_ +#define BOTAN_ENTROPY_SRC_DARN_H_ + +#include <botan/entropy_src.h> + +namespace Botan { + +class POWER9_DARN final : public Entropy_Source + { + public: + std::string name() const override { return "p9_darn"; } + size_t poll(RandomNumberGenerator& rng) override; + }; + +} + +#endif |