summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDaniel Marjamäki <daniel.marjamaki@comhem.se>2005-12-03 17:16:42 +1100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-09 14:15:53 -0800
commitafad2608c766f53c79ec4ffccdb4bef660b90a89 (patch)
tree40e34f6e491e505ac51faab210d94f93bb55495d /arch
parente6a3a925a25ddd2ebd66dbc8d14ebdd3d57ca0c3 (diff)
downloadblackbird-op-linux-afad2608c766f53c79ec4ffccdb4bef660b90a89.tar.gz
blackbird-op-linux-afad2608c766f53c79ec4ffccdb4bef660b90a89.zip
[CRYPTO] aes-i586: Remove unused variable ls_tab
It is assigned but never read. Signed-off-by: Daniel Marjamäki <daniel.marjamaki@comhem.se> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/crypto/aes.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/i386/crypto/aes.c b/arch/i386/crypto/aes.c
index 138652aafcbf..a50397b1d5c7 100644
--- a/arch/i386/crypto/aes.c
+++ b/arch/i386/crypto/aes.c
@@ -94,7 +94,6 @@ static u32 rcon_tab[RC_LENGTH];
u32 ft_tab[4][256];
u32 fl_tab[4][256];
-static u32 ls_tab[4][256];
static u32 im_tab[4][256];
u32 il_tab[4][256];
u32 it_tab[4][256];
@@ -145,15 +144,6 @@ static void gen_tabs(void)
fl_tab[2][i] = upr(w, 2);
fl_tab[3][i] = upr(w, 3);
- /*
- * table for key schedule if fl_tab above is
- * not of the required form
- */
- ls_tab[0][i] = w;
- ls_tab[1][i] = upr(w, 1);
- ls_tab[2][i] = upr(w, 2);
- ls_tab[3][i] = upr(w, 3);
-
b = fi(inv_affine((u8)i));
w = bytes2word(fe(b), f9(b), fd(b), fb(b));
OpenPOWER on IntegriCloud