aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r--src/lib/pubkey/ed25519/ed25519_key.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/ed25519/ed25519_key.cpp b/src/lib/pubkey/ed25519/ed25519_key.cpp
index 5a7ca5f13..beea8d9a2 100644
--- a/src/lib/pubkey/ed25519/ed25519_key.cpp
+++ b/src/lib/pubkey/ed25519/ed25519_key.cpp
@@ -117,7 +117,7 @@ class Ed25519_Pure_Verify_Operation : public PK_Ops::Verification
m_msg.insert(m_msg.end(), msg, msg + msg_len);
}
- bool is_valid_signature(const uint8_t sig[], size_t sig_len)
+ bool is_valid_signature(const uint8_t sig[], size_t sig_len) override
{
if(sig_len != 64)
return false;
@@ -147,7 +147,7 @@ class Ed25519_Hashed_Verify_Operation : public PK_Ops::Verification
m_hash->update(msg, msg_len);
}
- bool is_valid_signature(const uint8_t sig[], size_t sig_len)
+ bool is_valid_signature(const uint8_t sig[], size_t sig_len) override
{
if(sig_len != 64)
return false;