summaryrefslogtreecommitdiff
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
commitafa51bc9ee2c22a729984ed070fa35e916334557 (patch)
treeea3945ab9f7e0d817e15084618eb2dd8082c1c8e
parent4390166e35db1d31a1eca2bae0ba9225c80e19b3 (diff)
downloadlinux-crypto-afa51bc9ee2c22a729984ed070fa35e916334557.tar.gz
linux-crypto-afa51bc9ee2c22a729984ed070fa35e916334557.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>
-rw-r--r--crypto/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index f6d3eec4..fc733a5a 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.