From cae7a66072905bc264ecf0805a8738a674ff2986 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 3 Jul 2016 14:36:55 -0400 Subject: Revamp entropy polling Remove Entropy_Accumulator, instead have entropy sources directly add entropy to the RNG. --- src/lib/entropy/hres_timer/hres_timer.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/lib/entropy/hres_timer/hres_timer.h (limited to 'src/lib/entropy/hres_timer/hres_timer.h') diff --git a/src/lib/entropy/hres_timer/hres_timer.h b/src/lib/entropy/hres_timer/hres_timer.h deleted file mode 100644 index d297a87b1..000000000 --- a/src/lib/entropy/hres_timer/hres_timer.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -* High Resolution Timestamp Entropy Source -* (C) 1999-2009 Jack Lloyd -* -* Botan is released under the Simplified BSD License (see license.txt) -*/ - -#ifndef BOTAN_ENTROPY_SRC_HRES_TIMER_H__ -#define BOTAN_ENTROPY_SRC_HRES_TIMER_H__ - -#include - -namespace Botan { - -/** -* Entropy source using high resolution timers -* -* @note Any results from timers are marked as not contributing entropy -* to the poll, as a local attacker could observe them directly. -*/ -class High_Resolution_Timestamp final : public Entropy_Source - { - public: - std::string name() const override { return "timestamp"; } - void poll(Entropy_Accumulator& accum) override; - }; - -} - -#endif -- cgit v1.2.3