diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-10-01 04:42:42 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-10-01 04:42:42 -0400 |
commit | 395b1634502901f1186d03d715b2b79c36780733 (patch) | |
tree | 9df0965b5d722cc33ec31fa2f3dc0d4a40d8101c /keccak.h | |
parent | 9b64112a11cf504ea74b25260fa16840f234adb5 (diff) | |
download | cryptopp-git-395b1634502901f1186d03d715b2b79c36780733.tar.gz |
Fix compile under Visual Studio 2003
Diffstat (limited to 'keccak.h')
-rw-r--r-- | keccak.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -70,11 +70,11 @@ protected: //! \tparam DigestSize controls the digest size as a template parameter instead of a per-class constant
//! \brief Keccak-X message digest, template for more fine-grained typedefs
//! \since Crypto++ 5.7.0
-template<unsigned int digestSize>
+template<unsigned int T_DigestSize>
class Keccak_Final : public Keccak
{
public:
- CRYPTOPP_CONSTANT(DIGESTSIZE = digestSize)
+ CRYPTOPP_CONSTANT(DIGESTSIZE = T_DigestSize)
CRYPTOPP_CONSTANT(BLOCKSIZE = 200 - 2 * DIGESTSIZE)
//! \brief Construct a Keccak-X message digest
@@ -83,7 +83,7 @@ public: unsigned int BlockSize() const { return BLOCKSIZE; }
private:
CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE < 200); // ensure there was no underflow in the math
- CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE > DIGESTSIZE); // this is a general expectation by HMAC
+ CRYPTOPP_COMPILE_ASSERT(BLOCKSIZE > T_DigestSize); // this is a general expectation by HMAC
};
//! \class Keccak_224
|