Use SHAKE-128 and SHAKE-256 names
parent
be4b3e0ddb
commit
311647cb8e
File diff suppressed because one or more lines are too long
2
shake.h
2
shake.h
|
|
@ -56,7 +56,7 @@ class SHAKE_Final : public SHAKE
|
|||
public:
|
||||
CRYPTOPP_CONSTANT(DIGESTSIZE = (T_Strength == 128 ? 32 : 64))
|
||||
CRYPTOPP_CONSTANT(BLOCKSIZE = (T_Strength == 128 ? 1344/8 : 1088/8))
|
||||
static std::string StaticAlgorithmName() { return "SHAKE" + IntToString(T_Strength); }
|
||||
static std::string StaticAlgorithmName() { return "SHAKE-" + IntToString(T_Strength); }
|
||||
|
||||
/// \brief Construct a SHAKE-X message digest
|
||||
SHAKE_Final() : SHAKE(DIGESTSIZE) {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue