X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Faes.c;h=a5017292e06633337f0e83a78a01432c09f5d4c9;hb=4541a5db0ba33d9c692e5b2f8d7805e336fabe7c;hp=0a6a5c14368684937bf8ca9b4bd866fea06d0e15;hpb=9fdb62af92c741addbea15545f214a6e89460865;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;