summaryrefslogtreecommitdiff
path: root/aria.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-11-25 02:52:19 -0500
committerJeffrey Walton <noloader@gmail.com>2017-11-25 02:52:19 -0500
commita074722bfa82d82c12879b8fdd9a62bac8bcaf89 (patch)
tree6321fd7bb3c9a3340ce8463242854a19bc0ef4e1 /aria.cpp
parent2d4614084a4250ce4d60d535ccf506605477e4ed (diff)
downloadcryptopp-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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aria.cpp b/aria.cpp
index b2985656..a08f7850 100644
--- a/aria.cpp
+++ b/aria.cpp
@@ -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)); \
}