diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-11-25 02:52:19 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-25 02:52:19 -0500 |
commit | a074722bfa82d82c12879b8fdd9a62bac8bcaf89 (patch) | |
tree | 6321fd7bb3c9a3340ce8463242854a19bc0ef4e1 /aria.cpp | |
parent | 2d4614084a4250ce4d60d535ccf506605477e4ed (diff) | |
download | cryptopp-git-a074722bfa82d82c12879b8fdd9a62bac8bcaf89.tar.gz |
Switch to rotlConstant and rotrConstant
This will help Clang and its need for a constexpr
Diffstat (limited to 'aria.cpp')
-rw-r--r-- | aria.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ inline byte ARIA_BRF(const word32 x, const int y) { #define ARIA_P(T0,T1,T2,T3) { \
(T1) = (((T1)<< 8)&0xff00ff00) ^ (((T1)>> 8)&0x00ff00ff); \
- (T2) = rotrFixed((T2),16); \
+ (T2) = rotrConstant<16>(T2); \
(T3) = ByteReverse((T3)); \
}
|