Add comment on RK cast (GH #597)

pull/598/head
Jeffrey Walton 2018-03-08 20:04:50 -05:00
parent 730eebe233
commit 80f70442df
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -15,9 +15,9 @@
# define CRYPTOPP_ENABLE_ARIA_SSSE3_INTRINSICS 1 # define CRYPTOPP_ENABLE_ARIA_SSSE3_INTRINSICS 1
#endif #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 UINT32_CAST(x) ((uint32_t *)(void *)(x))
#define CONST_UINT32_CAST(x) ((const uint32_t *)(const void *)(x))
NAMESPACE_BEGIN(CryptoPP) NAMESPACE_BEGIN(CryptoPP)
NAMESPACE_BEGIN(ARIATab) NAMESPACE_BEGIN(ARIATab)