aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/speed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/speed.cpp')
-rw-r--r--src/cli/speed.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index e6d4a6b7f..0cb5e9947 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -37,10 +37,6 @@
#include <botan/hmac_rng.h>
#endif
-#if defined(BOTAN_HAS_X931_RNG)
- #include <botan/x931_rng.h>
-#endif
-
#if defined(BOTAN_HAS_FPE_FE1)
#include <botan/fpe_fe1.h>
#endif
@@ -447,11 +443,6 @@ class Speed final : public Command
bench_rng(Botan::system_rng(), "System_RNG", msec, buf_size);
#endif
-#if defined(BOTAN_HAS_X931_RNG)
- Botan::ANSI_X931_RNG x931_rng(Botan::BlockCipher::create("AES-256").release(), new Botan::AutoSeeded_RNG);
- bench_rng(x931_rng, x931_rng.name(), msec, buf_size);
-#endif
-
#if defined(BOTAN_HAS_HMAC_DRBG)
for(std::string hash : { "SHA-256", "SHA-384", "SHA-512" })
{
@@ -459,14 +450,6 @@ class Speed final : public Command
bench_rng(hmac_drbg, hmac_drbg.name(), msec, buf_size);
}
#endif
-
-#if defined(BOTAN_HAS_HMAC_RNG)
- for(std::string hash : { "SHA-256", "SHA-384", "SHA-512" })
- {
- Botan::HMAC_RNG hmac_rng(Botan::MessageAuthenticationCode::create("HMAC(" + hash + ")"));
- bench_rng(hmac_rng, hmac_rng.name(), msec, buf_size);
- }
-#endif
}
else if(algo == "entropy")
{