crypto: aes - Export x86 AES encrypt/decrypt functions
authorHuang Ying <ying.huang@intel.com>
Fri, 9 Jan 2009 06:25:50 +0000 (17:25 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 18 Feb 2009 08:48:05 +0000 (16:48 +0800)
commit07bf44f86989f5ed866510374fe761d1903681fb
treeb7a4bbd3a66dd6fec0243a12f8569a4ad0fce9da
parent109568e110ed67d4be1b28609b9fa00fca97f8eb
crypto: aes - Export x86 AES encrypt/decrypt functions

Intel AES-NI AES acceleration instructions touch XMM state, to use
that in soft_irq context, general x86 AES implementation is used as
fallback. The first parameter is changed from struct crypto_tfm * to
struct crypto_aes_ctx * to make it easier to deal with 16 bytes
alignment requirement of AES-NI implementation.

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
arch/x86/crypto/aes_glue.c
arch/x86/include/asm/aes.h [new file with mode: 0644]