summaryrefslogtreecommitdiff
path: root/aes-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2005-10-14 21:40:04 +0200
committerNiels Möller <nisse@lysator.liu.se>2005-10-14 21:40:04 +0200
commitd7537ca6eeac48be7990380629538ec6641a2ee6 (patch)
tree2ab8fd9f674ed9b17106f1adb53182e69b624efa /aes-internal.h
parent58f73bd0d7bf24cc0be12785e96371ed622a60a5 (diff)
downloadnettle-d7537ca6eeac48be7990380629538ec6641a2ee6.tar.gz
Reduced support for AES_SMALL.
Rev: src/nettle/aes-internal.h:1.12
Diffstat (limited to 'aes-internal.h')
-rw-r--r--aes-internal.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/aes-internal.h b/aes-internal.h
index 2fd6c46e..60c7f9df 100644
--- a/aes-internal.h
+++ b/aes-internal.h
@@ -33,7 +33,7 @@
#define _aes_decrypt _nettle_aes_decrypt
#define _aes_encrypt_table _nettle_aes_encrypt_table
-/* Define to use only small tables. */
+/* Define to use only small tables. FIXME: Currently not working. */
#ifndef AES_SMALL
# define AES_SMALL 0
#endif
@@ -44,16 +44,6 @@
# define AES_TABLE_SIZE 4
#endif
-/* Assembler code using the table should get link errors if linked
- * against a small table. */
-#if AES_SMALL
-# define _aes_encrypt_table _nettle_aes_encrypt_table_small
-# define _aes_decrypt_table _nettle_aes_decrypt_table_small
-#else
-# define _aes_encrypt_table _nettle_aes_encrypt_table
-# define _aes_decrypt_table _nettle_aes_decrypt_table
-#endif
-
struct aes_table
{
uint8_t sbox[0x100];