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

Camellia 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/camellia-aesni-avx-asm_64.S
arch/x86/crypto/camellia-aesni-avx2-asm_64.S
arch/x86/crypto/camellia_aesni_avx2_glue.c
arch/x86/crypto/camellia_aesni_avx_glue.c
arch/x86/crypto/camellia_glue.c
arch/x86/include/asm/crypto/camellia.h
crypto/Kconfig