aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss/xmss_wots_privatekey.h
diff options
context:
space:
mode:
authorMatthias Gierlings <[email protected]>2016-11-06 22:20:20 +0100
committerMatthias Gierlings <[email protected]>2016-11-12 21:00:31 +0100
commit8ae1f77cf639e2589efb8ac12dc689029737b3be (patch)
treeb25060008081b8d7e4d5c7d7c234b2ac454e140f /src/lib/pubkey/xmss/xmss_wots_privatekey.h
parentd16fd1d9b35698852e7b7aed023dc5057d630098 (diff)
Adds optional XMSS WOTS stand-alone components
The main XMSS implementation does not expose stand-alone access to XMSS Winternitz One Time Signatures through the Botan::PK_Ops interfaces. XMSS WOTS is used by XMSS internally though. This PR implements a possible XMSS WOTS interface for stand-alone use. XMSS WOTS is tested through the XMSS tests, therefore there are no dedicated XMSS WOTS test vectors and test bench components implemented in this PR.
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_wots_privatekey.h')
-rw-r--r--src/lib/pubkey/xmss/xmss_wots_privatekey.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_privatekey.h b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
index 1a6e50fe8..312db8b7b 100644
--- a/src/lib/pubkey/xmss/xmss_wots_privatekey.h
+++ b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
@@ -234,10 +234,7 @@ class BOTAN_DLL XMSS_WOTS_PrivateKey : public virtual XMSS_WOTS_PublicKey,
virtual std::unique_ptr<PK_Ops::Signature>
create_signature_op(RandomNumberGenerator&,
const std::string&,
- const std::string&) const override
- {
- BOTAN_ASSERT(false, "XMSS_WOTS_Signature_Operation not available.");
- }
+ const std::string& provider) const override;
virtual secure_vector<byte> pkcs8_private_key() const override
{