adding missing BlockSize()

pull/2/head
weidai 2006-12-25 08:03:48 +00:00
parent 05845587a5
commit 9b5d080a49
1 changed files with 1 additions and 0 deletions

1
md2.h
View File

@ -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)