aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-04 09:33:55 -0500
committerJack Lloyd <[email protected]>2018-03-04 09:33:55 -0500
commitaa50953ea45c3b4373f93b629368ac9d9a08f31a (patch)
tree9326e5ab1e614a596de22dae0ea383a37af54b0e /src/cli
parentd983f6c8fa17b155873c446eb09f522247d7030f (diff)
In ECC bench test brainpool too
Allows comparing Solinas reduction vs Montgomery
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/speed.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index ac8a8ac8c..ba5e9b6ea 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -689,7 +689,9 @@ class Speed final : public Command
throw CLI_Usage_Error("Unknown --format type '" + format + "'");
if(ecc_groups.empty())
- ecc_groups = { "secp256r1", "secp384r1", "secp521r1" };
+ ecc_groups = { "secp256r1", "brainpool256r1",
+ "secp384r1", "brainpool384r1",
+ "secp521r1", "brainpool512r1" };
std::vector<std::string> algos = get_arg_list("algos");