Whitespace check-in

pull/806/head
Jeffrey Walton 2019-02-12 19:38:47 -05:00
parent a1b3d31c11
commit be4b3e0ddb
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public:
void TruncatedFinal(byte *hash, size_t size); void TruncatedFinal(byte *hash, size_t size);
protected: protected:
inline unsigned int r() const {return BlockSize();} inline unsigned int r() const {return BlockSize();}
FixedSizeSecBlock<word64, 25> m_state; FixedSizeSecBlock<word64, 25> m_state;
unsigned int m_digestSize, m_counter; unsigned int m_digestSize, m_counter;
@ -56,7 +56,7 @@ class SHAKE_Final : public SHAKE
public: public:
CRYPTOPP_CONSTANT(DIGESTSIZE = (T_Strength == 128 ? 32 : 64)) CRYPTOPP_CONSTANT(DIGESTSIZE = (T_Strength == 128 ? 32 : 64))
CRYPTOPP_CONSTANT(BLOCKSIZE = (T_Strength == 128 ? 1344/8 : 1088/8)) 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 /// \brief Construct a SHAKE-X message digest
SHAKE_Final() : SHAKE(DIGESTSIZE) {} SHAKE_Final() : SHAKE(DIGESTSIZE) {}