summaryrefslogtreecommitdiff
path: root/md2.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-12-25 08:03:48 +0000
committerweidai <weidai11@users.noreply.github.com>2006-12-25 08:03:48 +0000
commit9b5d080a4961d11ac5f85e4624c6ae9f0c6f96c1 (patch)
tree67417ee03cb34ff12294867917528e029bcd3952 /md2.h
parent05845587a5a0454273fbb0cc48f8b01724c61f65 (diff)
downloadcryptopp-git-9b5d080a4961d11ac5f85e4624c6ae9f0c6f96c1.tar.gz
adding missing BlockSize()
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 a92bf975..01af36d7 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)