crypto: aes - Move key_length in struct crypto_aes_ctx to be the last field
commit109568e110ed67d4be1b28609b9fa00fca97f8eb
authorHuang Ying <ying.huang@intel.com>
Fri, 9 Jan 2009 05:49:30 +0000 (9 16:49 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 18 Feb 2009 08:48:04 +0000 (18 16:48 +0800)
treef40a1c6a35bb45abf7edcf8ab55ed75af6d405fb
parent8eb2dfac41c71701bb741f496f0cb7b7e4a3c3f6
crypto: aes - Move key_length in struct crypto_aes_ctx to be the last field

The Intel AES-NI AES acceleration instructions need key_enc, key_dec
in struct crypto_aes_ctx to be 16 byte aligned, it make this easier to
move key_length to be the last one.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aes-i586-asm_32.S
arch/x86/crypto/aes-x86_64-asm_64.S
include/crypto/aes.h