diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/entropy/entropy_srcs.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/entropy/entropy_srcs.cpp b/src/lib/entropy/entropy_srcs.cpp index bc99c2400..252be4fa1 100644 --- a/src/lib/entropy/entropy_srcs.cpp +++ b/src/lib/entropy/entropy_srcs.cpp @@ -8,10 +8,6 @@ #include <botan/entropy_src.h> #include <botan/rng.h> -#if defined(BOTAN_HAS_ENTROPY_SRC_HIGH_RESOLUTION_TIMER) - #include <botan/internal/hres_timer.h> -#endif - #if defined(BOTAN_HAS_ENTROPY_SRC_RDRAND) #include <botan/internal/rdrand.h> #endif @@ -44,13 +40,6 @@ namespace Botan { std::unique_ptr<Entropy_Source> Entropy_Source::create(const std::string& name) { - if(name == "timestamp") - { -#if defined(BOTAN_HAS_ENTROPY_SRC_HIGH_RESOLUTION_TIMER) - return std::unique_ptr<Entropy_Source>(new High_Resolution_Timestamp); -#endif - } - if(name == "rdrand") { #if defined(BOTAN_HAS_ENTROPY_SRC_RDRAND) @@ -65,13 +54,6 @@ std::unique_ptr<Entropy_Source> Entropy_Source::create(const std::string& name) #endif } - if(name == "proc_info") - { -#if defined(BOTAN_HAS_ENTROPY_SRC_UNIX_PROCESS_RUNNER) - return std::unique_ptr<Entropy_Source>(new UnixProcessInfo_EntropySource); -#endif - } - if(name == "darwin_secrandom") { #if defined(BOTAN_HAS_ENTROPY_SRC_DARWIN_SECRANDOM) |