summaryrefslogtreecommitdiff
path: root/rdtables.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-12 05:53:17 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-12 05:53:17 -0400
commitb090e5f69fe761b08b6fd1bfc51cb16d6d363cb7 (patch)
tree3ae3bdefc185f92f2149445008adf3cf4f2b9c84 /rdtables.cpp
parentcfb63decec771d660394d7fbf8b5c7b566a09232 (diff)
downloadcryptopp-git-b090e5f69fe761b08b6fd1bfc51cb16d6d363cb7.tar.gz
Add Power8 AES decryption
Diffstat (limited to 'rdtables.cpp')
-rw-r--r--rdtables.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/rdtables.cpp b/rdtables.cpp
index 8b2cea5b..8ceb800f 100644
--- a/rdtables.cpp
+++ b/rdtables.cpp
@@ -154,10 +154,11 @@ const byte Rijndael::Base::Sd[256] = {
0x55, 0x21, 0x0c, 0x7d,
};
+/* for 128-bit blocks, Rijndael never uses more than 10 rcon values */
const word32 Rijndael::Base::rcon[] = {
0x01000000, 0x02000000, 0x04000000, 0x08000000,
0x10000000, 0x20000000, 0x40000000, 0x80000000,
- 0x1B000000, 0x36000000, /* for 128-bit blocks, Rijndael never uses more than 10 rcon values */
+ 0x1B000000, 0x36000000
};
NAMESPACE_END