aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss/xmss_wots_parameters.cpp
diff options
context:
space:
mode:
authorMatthias Gierlings <[email protected]>2016-11-11 13:02:58 +0100
committerMatthias Gierlings <[email protected]>2016-11-11 15:56:33 +0100
commiteb949db1a01e9f6fd71e25c89c7f015021af12e0 (patch)
treea83347201260d59347f8740ca9ef02f449ee2797 /src/lib/pubkey/xmss/xmss_wots_parameters.cpp
parent8b06b4fe5fbe189c7d5250becb189bf2b87b9013 (diff)
Implements changes from XMSS review
- Removes custom XMSS_Hash assignment operator. - Changes mutex type used in XMSS_Index_Registryfrom std::mutex to Botan::mutex_type, changes lock_guard accordingly. - Removes singleton and endianess detection from XMSS_Tools, changes XMSS_Tools::concat() to be a static method. - XMSS/XMSS_WOTS check_key() now always returns true.
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_wots_parameters.cpp')
-rw-r--r--src/lib/pubkey/xmss/xmss_wots_parameters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_parameters.cpp b/src/lib/pubkey/xmss/xmss_wots_parameters.cpp
index b908afeb4..903885d72 100644
--- a/src/lib/pubkey/xmss/xmss_wots_parameters.cpp
+++ b/src/lib/pubkey/xmss/xmss_wots_parameters.cpp
@@ -109,7 +109,7 @@ XMSS_WOTS_Parameters::base_w(size_t value) const
size_t len_2_bytes = static_cast<size_t>(
ceil(static_cast<float>(m_len_2 * m_lg_w) / 8.f));
secure_vector<byte> result;
- XMSS_Tools::get().concat(result, value, len_2_bytes);
+ XMSS_Tools::concat(result, value, len_2_bytes);
return base_w(result, m_len_2);
}