From bb14aeadb3bc9137ae386460cd4d885b23d9a111 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 15 Jun 2010 23:59:08 +0000 Subject: More Doxygen --- src/hash/mdx_hash/mdx_hash.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/hash/mdx_hash/mdx_hash.h') 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 buffer; u64bit count; -- cgit v1.2.3