crypto: x86/twofish - drop CTR mode implementation
authorArd Biesheuvel <ardb@kernel.org>
Tue, 5 Jan 2021 16:47:58 +0000 (17:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:10:28 +0000 (17:10 +1100)
commitf43dcaf2c97eae986378f12c46b27fe21f8a885b
tree2e0978c7734ce134c9164435efc9b9179adbf354
parent7a6623cc6867b5f24f750a7c16b996b0cbbc63b5
crypto: x86/twofish - drop CTR mode implementation

Twofish in CTR mode is never used by the kernel directly, and is highly
unlikely to be relied upon by dm-crypt or algif_skcipher. So let's drop
the accelerated CTR mode implementation, and instead, rely on the CTR
template and the bare cipher.

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
arch/x86/crypto/twofish_glue_3way.c
arch/x86/include/asm/crypto/twofish.h
crypto/Kconfig