aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss/xmss_wots_privatekey.h
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_privatekey.h
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_privatekey.h')
-rw-r--r--src/lib/pubkey/xmss/xmss_wots_privatekey.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/xmss/xmss_wots_privatekey.h b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
index 422d014f4..2c38faad6 100644
--- a/src/lib/pubkey/xmss/xmss_wots_privatekey.h
+++ b/src/lib/pubkey/xmss/xmss_wots_privatekey.h
@@ -118,7 +118,7 @@ class BOTAN_DLL XMSS_WOTS_PrivateKey : public virtual XMSS_WOTS_PublicKey,
wots_keysig_t operator[](size_t i)
{
secure_vector<byte> idx_bytes;
- XMSS_Tools::get().concat(idx_bytes, i, m_wots_params.element_size());
+ XMSS_Tools::concat(idx_bytes, i, m_wots_params.element_size());
m_hash.h(idx_bytes, m_private_seed, idx_bytes);
return generate(idx_bytes);
}