diff options
Diffstat (limited to 'src/lib/pubkey/ecgdsa/ecgdsa.cpp')
-rw-r--r-- | src/lib/pubkey/ecgdsa/ecgdsa.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/pubkey/ecgdsa/ecgdsa.cpp b/src/lib/pubkey/ecgdsa/ecgdsa.cpp index 26045be6b..f4331677b 100644 --- a/src/lib/pubkey/ecgdsa/ecgdsa.cpp +++ b/src/lib/pubkey/ecgdsa/ecgdsa.cpp @@ -14,6 +14,11 @@ namespace Botan { +std::unique_ptr<Public_Key> ECGDSA_PrivateKey::public_key() const + { + return std::unique_ptr<Public_Key>(new ECGDSA_PublicKey(domain(), public_point())); + } + bool ECGDSA_PrivateKey::check_key(RandomNumberGenerator& rng, bool strong) const { |