]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: x86/serpent-sse2 - remove XTS algorithm
authorEric Biggers <ebiggers@google.com>
Tue, 20 Feb 2018 07:48:02 +0000 (23:48 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Mar 2018 16:03:19 +0000 (00:03 +0800)
commit8bab4e3cd51f2143a10d5ca6b0ae5b8fc08c72bd
treedab24e89c4d4730c0db56a380bd06725ef893a64
parent2a05cfc35f5e251479c4fa86538461c1e4139e46
crypto: x86/serpent-sse2 - remove XTS algorithm

The XTS template now wraps an ECB mode algorithm rather than the block
cipher directly.  Therefore it is now redundant for crypto modules to
wrap their ECB code with generic XTS code themselves via xts_crypt().

Remove the xts-serpent-sse2 algorithm which did this.  Users who request
xts(serpent) and previously would have gotten xts-serpent-sse2 will now
get xts(ecb-serpent-sse2) instead, which is just as fast.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/serpent_sse2_glue.c
crypto/Kconfig