aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sm3
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-02 23:33:53 -0400
committerJack Lloyd <[email protected]>2017-10-02 23:34:21 -0400
commitf9090ec68986d297fd4cfd97bf75521df8f38aff (patch)
treeb7a7f687e8a4b5842f68c644ab0b3e8766f19a45 /src/lib/hash/sm3
parent9701249c99e4775d7015ce5d6a884626cc8f2673 (diff)
Remove protected functions from final classes
Mostly residue from the old system of splitting impls among subclasses Found with Sonar
Diffstat (limited to 'src/lib/hash/sm3')
-rw-r--r--src/lib/hash/sm3/sm3.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/sm3/sm3.h b/src/lib/hash/sm3/sm3.h
index 5aa0f289c..56471e7d1 100644
--- a/src/lib/hash/sm3/sm3.h
+++ b/src/lib/hash/sm3/sm3.h
@@ -32,11 +32,10 @@ class BOTAN_PUBLIC_API(2,2) SM3 final : public MDx_HashFunction
SM3() : MDx_HashFunction(SM3_BLOCK_BYTES, true, true), m_digest(SM3_DIGEST_BYTES)
{ clear(); }
- protected:
+ private:
void compress_n(const uint8_t[], size_t blocks) override;
void copy_out(uint8_t[]) override;
- private:
/**
* The digest value
*/