aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/mdx_hash/mdx_hash.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-15 23:59:08 +0000
committerlloyd <[email protected]>2010-06-15 23:59:08 +0000
commitbb14aeadb3bc9137ae386460cd4d885b23d9a111 (patch)
tree80000869393480ae3818b3da1bc6361d416da18c /src/hash/mdx_hash/mdx_hash.h
parent73446ab47ffe15d72f5bbd7f859788c641ac045a (diff)
More Doxygen
Diffstat (limited to 'src/hash/mdx_hash/mdx_hash.h')
-rw-r--r--src/hash/mdx_hash/mdx_hash.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/hash/mdx_hash/mdx_hash.h b/src/hash/mdx_hash/mdx_hash.h
index aaf02449c..dbd1435ba 100644
--- a/src/hash/mdx_hash/mdx_hash.h
+++ b/src/hash/mdx_hash/mdx_hash.h
@@ -32,8 +32,18 @@ class BOTAN_DLL MDx_HashFunction : public HashFunction
virtual void compress_n(const byte blocks[], u32bit block_n) = 0;
void clear();
- virtual void copy_out(byte[]) = 0;
- virtual void write_count(byte[]);
+
+ /**
+ * Copy the output to the buffer
+ * @param buffer to put the output into
+ */
+ virtual void copy_out(byte buffer[]) = 0;
+
+ /**
+ * Write the count, if used, to this spot
+ * @param out where to write the counter to
+ */
+ virtual void write_count(byte out[]);
private:
SecureVector<byte> buffer;
u64bit count;