From 80f70442df0457c13b0af9ff3fbfac6ffd98644d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 8 Mar 2018 20:04:50 -0500 Subject: [PATCH] Add comment on RK cast (GH #597) --- aria.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aria.cpp b/aria.cpp index c4658fd4..cf28a075 100644 --- a/aria.cpp +++ b/aria.cpp @@ -15,9 +15,9 @@ # define CRYPTOPP_ENABLE_ARIA_SSSE3_INTRINSICS 1 #endif -// GCC cast warning +// GCC cast warning. Note: this is used on round key table, +// which is word32 and naturally aligned. #define UINT32_CAST(x) ((uint32_t *)(void *)(x)) -#define CONST_UINT32_CAST(x) ((const uint32_t *)(const void *)(x)) NAMESPACE_BEGIN(CryptoPP) NAMESPACE_BEGIN(ARIATab)