aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss/xmss_hash.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_hash.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_hash.cpp')
-rw-r--r--src/lib/pubkey/xmss/xmss_hash.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/pubkey/xmss/xmss_hash.cpp b/src/lib/pubkey/xmss/xmss_hash.cpp
index 15cdab509..2dfcabbbc 100644
--- a/src/lib/pubkey/xmss/xmss_hash.cpp
+++ b/src/lib/pubkey/xmss/xmss_hash.cpp
@@ -76,13 +76,4 @@ XMSS_Hash::h_msg(const secure_vector<byte>& randomness,
return m_msg_hash->final();
}
-XMSS_Hash& XMSS_Hash::operator=(XMSS_Hash hash)
- {
- std::swap(m_hash, hash.m_hash);
- std::swap(m_msg_hash, hash.m_msg_hash);
- std::swap(m_output_length, hash.m_output_length);
- std::swap(m_zero_padding, hash.m_zero_padding);
- return *this;
- }
-
}