diff options
author | lloyd <[email protected]> | 2008-10-26 20:55:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-26 20:55:57 +0000 |
commit | ac4bab4e40a45a7d1b6061142ab831813bf0d6ca (patch) | |
tree | cbaad5829ae4a65689a4b5cbfa4ed4dfcbcdbcc3 /src/rng/rng.h | |
parent | a78b39c6bd171c8851aa53debe8ebc1665104d9b (diff) |
Move EntropySource base class to new entropy_src.h (which allows the implementations
to decouple from knowing about RandomNumberGenerator).
Diffstat (limited to 'src/rng/rng.h')
-rw-r--r-- | src/rng/rng.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/rng/rng.h b/src/rng/rng.h index 20f2e47b1..fb92bb3c5 100644 --- a/src/rng/rng.h +++ b/src/rng/rng.h @@ -6,21 +6,12 @@ #ifndef BOTAN_RANDOM_NUMBER_GENERATOR_H__ #define BOTAN_RANDOM_NUMBER_GENERATOR_H__ +#include <botan/entropy_src.h> #include <botan/exceptn.h> +#include <string> namespace Botan { -/************************************************* -* Entropy Source * -*************************************************/ -class BOTAN_DLL EntropySource - { - public: - virtual u32bit slow_poll(byte[], u32bit) = 0; - virtual u32bit fast_poll(byte[], u32bit); - virtual ~EntropySource() {} - }; - /** * This class represents a random number (RNG) generator object. */ |