Skip to content
Snippets Groups Projects
Commit e9e2d1e9 authored by Niels Möller's avatar Niels Möller
Browse files

* 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
parent 9158a21d
No related branches found
No related tags found
Loading
...@@ -68,12 +68,6 @@ _aes_decrypt_table = ...@@ -68,12 +68,6 @@ _aes_decrypt_table =
0x17,0x2b,0x04,0x7e,0xba,0x77,0xd6,0x26, 0x17,0x2b,0x04,0x7e,0xba,0x77,0xd6,0x26,
0xe1,0x69,0x14,0x63,0x55,0x21,0x0c,0x7d, 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 */ { /* itable */
{ {
0x50a7f451,0x5365417e,0xc3a4171a,0x965e273a, 0x50a7f451,0x5365417e,0xc3a4171a,0x965e273a,
......
...@@ -77,12 +77,6 @@ _aes_encrypt_table = ...@@ -77,12 +77,6 @@ _aes_encrypt_table =
0x8c,0xa1,0x89,0x0d,0xbf,0xe6,0x42,0x68, 0x8c,0xa1,0x89,0x0d,0xbf,0xe6,0x42,0x68,
0x41,0x99,0x2d,0x0f,0xb0,0x54,0xbb,0x16, 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 */ { /* dtable */
{ {
0xa56363c6,0x847c7cf8,0x997777ee,0x8d7b7bf6, 0xa56363c6,0x847c7cf8,0x997777ee,0x8d7b7bf6,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment