mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 01:49:41 +00:00
Fix AlgorithmName for SHA3-based classes
This commit is contained in:
parent
8dd39d03ae
commit
e8bb20d84f
@ -20,6 +20,9 @@ class SHA3_256;
|
||||
class SHA3_384;
|
||||
class SHA3_512;
|
||||
|
||||
class SHAKE128;
|
||||
class SHAKE256;
|
||||
|
||||
class Tiger;
|
||||
class RIPEMD128;
|
||||
class RIPEMD160;
|
||||
|
2
keccak.h
2
keccak.h
@ -88,6 +88,8 @@ public:
|
||||
/// block size called rate expressed as <tt>r</tt>.
|
||||
unsigned int BlockSize() const { return BLOCKSIZE; }
|
||||
|
||||
std::string AlgorithmName() const { return StaticAlgorithmName(); }
|
||||
|
||||
private:
|
||||
#if !defined(__BORLANDC__)
|
||||
// ensure there was no underflow in the math
|
||||
|
3
sha3.h
3
sha3.h
@ -13,6 +13,7 @@
|
||||
|
||||
#include "cryptlib.h"
|
||||
#include "secblock.h"
|
||||
#include "misc.h"
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
||||
@ -75,6 +76,8 @@ public:
|
||||
/// block size called rate expressed as <tt>r</tt>.
|
||||
unsigned int BlockSize() const { return BLOCKSIZE; }
|
||||
|
||||
std::string AlgorithmName() const { return StaticAlgorithmName(); }
|
||||
|
||||
private:
|
||||
#if !defined(__BORLANDC__)
|
||||
// ensure there was no underflow in the math
|
||||
|
2
shake.h
2
shake.h
@ -82,6 +82,8 @@ public:
|
||||
/// to block size called rate expressed as <tt>r</tt>.
|
||||
unsigned int BlockSize() const { return BLOCKSIZE; }
|
||||
|
||||
std::string AlgorithmName() const { return StaticAlgorithmName(); }
|
||||
|
||||
private:
|
||||
#if !defined(__BORLANDC__)
|
||||
// ensure there was no underflow in the math
|
||||
|
Loading…
Reference in New Issue
Block a user