summaryrefslogtreecommitdiff
path: root/md2.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-25 08:03:48 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-25 08:03:48 +0000
commite2c5bf3e232f1310e83216e4be2e48d42a964e9a (patch)
tree67417ee03cb34ff12294867917528e029bcd3952 /md2.h
parent3f3a3dee37846872809ead465ed7c53983b15446 (diff)
downloadcryptopp-e2c5bf3e232f1310e83216e4be2e48d42a964e9a.tar.gz
adding missing BlockSize()
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@275 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'md2.h')
-rw-r--r--md2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/md2.h b/md2.h
index a92bf97..01af36d 100644
--- a/md2.h
+++ b/md2.h
@@ -15,6 +15,7 @@ public:
void Update(const byte *input, size_t length);
void TruncatedFinal(byte *hash, size_t size);
unsigned int DigestSize() const {return DIGESTSIZE;}
+ unsigned int BlockSize() const {return BLOCKSIZE;}
static const char * StaticAlgorithmName() {return "MD2";}
CRYPTOPP_CONSTANT(DIGESTSIZE = 16)