X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Faes.c;h=a5017292e06633337f0e83a78a01432c09f5d4c9;hb=b53471711f21ba0e151075f0e1d6d531eb50f1b1;hp=0a6a5c14368684937bf8ca9b4bd866fea06d0e15;hpb=b8c475be7bf9b79e6417c08d7a921b2e8cb04258;p=linux-2.6 diff --git a/crypto/aes.c b/crypto/aes.c index 0a6a5c1436..a5017292e0 100644 --- a/crypto/aes.c +++ b/crypto/aes.c @@ -75,12 +75,11 @@ byte(const u32 x, const unsigned n) struct aes_ctx { int key_length; - u32 E[60]; - u32 D[60]; + u32 buf[120]; }; -#define E_KEY ctx->E -#define D_KEY ctx->D +#define E_KEY (&ctx->buf[0]) +#define D_KEY (&ctx->buf[60]) static u8 pow_tab[256] __initdata; static u8 log_tab[256] __initdata;