summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-19 23:48:14 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-03 00:03:27 +0800
commitf51a1fa43972c93e08a608df51182d90ab8d7594 (patch)
tree29d38cbe2a211bf2323c6a43cd113ff605ff52b9 /crypto
parent1e63183a203dba8333677c9490455df48f937ea0 (diff)
downloadlinux-0-day-f51a1fa43972c93e08a608df51182d90ab8d7594.tar.gz
linux-0-day-f51a1fa43972c93e08a608df51182d90ab8d7594.tar.xz
crypto: x86/cast6-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-cast6-avx algorithm which did this. Users who request lrw(cast6) and previously would have gotten lrw-cast6-avx will now get lrw(ecb-cast6-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 7bd720fcc8d02..1e5ee62a11f69 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1266,7 +1266,6 @@ config CRYPTO_CAST6_AVX_X86_64
select CRYPTO_GLUE_HELPER_X86
select CRYPTO_CAST_COMMON
select CRYPTO_CAST6
- select CRYPTO_LRW
select CRYPTO_XTS
help
The CAST6 encryption algorithm (synonymous with CAST-256) is