aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-05-28 14:25:59 -0400
committerJack Lloyd <[email protected]>2018-05-28 14:25:59 -0400
commitab127f2636cd3c21a6fd942b04d268d8d3c72625 (patch)
tree56507dfa8e9bb26db5aa3c20d564c0da0a1e6822
parent69fb023ffbaead5b136cc7a21af484a3c3b9691e (diff)
Correct comment on XMSS speeds
Not sure where I got the hour+ figure from. This may have been true with the initial release.
-rw-r--r--src/cli/speed.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 56de27ca8..40d9397dd 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -2121,13 +2121,17 @@ class Speed final : public Command
void bench_xmss(const std::string& provider,
std::chrono::milliseconds msec)
{
- // H16 and H20 signatures take an hour or more to generate
+ /*
+ We only test H10 signatures here since already they are quite slow (a
+ few seconds per signature). On a fast machine, H16 signatures take 1-2
+ minutes to generate and H20 signatures take 5-10 minutes to generate
+ */
std::vector<std::string> xmss_params
{
- "XMSS_SHA2-256_W16_H10",
- "XMSS_SHA2-512_W16_H10",
- "XMSS_SHAKE128_W16_H10",
- "XMSS_SHAKE256_W16_H10",
+ "XMSS_SHA2-256_W16_H20",
+ "XMSS_SHA2-512_W16_H20",
+ "XMSS_SHAKE128_W16_H20",
+ "XMSS_SHAKE256_W16_H20",
};
for(std::string params : xmss_params)