]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Reduced support for AES_SMALL.
authorNiels Möller <nisse@lysator.liu.se>
Fri, 14 Oct 2005 19:40:04 +0000 (21:40 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 14 Oct 2005 19:40:04 +0000 (21:40 +0200)
Rev: src/nettle/aes-internal.h:1.12

aes-internal.h

index 2fd6c46e9ee4c606328e1e25349307ceda409901..60c7f9dfbb8a9a69967af3835726948316c406d5 100644 (file)
@@ -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
 # 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];