X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fx86_64%2Fcrypto%2Faes.c;h=fb1b961a2e2f185143fbbea09e2e6a43606b72fb;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=6f77e7700d329506a453b21984f7fb15efe51b88;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/arch/x86_64/crypto/aes.c b/arch/x86_64/crypto/aes.c index 6f77e7700..fb1b961a2 100644 --- a/arch/x86_64/crypto/aes.c +++ b/arch/x86_64/crypto/aes.c @@ -77,11 +77,12 @@ static inline u8 byte(const u32 x, const unsigned n) struct aes_ctx { u32 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;