mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-26 19:30:21 +00:00
Fix MD2 AlgorithmName
This commit is contained in:
parent
b72007386d
commit
2d8e468085
4
md2.h
4
md2.h
@ -20,12 +20,14 @@ namespace Weak1 {
|
||||
class MD2 : public HashTransformation
|
||||
{
|
||||
public:
|
||||
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "MD2";}
|
||||
|
||||
MD2();
|
||||
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;}
|
||||
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "MD2";}
|
||||
std::string AlgorithmName() const {return StaticAlgorithmName();}
|
||||
|
||||
CRYPTOPP_CONSTANT(DIGESTSIZE = 16);
|
||||
CRYPTOPP_CONSTANT(BLOCKSIZE = 16);
|
||||
|
Loading…
Reference in New Issue
Block a user