diff options
Diffstat (limited to 'src/hash/rmd128/rmd128.h')
-rw-r--r-- | src/hash/rmd128/rmd128.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hash/rmd128/rmd128.h b/src/hash/rmd128/rmd128.h index faead3245..d64cf3c84 100644 --- a/src/hash/rmd128/rmd128.h +++ b/src/hash/rmd128/rmd128.h @@ -18,11 +18,13 @@ namespace Botan { class BOTAN_DLL RIPEMD_128 : public MDx_HashFunction { public: - void clear(); std::string name() const { return "RIPEMD-128"; } + size_t output_length() const { return 16; } HashFunction* clone() const { return new RIPEMD_128; } - RIPEMD_128() : MDx_HashFunction(16, 64, false, true), M(16), digest(4) + void clear(); + + RIPEMD_128() : MDx_HashFunction(64, false, true), M(16), digest(4) { clear(); } private: void compress_n(const byte[], size_t blocks); |