aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r--src/lib/pubkey/xmss/xmss_privatekey.h2
-rw-r--r--src/lib/pubkey/xmss/xmss_signature_operation.h1
-rw-r--r--src/lib/pubkey/xmss/xmss_verification_operation.h2
-rw-r--r--src/lib/pubkey/xmss/xmss_wots_privatekey.h4
-rw-r--r--src/lib/pubkey/xmss/xmss_wots_verification_operation.h3
5 files changed, 4 insertions, 8 deletions
diff --git a/src/lib/pubkey/xmss/xmss_privatekey.h b/src/lib/pubkey/xmss/xmss_privatekey.h
index ccba4f26c..b5ddc1a91 100644
--- a/src/lib/pubkey/xmss/xmss_privatekey.h
+++ b/src/lib/pubkey/xmss/xmss_privatekey.h
@@ -221,7 +221,7 @@ class BOTAN_PUBLIC_API(2,0) XMSS_PrivateKey final : public virtual XMSS_PublicKe
* 4-byte OID, n-byte root node, n-byte public seed,
* 8-byte unused leaf index, n-byte prf seed, n-byte private seed.
**/
- virtual secure_vector<uint8_t> raw_private_key() const;
+ secure_vector<uint8_t> raw_private_key() const;
/**
* Algorithm 9: "treeHash"
* Computes the internal n-byte nodes of a Merkle tree.
diff --git a/src/lib/pubkey/xmss/xmss_signature_operation.h b/src/lib/pubkey/xmss/xmss_signature_operation.h
index f974213e0..6bda81036 100644
--- a/src/lib/pubkey/xmss/xmss_signature_operation.h
+++ b/src/lib/pubkey/xmss/xmss_signature_operation.h
@@ -37,7 +37,6 @@ class XMSS_Signature_Operation final : public virtual PK_Ops::Signature,
{
public:
XMSS_Signature_Operation(const XMSS_PrivateKey& private_key);
- virtual ~XMSS_Signature_Operation() = default;
/**
* Creates an XMSS signature for the message provided through call to
diff --git a/src/lib/pubkey/xmss/xmss_verification_operation.h b/src/lib/pubkey/xmss/xmss_verification_operation.h
index de3d22ae6..1b42bb158 100644
--- a/src/lib/pubkey/xmss/xmss_verification_operation.h
+++ b/src/lib/pubkey/xmss/xmss_verification_operation.h
@@ -32,8 +32,6 @@ namespace Botan {
XMSS_Verification_Operation(
const XMSS_PublicKey& public_key);
- virtual ~XMSS_Verification_Operation() = default;
-
bool is_valid_signature(const uint8_t sig[], size_t sig_len) override;
void update(const uint8_t msg[], size_t msg_len) override;
diff --git a/src/lib/pubkey/xmss/xmss_wots_privatekey.h b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
index 5e15f9b24..686162911 100644
--- a/src/lib/pubkey/xmss/xmss_wots_privatekey.h
+++ b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
@@ -214,13 +214,13 @@ class BOTAN_PUBLIC_API(2,0) XMSS_WOTS_PrivateKey final : public virtual XMSS_WOT
m_private_seed = std::move(private_seed);
}
- virtual AlgorithmIdentifier
+ AlgorithmIdentifier
pkcs8_algorithm_identifier() const override
{
throw Not_Implemented("No AlgorithmIdentifier available for XMSS-WOTS.");
}
- virtual std::unique_ptr<PK_Ops::Signature>
+ std::unique_ptr<PK_Ops::Signature>
create_signature_op(RandomNumberGenerator&,
const std::string&,
const std::string& provider) const override;
diff --git a/src/lib/pubkey/xmss/xmss_wots_verification_operation.h b/src/lib/pubkey/xmss/xmss_wots_verification_operation.h
index 863e05de7..a7758bee9 100644
--- a/src/lib/pubkey/xmss/xmss_wots_verification_operation.h
+++ b/src/lib/pubkey/xmss/xmss_wots_verification_operation.h
@@ -34,8 +34,7 @@ class XMSS_WOTS_Verification_Operation
virtual ~XMSS_WOTS_Verification_Operation() = default;
- virtual bool is_valid_signature(const uint8_t sig[],
- size_t sig_len) override;
+ bool is_valid_signature(const uint8_t sig[], size_t sig_len) override;
void update(const uint8_t msg[], size_t msg_len) override;