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