diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-11-22 16:27:16 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-11-22 16:27:16 -0500 |
commit | f6de1723670f00b7afb3cdf1a6b196ede1b3b9f4 (patch) | |
tree | c62fc7418842d0e7c182d7e9a31d43a13f9d46ff /sm4.cpp | |
parent | 568d9376a28db80b765ea9e0a1eda1639efe8bd7 (diff) | |
download | cryptopp-git-f6de1723670f00b7afb3cdf1a6b196ede1b3b9f4.tar.gz |
Fix UBsan finding on PowerPC under Clang 7.0
Diffstat (limited to 'sm4.cpp')
-rw-r--r-- | sm4.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ using CryptoPP::byte; using CryptoPP::word32;
using CryptoPP::rotlConstant;
+CRYPTOPP_ALIGN_DATA(4)
const byte S[256] =
{
0xD6, 0x90, 0xE9, 0xFE, 0xCC, 0xE1, 0x3D, 0xB7, 0x16, 0xB6, 0x14, 0xC2, 0x28, 0xFB, 0x2C, 0x05,
|