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

CAST6 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/cast6-avx-x86_64-asm_64.S
arch/x86/crypto/cast6_avx_glue.c
crypto/Kconfig