]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* aes-decrypt.c (_aes_decrypt_table): Deleted the indexing array,
authorNiels Möller <nisse@lysator.liu.se>
Thu, 18 May 2006 16:27:33 +0000 (18:27 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 18 May 2006 16:27:33 +0000 (18:27 +0200)
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
aes-encrypt-table.c

index 05f6adf22b6b2659543d61c68a1d62ea6bf5faf2..afbf827b430f6c450d2872b42abc3cd9c13c400b 100644 (file)
@@ -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,
index ed4945ec8352026677afd7968653ba1399bee9f6..000498d157119c533ea754e16ab9043a9c2465bc 100644 (file)
@@ -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,