aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/mdx_hash
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-15 23:23:49 +0000
committerlloyd <[email protected]>2010-06-15 23:23:49 +0000
commit76b57a7c4656f0f5759c34efe8bab664b49cd21d (patch)
tree04d4b4d871606e55bec9bddc8fcb57ddd238d21d /src/hash/mdx_hash
parentbbe5daf0647a2f0953f1d99272b4e8fbf8d3b6b5 (diff)
More Doxygen updates/fixes
Diffstat (limited to 'src/hash/mdx_hash')
-rw-r--r--src/hash/mdx_hash/mdx_hash.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/hash/mdx_hash/mdx_hash.h b/src/hash/mdx_hash/mdx_hash.h
index 9fba0b799..aaf02449c 100644
--- a/src/hash/mdx_hash/mdx_hash.h
+++ b/src/hash/mdx_hash/mdx_hash.h
@@ -21,9 +21,15 @@ class BOTAN_DLL MDx_HashFunction : public HashFunction
MDx_HashFunction(u32bit, u32bit, bool, bool, u32bit = 8);
virtual ~MDx_HashFunction() {}
protected:
- void add_data(const byte[], u32bit);
+ void add_data(const byte input[], u32bit length);
void final_result(byte output[]);
- virtual void compress_n(const byte block[], u32bit block_n) = 0;
+
+ /**
+ * Run the hash's compression function over a set of blocks
+ * @param blocks the input
+ * @param block_n the number of blocks
+ */
+ virtual void compress_n(const byte blocks[], u32bit block_n) = 0;
void clear();
virtual void copy_out(byte[]) = 0;