From e9e2d1e96752d886b1efaed1d9c1a6f63c036db7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 18 May 2006 18:27:33 +0200
Subject: [PATCH] * aes-decrypt.c (_aes_decrypt_table): Deleted the indexing
 array, previously commented out. * aes-encrypt-table.c (_aes_encrypt_table):
 Likewise.

Rev: src/nettle/aes-decrypt.c:1.8
Rev: src/nettle/aes-encrypt-table.c:1.6
---
 aes-decrypt.c       | 6 ------
 aes-encrypt-table.c | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/aes-decrypt.c b/aes-decrypt.c
index 05f6adf2..afbf827b 100644
--- a/aes-decrypt.c
+++ b/aes-decrypt.c
@@ -68,12 +68,6 @@ _aes_decrypt_table =
       0x17,0x2b,0x04,0x7e,0xba,0x77,0xd6,0x26,
       0xe1,0x69,0x14,0x63,0x55,0x21,0x0c,0x7d,
     },
-    /* Indexing array, hard-coded into the decryption function.
-      { { 0, 1, 2, 3 },
-        { 3, 0, 1, 2 },
-	{ 2, 3, 0, 1 },
-	{ 1, 2, 3, 0 } }
-    */
     { /* itable */
       { 
 	0x50a7f451,0x5365417e,0xc3a4171a,0x965e273a,
diff --git a/aes-encrypt-table.c b/aes-encrypt-table.c
index ed4945ec..000498d1 100644
--- a/aes-encrypt-table.c
+++ b/aes-encrypt-table.c
@@ -77,12 +77,6 @@ _aes_encrypt_table =
       0x8c,0xa1,0x89,0x0d,0xbf,0xe6,0x42,0x68,
       0x41,0x99,0x2d,0x0f,0xb0,0x54,0xbb,0x16,
     },
-    /* Indexing array, hard coded into the encryption function.
-       { { 0, 1, 2, 3 },
-	 { 1, 2, 3, 0 },
-	 { 2, 3, 0, 1 },
-	 { 3, 0, 1, 2 } }
-    */
     { /* dtable */
       { 
 	0xa56363c6,0x847c7cf8,0x997777ee,0x8d7b7bf6,
-- 
GitLab