diff options
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/speed.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp index 3a752a3d3..e331354c9 100644 --- a/src/cli/speed.cpp +++ b/src/cli/speed.cpp @@ -815,6 +815,12 @@ class Speed final : public Command bench_eckcdsa(ecc_groups, provider, msec); } #endif +#if defined(BOTAN_HAS_GOST_34_10_2001) + else if(algo == "GOST-34.10") + { + bench_gost_3410(provider, msec); + } +#endif #if defined(BOTAN_HAS_ECGDSA) else if(algo == "ECGDSA") { @@ -1809,6 +1815,14 @@ class Speed final : public Command } #endif +#if defined(BOTAN_HAS_GOST_34_10_2001) + void bench_gost_3410(const std::string& provider, + std::chrono::milliseconds msec) + { + return bench_pk_sig_ecc("GOST-34.10", "EMSA1(GOST-34.11)", provider, {"gost_256A"}, msec); + } +#endif + #if defined(BOTAN_HAS_SM2) void bench_sm2(const std::vector<std::string>& groups, const std::string& provider, |