From: Niels Möller Date: Fri, 14 Oct 2005 19:40:04 +0000 (+0200) Subject: Reduced support for AES_SMALL. X-Git-Tag: nettle_1.14_release_20051205~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7537ca6eeac48be7990380629538ec6641a2ee6;p=thirdparty%2Fnettle.git Reduced support for AES_SMALL. Rev: src/nettle/aes-internal.h:1.12 --- 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];