aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/has160/has160.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/has160/has160.h')
-rw-r--r--src/lib/hash/has160/has160.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/hash/has160/has160.h b/src/lib/hash/has160/has160.h
index e7ad42e62..75d0bda90 100644
--- a/src/lib/hash/has160/has160.h
+++ b/src/lib/hash/has160/has160.h
@@ -19,17 +19,17 @@ namespace Botan {
class BOTAN_DLL HAS_160 : public MDx_HashFunction
{
public:
- std::string name() const { return "HAS-160"; }
- size_t output_length() const { return 20; }
- HashFunction* clone() const { return new HAS_160; }
+ std::string name() const override { return "HAS-160"; }
+ size_t output_length() const override { return 20; }
+ HashFunction* clone() const override { return new HAS_160; }
- void clear();
+ void clear() override;
HAS_160() : MDx_HashFunction(64, false, true), X(20), digest(5)
{ clear(); }
private:
- void compress_n(const byte[], size_t blocks);
- void copy_out(byte[]);
+ void compress_n(const byte[], size_t blocks) override;
+ void copy_out(byte[]) override;
secure_vector<u32bit> X, digest;
};