summaryrefslogtreecommitdiff
path: root/trunhash.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-04-16 00:21:07 +0000
committerweidai <weidai11@users.noreply.github.com>2007-04-16 00:21:07 +0000
commit5cad605559f973f2ce7d5ede1e6b67151f8e1d51 (patch)
tree6cc6caeba741b13cbc0cf5498d1c957f97451bf3 /trunhash.h
parent199c7960213d94682913e72de0e3f6d04f575a8b (diff)
downloadcryptopp-git-5cad605559f973f2ce7d5ede1e6b67151f8e1d51.tar.gz
optimizations
Diffstat (limited to 'trunhash.h')
-rw-r--r--trunhash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunhash.h b/trunhash.h
index df733a6d..c1c4e9b6 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;}