Eric Biggers <ebiggers@xxxxxxxxxx> wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > Make the non-AVX implementation of AES-XTS (xts-aes-aesni) use the new > glue code that was introduced for the AVX implementations of AES-XTS. > This reduces code size, and it improves the performance of xts-aes-aesni > due to the optimization for messages that don't span page boundaries. > > This required moving the new glue functions higher up in the file and > allowing the IV encryption function to be specified by the caller. > > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> > --- > arch/x86/crypto/aes-xts-avx-x86_64.S | 2 +- > arch/x86/crypto/aesni-intel_asm.S | 16 +- > arch/x86/crypto/aesni-intel_glue.c | 317 +++++++++++---------------- > 3 files changed, 132 insertions(+), 203 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt