summaryrefslogtreecommitdiff
path: root/aes-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2005-10-17 14:55:10 +0200
committerNiels Möller <nisse@lysator.liu.se>2005-10-17 14:55:10 +0200
commitba58d11567cc269079dadf0f844d7432bc7f3b61 (patch)
treeee21ad24a67b3aa5ce2aa6e86bf42c61c21c89f6 /aes-internal.h
parent409e1cb6651617c909a0dfc5c2e174b5c1d210a0 (diff)
downloadnettle-ba58d11567cc269079dadf0f844d7432bc7f3b61.tar.gz
* aes-internal.h (struct aes_table): Deleted idx and sparc_idx
arrays. * aes-encrypt-table.c (_aes_encrypt_table): Likewise. * aes-decrypt.c (_aes_decrypt_table): Likewise. * asm.m4 (AES): Likewise Rev: src/nettle/ChangeLog:1.358 Rev: src/nettle/aes-decrypt.c:1.7 Rev: src/nettle/aes-encrypt-table.c:1.5 Rev: src/nettle/aes-internal.h:1.13 Rev: src/nettle/asm.m4:1.14
Diffstat (limited to 'aes-internal.h')
-rw-r--r--aes-internal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/aes-internal.h b/aes-internal.h
index 60c7f9df..dda43d0e 100644
--- a/aes-internal.h
+++ b/aes-internal.h
@@ -47,17 +47,6 @@
struct aes_table
{
uint8_t sbox[0x100];
- unsigned idx[3][4];
-
- /* Variant of the idx array suitable for the sparc
- * assembler code.
- *
- * sparc_idx[0][i] = idx[0][i] * 4 + 2
- * sparc_idx[1][i] = idx[2][i] * 4
- */
-
- unsigned sparc_idx [2][4];
-
uint32_t table[AES_TABLE_SIZE][0x100];
};