summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-19 23:48:10 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-03 00:03:25 +0800
commit876e9f0c12778bcdc64040031974e0dcf1d99bd5 (patch)
tree465431eefde3f89710705bdb53b4c4fb442417c6 /crypto
parent37992fa47f9ac7e42650eec748d50da0398afa70 (diff)
downloadlwn-876e9f0c12778bcdc64040031974e0dcf1d99bd5.tar.gz
lwn-876e9f0c12778bcdc64040031974e0dcf1d99bd5.zip
crypto: x86/twofish-avx - 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-twofish-avx algorithm which did this. Users who request lrw(twofish) and previously would have gotten lrw-twofish-avx will now get lrw(ecb-twofish-avx) 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 c0a26c6cbb0c..ac19f3ed8692 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1608,7 +1608,6 @@ config CRYPTO_TWOFISH_AVX_X86_64
select CRYPTO_TWOFISH_COMMON
select CRYPTO_TWOFISH_X86_64
select CRYPTO_TWOFISH_X86_64_3WAY
- select CRYPTO_LRW
select CRYPTO_XTS
help
Twofish cipher algorithm (x86_64/AVX).