Use SHAKE-128 and SHAKE-256 names

pull/806/head
Jeffrey Walton 2019-02-12 19:45:54 -05:00
parent be4b3e0ddb
commit 311647cb8e
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

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