summaryrefslogtreecommitdiff
path: root/aria.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-03-08 20:04:50 -0500
committerJeffrey Walton <noloader@gmail.com>2018-03-08 20:04:50 -0500
commit80f70442df0457c13b0af9ff3fbfac6ffd98644d (patch)
treefb7803a8760b353cc9725dc3f1b06b10e1568de1 /aria.cpp
parent730eebe233cbf3a64f7b622fd63f20750c673bbc (diff)
downloadcryptopp-git-80f70442df0457c13b0af9ff3fbfac6ffd98644d.tar.gz
Add comment on RK cast (GH #597)
Diffstat (limited to 'aria.cpp')
-rw-r--r--aria.cpp4
1 files 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)