diff options
author | lloyd <[email protected]> | 2010-03-09 04:14:30 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-09 04:14:30 +0000 |
commit | ac0ec9b832a337c91cb451e0b8d12b77fa27a20c (patch) | |
tree | 0c5e95abcf4be37bc84174120303c2a5166d50c0 /checks/pk_bench.cpp | |
parent | cdcd3a9aba28cefcccb64f91fb56d3847f6c9130 (diff) |
Various updates: unique_ptr, using chrono, merge fixups, etc
Diffstat (limited to 'checks/pk_bench.cpp')
-rw-r--r-- | checks/pk_bench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp index a180778a6..c6f411379 100644 --- a/checks/pk_bench.cpp +++ b/checks/pk_bench.cpp @@ -374,7 +374,7 @@ void benchmark_gost_3410(RandomNumberGenerator& rng, if(hashbits == 521) hashbits = 512; - const std::string padding = "EMSA1(SHA-" + to_string(hashbits) + ")"; + const std::string padding = "EMSA1(SHA-" + std::to_string(hashbits) + ")"; Timer keygen_timer("keygen"); Timer verify_timer(padding + " verify"); @@ -394,7 +394,7 @@ void benchmark_gost_3410(RandomNumberGenerator& rng, sig_timer, rng, 1000, seconds); } - const std::string nm = "GOST-34.10-" + to_string(pbits); + const std::string nm = "GOST-34.10-" + std::to_string(pbits); report.report(nm, keygen_timer); report.report(nm, verify_timer); |