aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/skein
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 03:09:18 +0000
committerlloyd <[email protected]>2010-10-13 03:09:18 +0000
commit53d01738e99edfa58a061057186c2a72117ce5d7 (patch)
tree8d8abb63acbedfd46c6bdeec640f1f13475ba1f7 /src/hash/skein
parent61ed0d4d90164675396feb7c7cecdd3bc5012f91 (diff)
Remove HashFunction::HASH_BLOCK_SIZE entirely
Diffstat (limited to 'src/hash/skein')
-rw-r--r--src/hash/skein/skein_512.cpp2
-rw-r--r--src/hash/skein/skein_512.h2
2 files changed, 3 insertions, 1 deletions
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<u64bit>& 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();