aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/rmd128/rmd128.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/rmd128/rmd128.h')
-rw-r--r--src/lib/hash/rmd128/rmd128.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/hash/rmd128/rmd128.h b/src/lib/hash/rmd128/rmd128.h
index ea1eb2286..ba36ab902 100644
--- a/src/lib/hash/rmd128/rmd128.h
+++ b/src/lib/hash/rmd128/rmd128.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* RIPEMD-128
*/
-class BOTAN_DLL RIPEMD_128 : public MDx_HashFunction
+class BOTAN_DLL RIPEMD_128 final : public MDx_HashFunction
{
public:
std::string name() const override { return "RIPEMD-128"; }
@@ -24,13 +24,13 @@ class BOTAN_DLL RIPEMD_128 : public MDx_HashFunction
void clear() override;
- RIPEMD_128() : MDx_HashFunction(64, false, true), M(16), digest(4)
+ RIPEMD_128() : MDx_HashFunction(64, false, true), m_M(16), m_digest(4)
{ clear(); }
private:
void compress_n(const byte[], size_t blocks) override;
void copy_out(byte[]) override;
- secure_vector<u32bit> M, digest;
+ secure_vector<u32bit> m_M, m_digest;
};
}