diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-04-16 00:21:07 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-04-16 00:21:07 +0000 |
commit | 62538e2cf788783be55bd43b262c6a8a565176b7 (patch) | |
tree | 6cc6caeba741b13cbc0cf5498d1c957f97451bf3 /trunhash.h | |
parent | 5a439a5b05aadca7502541c3d0e487f4365c57d3 (diff) | |
download | cryptopp-62538e2cf788783be55bd43b262c6a8a565176b7.tar.gz |
optimizations
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@301 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'trunhash.h')
-rw-r--r-- | trunhash.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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;} |