From 633175a57a03ed9bf5a5e3577bfc26068c62b688 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 29 Oct 2010 13:51:27 +0000 Subject: Remove BufferedComputation::OUTPUT_LENGTH --- src/hash/md5/md5.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/hash/md5') diff --git a/src/hash/md5/md5.h b/src/hash/md5/md5.h index f79a3ec65..b54beeec4 100644 --- a/src/hash/md5/md5.h +++ b/src/hash/md5/md5.h @@ -18,11 +18,13 @@ namespace Botan { class BOTAN_DLL MD5 : public MDx_HashFunction { public: - void clear(); std::string name() const { return "MD5"; } + size_t output_length() const { return 16; } HashFunction* clone() const { return new MD5; } - MD5() : MDx_HashFunction(16, 64, false, true), M(16), digest(4) + void clear(); + + MD5() : MDx_HashFunction(64, false, true), M(16), digest(4) { clear(); } protected: void compress_n(const byte[], size_t blocks); -- cgit v1.2.3