diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-03-08 20:04:50 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-03-08 20:04:50 -0500 |
commit | 80f70442df0457c13b0af9ff3fbfac6ffd98644d (patch) | |
tree | fb7803a8760b353cc9725dc3f1b06b10e1568de1 /aria.cpp | |
parent | 730eebe233cbf3a64f7b622fd63f20750c673bbc (diff) | |
download | cryptopp-git-80f70442df0457c13b0af9ff3fbfac6ffd98644d.tar.gz |
Add comment on RK cast (GH #597)
Diffstat (limited to 'aria.cpp')
-rw-r--r-- | aria.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)
|