aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sm3/sm3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/sm3/sm3.h')
-rw-r--r--src/lib/hash/sm3/sm3.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/hash/sm3/sm3.h b/src/lib/hash/sm3/sm3.h
index 896482332..c5dacdf3a 100644
--- a/src/lib/hash/sm3/sm3.h
+++ b/src/lib/hash/sm3/sm3.h
@@ -29,7 +29,7 @@ class BOTAN_DLL SM3 final : public MDx_HashFunction
void clear() override;
- SM3() : MDx_HashFunction(SM3_BLOCK_BYTES, true, true), m_M(16), m_digest(SM3_DIGEST_BYTES)
+ SM3() : MDx_HashFunction(SM3_BLOCK_BYTES, true, true), m_digest(SM3_DIGEST_BYTES)
{ clear(); }
protected:
void compress_n(const uint8_t[], size_t blocks) override;
@@ -37,11 +37,6 @@ class BOTAN_DLL SM3 final : public MDx_HashFunction
private:
/**
- * The message buffer
- */
- secure_vector<uint32_t> m_M;
-
- /**
* The digest value
*/
secure_vector<uint32_t> m_digest;