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

Now that the XTS template can wrap accelerated ECB modes, it can be
used to implement CAST6 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/cast6-avx-x86_64-asm_64.S
arch/x86/crypto/cast6_avx_glue.c
crypto/Kconfig