diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-10-10 18:20:49 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-10-10 18:20:49 -0400 |
commit | 2d8992a54790da53ac2a7c8c8e0d82bc272b7d71 (patch) | |
tree | bb4c81cf3bad8453a1fd7ced742a1aa24cfb8c16 /3way.cpp | |
parent | 145a83e4cd12871f573920acee8184346f7dcd74 (diff) | |
download | cryptopp-git-2d8992a54790da53ac2a7c8c8e0d82bc272b7d71.tar.gz |
Add statics to anonymous namespace
Diffstat (limited to '3way.cpp')
-rw-r--r-- | 3way.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -15,11 +15,14 @@ void ThreeWay_TestInstantiations() }
#endif
-static const word32 START_E = 0x0b0b; // round constant of first encryption round
-static const word32 START_D = 0xb1b1; // round constant of first decryption round
+namespace
+{
+ const word32 START_E = 0x0b0b; // round constant of first encryption round
+ const word32 START_D = 0xb1b1; // round constant of first decryption round
#ifdef CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
-static const word32 RC_MODULUS = 0x11011;
+ const word32 RC_MODULUS = 0x11011;
#endif
+}
static inline word32 reverseBits(word32 a)
{
|