aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-19 23:48:04 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-03 00:03:20 +0800
commite5f382e643811dce87d0f47f87e8bd1102a0feb5 (patch)
treed95328f94d3fdb33cca6bca035998b7ef9f37acb /crypto
parentcrypto: x86/serpent-sse2 - convert to skcipher interface (diff)
downloadlinux-dev-e5f382e643811dce87d0f47f87e8bd1102a0feb5.tar.xz
linux-dev-e5f382e643811dce87d0f47f87e8bd1102a0feb5.zip
crypto: x86/serpent-avx2 - 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-avx2 algorithm which did this. Users who request lrw(serpent) and previously would have gotten lrw-serpent-avx2 will now get lrw(ecb-serpent-avx2) 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/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index f6d3eec494ee..fc733a5aa47b 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1488,7 +1488,6 @@ config CRYPTO_SERPENT_AVX2_X86_64
select CRYPTO_GLUE_HELPER_X86
select CRYPTO_SERPENT
select CRYPTO_SERPENT_AVX_X86_64
- select CRYPTO_LRW
select CRYPTO_XTS
help
Serpent cipher algorithm, by Anderson, Biham & Knudsen.