From a074722bfa82d82c12879b8fdd9a62bac8bcaf89 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 25 Nov 2017 02:52:19 -0500 Subject: Switch to rotlConstant and rotrConstant This will help Clang and its need for a constexpr --- aria.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aria.cpp') 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)); \ } -- cgit v1.2.1