diff --git a/shake.h b/shake.h index 8d097097..18a1c897 100644 --- a/shake.h +++ b/shake.h @@ -41,7 +41,7 @@ public: void TruncatedFinal(byte *hash, size_t size); protected: - inline unsigned int r() const {return BlockSize();} + inline unsigned int r() const {return BlockSize();} FixedSizeSecBlock m_state; unsigned int m_digestSize, m_counter; @@ -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) {}