From 62538e2cf788783be55bd43b262c6a8a565176b7 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 16 Apr 2007 00:21:07 +0000 Subject: optimizations git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@301 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- trunhash.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trunhash.h') diff --git a/trunhash.h b/trunhash.h index df733a6..c1c4e9b 100644 --- a/trunhash.h +++ b/trunhash.h @@ -26,6 +26,8 @@ public: TruncatedHashTemplate(size_t digestSize) : m_digestSize(digestSize) {} + void Restart() + {m_hm.Restart();} void Update(const byte *input, size_t length) {m_hm.Update(input, length);} unsigned int DigestSize() const {return m_digestSize;} -- cgit v1.2.1