crypto: x86/twofish - switch to XTS template
authorArd Biesheuvel <ardb@kernel.org>
Tue, 5 Jan 2021 16:47:52 +0000 (17:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:10:27 +0000 (17:10 +1100)
commitda4df93a94a5aa7c5a599959d79ee99cdbe4c6b7
tree9a3c202e6876b7a6a1dc9f9abe4ebd50b1dcb73b
parent9ec0af8aa6038163e7cd01dea3b8e085712d19fc
crypto: x86/twofish - switch to XTS template

Now that the XTS template can wrap accelerated ECB modes, it can be
used to implement Twofish in XTS mode as well, which turns out to
be at least as fast, and sometimes even faster

Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/twofish-avx-x86_64-asm_64.S
arch/x86/crypto/twofish_avx_glue.c
crypto/Kconfig