aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/speed.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-28 16:44:05 -0400
committerJack Lloyd <[email protected]>2016-10-28 16:49:11 -0400
commitf98c184fe66e6c0f624b381a186c6dddfc62539a (patch)
tree325aca069972bf38d92032d74b4a3d53d5b081d9 /src/cli/speed.cpp
parent8141ea4c2a51e908fae3ebb463154acffeac9186 (diff)
Remove HMAC_RNG, X9.31-RNG, BeOS stats, EGD reader, Unix process runner
Change AutoSeeded_RNG to use SHA-384, SHA-256, SHA-3(256), or SHA-1, whichever is available (in that order).
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")
{