diff options
Diffstat (limited to 'src/tests/test_rsa.cpp')
-rw-r--r-- | src/tests/test_rsa.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/tests/test_rsa.cpp b/src/tests/test_rsa.cpp index 6c89a5b29..0d50193f2 100644 --- a/src/tests/test_rsa.cpp +++ b/src/tests/test_rsa.cpp @@ -106,14 +106,7 @@ class RSA_Keygen_Tests : public PK_Key_Generation_Test { public: std::vector<std::string> keygen_params() const override { return { "1024", "1280" }; } - - std::unique_ptr<Botan::Private_Key> make_key(Botan::RandomNumberGenerator& rng, - const std::string& param) const override - { - size_t bits = Botan::to_u32bit(param); - std::unique_ptr<Botan::Private_Key> key(new Botan::RSA_PrivateKey(rng, bits)); - return key; - } + std::string algo_name() const override { return "RSA"; } }; BOTAN_REGISTER_TEST("rsa_encrypt", RSA_ES_KAT_Tests); |