aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/mdx_hash/mdx_hash.h
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/mdx_hash/mdx_hash.h
parent61ed0d4d90164675396feb7c7cecdd3bc5012f91 (diff)
Remove HashFunction::HASH_BLOCK_SIZE entirely
Diffstat (limited to 'src/hash/mdx_hash/mdx_hash.h')
-rw-r--r--src/hash/mdx_hash/mdx_hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hash/mdx_hash/mdx_hash.h b/src/hash/mdx_hash/mdx_hash.h
index 6603f54bc..5591f2b80 100644
--- a/src/hash/mdx_hash/mdx_hash.h
+++ b/src/hash/mdx_hash/mdx_hash.h
@@ -31,6 +31,8 @@ class BOTAN_DLL MDx_HashFunction : public HashFunction
bool big_bit_endian,
size_t counter_size = 8);
+ size_t hash_block_size() const { return buffer.size(); }
+
virtual ~MDx_HashFunction() {}
protected:
void add_data(const byte input[], size_t length);