adding missing BlockSize()
parent
05845587a5
commit
9b5d080a49
1
md2.h
1
md2.h
|
|
@ -15,6 +15,7 @@ public:
|
||||||
void Update(const byte *input, size_t length);
|
void Update(const byte *input, size_t length);
|
||||||
void TruncatedFinal(byte *hash, size_t size);
|
void TruncatedFinal(byte *hash, size_t size);
|
||||||
unsigned int DigestSize() const {return DIGESTSIZE;}
|
unsigned int DigestSize() const {return DIGESTSIZE;}
|
||||||
|
unsigned int BlockSize() const {return BLOCKSIZE;}
|
||||||
static const char * StaticAlgorithmName() {return "MD2";}
|
static const char * StaticAlgorithmName() {return "MD2";}
|
||||||
|
|
||||||
CRYPTOPP_CONSTANT(DIGESTSIZE = 16)
|
CRYPTOPP_CONSTANT(DIGESTSIZE = 16)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue