From d7537ca6eeac48be7990380629538ec6641a2ee6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Fri, 14 Oct 2005 21:40:04 +0200
Subject: [PATCH] Reduced support for AES_SMALL.

Rev: src/nettle/aes-internal.h:1.12
---
 aes-internal.h | 12 +-----------
 1 file changed, 1 insertion(+), 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];
-- 
GitLab