diff options
author | Jack Lloyd <[email protected]> | 2018-03-04 09:33:55 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-04 09:33:55 -0500 |
commit | aa50953ea45c3b4373f93b629368ac9d9a08f31a (patch) | |
tree | 9326e5ab1e614a596de22dae0ea383a37af54b0e /src/cli | |
parent | d983f6c8fa17b155873c446eb09f522247d7030f (diff) |
In ECC bench test brainpool too
Allows comparing Solinas reduction vs Montgomery
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/speed.cpp | 4 |
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"); |