diff options
author | Matthias Gierlings <[email protected]> | 2018-04-12 15:56:57 +0200 |
---|---|---|
committer | Matthias Gierlings <[email protected]> | 2018-04-12 22:44:41 +0200 |
commit | 134e2d21b6118542a0000ba6b556db9357000339 (patch) | |
tree | eb5a09f43e2333a82674f08a4b32da08d0db4bdf /src | |
parent | eae170db2a6f0461cfe2f55b84ae4e89bd719a74 (diff) |
Removes unused overload in XMSS_Hash
- Removes overload `XMSS_Hash::h_msg_update(secure_vector<uint8_t>&)`
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/pubkey/xmss/xmss_hash.cpp | 5 | ||||
-rw-r--r-- | src/lib/pubkey/xmss/xmss_hash.h | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/pubkey/xmss/xmss_hash.cpp b/src/lib/pubkey/xmss/xmss_hash.cpp index a691453dc..cd714873c 100644 --- a/src/lib/pubkey/xmss/xmss_hash.cpp +++ b/src/lib/pubkey/xmss/xmss_hash.cpp @@ -56,11 +56,6 @@ void XMSS_Hash::h_msg_init(const secure_vector<uint8_t>& randomness, m_msg_hash->update(index_bytes); } -void XMSS_Hash::h_msg_update(const secure_vector<uint8_t>& data) - { - m_msg_hash->update(data); - } - void XMSS_Hash::h_msg_update(const uint8_t data[], size_t size) { m_msg_hash->update(data, size); diff --git a/src/lib/pubkey/xmss/xmss_hash.h b/src/lib/pubkey/xmss/xmss_hash.h index 85cebdc91..f45432d59 100644 --- a/src/lib/pubkey/xmss/xmss_hash.h +++ b/src/lib/pubkey/xmss/xmss_hash.h @@ -120,13 +120,6 @@ class XMSS_Hash final * Adds a message block to buffered h_msg computation. * * @param data A message block - **/ - void h_msg_update(const secure_vector<uint8_t>& data); - - /** - * Adds a message block to buffered h_msg computation. - * - * @param data A message block * @param size Length of the message block in bytes. **/ void h_msg_update(const uint8_t data[], size_t size); |