summaryrefslogtreecommitdiff
path: root/aes-encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'aes-encrypt.c')
-rw-r--r--aes-encrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/aes-encrypt.c b/aes-encrypt.c
index 940b9f3d..30511793 100644
--- a/aes-encrypt.c
+++ b/aes-encrypt.c
@@ -79,6 +79,10 @@ _aes_encrypt_table =
{ 1, 2, 3, 0 },
{ 2, 3, 0, 1 },
{ 3, 0, 1, 2 } },
+ { /* idx_shift */
+ { 1 * IDX_FACTOR, 2 * IDX_FACTOR, 3 * IDX_FACTOR, 0 * IDX_FACTOR },
+ { 2 * IDX_FACTOR, 3 * IDX_FACTOR, 0 * IDX_FACTOR, 1 * IDX_FACTOR },
+ { 3 * IDX_FACTOR, 0 * IDX_FACTOR, 1 * IDX_FACTOR, 2 * IDX_FACTOR } },
{ /* dtable */
{
0xa56363c6,0x847c7cf8,0x997777ee,0x8d7b7bf6,