From 53d01738e99edfa58a061057186c2a72117ce5d7 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 13 Oct 2010 03:09:18 +0000 Subject: Remove HashFunction::HASH_BLOCK_SIZE entirely --- src/hash/skein/skein_512.cpp | 2 +- src/hash/skein/skein_512.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/hash/skein') diff --git a/src/hash/skein/skein_512.cpp b/src/hash/skein/skein_512.cpp index 665dd7248..cda8e3f56 100644 --- a/src/hash/skein/skein_512.cpp +++ b/src/hash/skein/skein_512.cpp @@ -168,7 +168,7 @@ void initial_block(MemoryRegion& H, Skein_512::Skein_512(u32bit arg_output_bits, const std::string& arg_personalization) : - HashFunction(arg_output_bits / 8, 64), + HashFunction(arg_output_bits / 8), personalization(arg_personalization), output_bits(arg_output_bits), H(9), T(3), buffer(64), buf_pos(0) diff --git a/src/hash/skein/skein_512.h b/src/hash/skein/skein_512.h index 803f1c916..fce02c1f6 100644 --- a/src/hash/skein/skein_512.h +++ b/src/hash/skein/skein_512.h @@ -28,6 +28,8 @@ class BOTAN_DLL Skein_512 : public HashFunction Skein_512(u32bit output_bits = 512, const std::string& personalization = ""); + size_t hash_block_size() const { return 64; } + HashFunction* clone() const; std::string name() const; void clear(); -- cgit v1.2.3