diff options
author | Jack Lloyd <[email protected]> | 2016-11-12 02:46:21 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-12 02:46:21 -0500 |
commit | aa7503986177f51939c67425f0d03fb83a07c812 (patch) | |
tree | 335823c66b078190eea30d727ebca90c126e69c4 /src/lib/pubkey/xmss/xmss_wots_publickey.h | |
parent | 77a1c2648838ac5dd401153aca349c5eae390d7e (diff) |
Fixes for XMSS wrt 9c72dabc9
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_wots_publickey.h')
-rw-r--r-- | src/lib/pubkey/xmss/xmss_wots_publickey.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_publickey.h b/src/lib/pubkey/xmss/xmss_wots_publickey.h index e024c486f..a3e5232e8 100644 --- a/src/lib/pubkey/xmss/xmss_wots_publickey.h +++ b/src/lib/pubkey/xmss/xmss_wots_publickey.h @@ -243,7 +243,7 @@ class BOTAN_DLL XMSS_WOTS_PublicKey : virtual public Public_Key virtual std::unique_ptr<PK_Ops::Verification> create_verification_op(const std::string&, - const std::string& provider) const override + const std::string&) const override { BOTAN_ASSERT(false, "XMSS_WOTS_Verification_Operation not available."); } @@ -253,9 +253,9 @@ class BOTAN_DLL XMSS_WOTS_PublicKey : virtual public Public_Key return m_wots_params.estimated_strength(); } - virtual size_t max_input_bits() const override + virtual size_t key_length() const override { - return message_part_size() * 8; + return m_wots_params.estimated_strength(); } virtual size_t message_part_size() const override |