From cb6fa09b205c53d32e17a5785a4a1af5a9eaf7dd Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 31 Oct 2016 20:32:32 -0400 Subject: Test PK key creation via create_private_key API --- src/tests/test_ecdh.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/tests/test_ecdh.cpp') diff --git a/src/tests/test_ecdh.cpp b/src/tests/test_ecdh.cpp index 1ab2c4801..5bdce4144 100644 --- a/src/tests/test_ecdh.cpp +++ b/src/tests/test_ecdh.cpp @@ -53,14 +53,7 @@ class ECDH_Keygen_Tests : public PK_Key_Generation_Test return { "secp256r1", "secp384r1", "secp521r1", "brainpool256r1", "brainpool384r1", "brainpool512r1", "frp256v1" }; } - - std::unique_ptr make_key(Botan::RandomNumberGenerator& rng, - const std::string& param) const override - { - Botan::EC_Group group(param); - std::unique_ptr key(new Botan::ECDH_PrivateKey(rng, group)); - return key; - } + std::string algo_name() const override { return "ECDH"; } }; -- cgit v1.2.3