diff options
author | Jack Lloyd <[email protected]> | 2016-10-31 20:32:32 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-31 20:32:32 -0400 |
commit | cb6fa09b205c53d32e17a5785a4a1af5a9eaf7dd (patch) | |
tree | ac1b1dcc456ceb677f16f5f5a53475cc6def79e8 /src/tests/test_gost_3410.cpp | |
parent | 73c2605f50e6192bf6cb560c51d32bc53b4c5597 (diff) |
Test PK key creation via create_private_key API
Diffstat (limited to 'src/tests/test_gost_3410.cpp')
-rw-r--r-- | src/tests/test_gost_3410.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/tests/test_gost_3410.cpp b/src/tests/test_gost_3410.cpp index 4daa7189e..dffe53d46 100644 --- a/src/tests/test_gost_3410.cpp +++ b/src/tests/test_gost_3410.cpp @@ -47,14 +47,7 @@ class GOST_3410_2001_Keygen_Tests : public PK_Key_Generation_Test { public: std::vector<std::string> keygen_params() const override { return { "gost_256A", "secp256r1" }; } - - std::unique_ptr<Botan::Private_Key> make_key(Botan::RandomNumberGenerator& rng, - const std::string& param) const override - { - Botan::EC_Group group(param); - std::unique_ptr<Botan::Private_Key> key(new Botan::GOST_3410_PrivateKey(rng, group)); - return key; - } + std::string algo_name() const override { return "GOST-34.10"; } }; BOTAN_REGISTER_TEST("gost_3410_verify", GOST_3410_2001_Verification_Tests); |