aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-20 02:48:02 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-02 11:03:19 -0500
commit8bab4e3cd51f2143a10d5ca6b0ae5b8fc08c72bd (patch)
treedab24e89c4d4730c0db56a380bd06725ef893a64 /crypto
parent2a05cfc35f5e251479c4fa86538461c1e4139e46 (diff)
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>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index ecc4e56e80ac..4b2026e07bac 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1427,7 +1427,6 @@ config CRYPTO_SERPENT_SSE2_X86_64
1427 select CRYPTO_ABLK_HELPER 1427 select CRYPTO_ABLK_HELPER
1428 select CRYPTO_GLUE_HELPER_X86 1428 select CRYPTO_GLUE_HELPER_X86
1429 select CRYPTO_SERPENT 1429 select CRYPTO_SERPENT
1430 select CRYPTO_XTS
1431 help 1430 help
1432 Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1431 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1433 1432
@@ -1448,7 +1447,6 @@ config CRYPTO_SERPENT_SSE2_586
1448 select CRYPTO_ABLK_HELPER 1447 select CRYPTO_ABLK_HELPER
1449 select CRYPTO_GLUE_HELPER_X86 1448 select CRYPTO_GLUE_HELPER_X86
1450 select CRYPTO_SERPENT 1449 select CRYPTO_SERPENT
1451 select CRYPTO_XTS
1452 help 1450 help
1453 Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1451 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1454 1452