summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-19 23:48:01 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-03 00:03:19 +0800
commit2a05cfc35f5e251479c4fa86538461c1e4139e46 (patch)
tree6d72236b392700ab985176646cafb2dcab0d36ee /crypto
parentf15f2a2542839adc45d5f216ddd9a895062707fe (diff)
downloadlinux-stable-2a05cfc35f5e251479c4fa86538461c1e4139e46.tar.gz
linux-stable-2a05cfc35f5e251479c4fa86538461c1e4139e46.tar.bz2
linux-stable-2a05cfc35f5e251479c4fa86538461c1e4139e46.zip
crypto: x86/serpent-sse2 - remove LRW algorithm
The LRW 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 LRW code themselves via lrw_crypt(). Remove the lrw-serpent-sse2 algorithm which did this. Users who request lrw(serpent) and previously would have gotten lrw-serpent-sse2 will now get lrw(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 558eff07b799..ecc4e56e80ac 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1427,7 +1427,6 @@ config CRYPTO_SERPENT_SSE2_X86_64
select CRYPTO_ABLK_HELPER
select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SERPENT
- select CRYPTO_LRW
select CRYPTO_XTS
help
Serpent cipher algorithm, by Anderson, Biham & Knudsen.
@@ -1449,7 +1448,6 @@ config CRYPTO_SERPENT_SSE2_586
select CRYPTO_ABLK_HELPER
select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SERPENT
- select CRYPTO_LRW
select CRYPTO_XTS
help
Serpent cipher algorithm, by Anderson, Biham & Knudsen.