]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - crypto/Kconfig
crypto: x86/serpent - drop CTR mode implementation
authorArd Biesheuvel <ardb@kernel.org>
Tue, 5 Jan 2021 16:47:55 +0000 (17:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:10:28 +0000 (17:10 +1100)
commit2e9440ae6eab492572463d8cb266381264867723
treee0a8a0bf7105811ec7a189aeef2e6d6fdd67aacb
parenta1f91ecf812ac333ee2897f3eb2d8f4f6b4ce942
crypto: x86/serpent - drop CTR mode implementation

Serpent 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/serpent-avx-x86_64-asm_64.S
arch/x86/crypto/serpent-avx2-asm_64.S
arch/x86/crypto/serpent_avx2_glue.c
arch/x86/crypto/serpent_avx_glue.c
arch/x86/crypto/serpent_sse2_glue.c
crypto/Kconfig