aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h
diff options
context:
space:
mode:
authorMatthias Gierlings <[email protected]>2016-11-12 20:38:35 +0100
committerMatthias Gierlings <[email protected]>2016-11-12 21:51:10 +0100
commitcd888d1f437945808284694664d95f273309a536 (patch)
tree647d5b6a93c23f465b75c59218648ffe6261df57 /src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h
parent8ae1f77cf639e2589efb8ac12dc689029737b3be (diff)
Adds changes from XMSS Review & resolves conflicts
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h')
-rw-r--r--src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h b/src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h
index 52165684f..a07b0b803 100644
--- a/src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h
+++ b/src/lib/pubkey/xmss/xmss_wots_addressed_publickey.h
@@ -77,19 +77,9 @@ class XMSS_WOTS_Addressed_PublicKey : public virtual Public_Key
return m_pub_key.estimated_strength();
}
- virtual size_t max_input_bits() const override
+ virtual size_t key_length() const override
{
- return m_pub_key.max_input_bits();
- }
-
- virtual size_t message_part_size() const override
- {
- return m_pub_key.message_part_size();
- }
-
- virtual size_t message_parts() const override
- {
- return m_pub_key.message_parts();
+ return m_pub_key.estimated_strength();
}
virtual std::vector<byte> x509_subject_public_key() const override