diff options
author | Jack Lloyd <[email protected]> | 2016-11-25 16:42:53 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-25 16:42:53 -0500 |
commit | cdee866369b274151b745cb9b31b65c8207f638d (patch) | |
tree | bb2e7ad837c98e0ad95e8a30f69633879f7685d9 /src/cli/speed.cpp | |
parent | 36f260c4b97ba4b2253a3215e6c9afe35022ac04 (diff) |
Make XMSS more friendly about invalid params.
Previously just throw an exception from map.at
Add an XMSS keygen test, and add default params for create_private_key
Diffstat (limited to 'src/cli/speed.cpp')
-rw-r--r-- | src/cli/speed.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp index 6fac9411c..cd01f9180 100644 --- a/src/cli/speed.cpp +++ b/src/cli/speed.cpp @@ -1188,8 +1188,9 @@ class Speed final : public Command std::chrono::milliseconds msec) { std::vector<std::string> xmss_params{ - "XMSS_SHA2-256_W16_H10", "XMSS_SHA2-512_W16_H10", + "XMSS_SHA2-512_W16_H16", + "XMSS_SHA2-512_W16_H20", }; for(std::string params : xmss_params) |