aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ed25519/ed25519.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-20 11:01:03 -0500
committerJack Lloyd <[email protected]>2020-11-28 08:03:14 -0500
commit0c76f906a3083b9f4662e89508325e1dd474c7c3 (patch)
treef4c846c132feaaa22c9f5ff5563429671bea0668 /src/lib/pubkey/ed25519/ed25519.h
parentb00cd7cea9233b782697f645a5aa54fd59ecacd9 (diff)
Add Private_Key::public_key
Diffstat (limited to 'src/lib/pubkey/ed25519/ed25519.h')
-rw-r--r--src/lib/pubkey/ed25519/ed25519.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/pubkey/ed25519/ed25519.h b/src/lib/pubkey/ed25519/ed25519.h
index 97ed023f2..65bee1353 100644
--- a/src/lib/pubkey/ed25519/ed25519.h
+++ b/src/lib/pubkey/ed25519/ed25519.h
@@ -83,6 +83,8 @@ class BOTAN_PUBLIC_API(2,2) Ed25519_PrivateKey final : public Ed25519_PublicKey,
secure_vector<uint8_t> private_key_bits() const override;
+ std::unique_ptr<Public_Key> public_key() const override;
+
bool check_key(RandomNumberGenerator& rng, bool strong) const override;
std::unique_ptr<PK_Ops::Signature>