summaryrefslogtreecommitdiff
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
commitc2771d6945aff8e07ca4c8232b051a2f16628ad9 (patch)
tree6592fe54cf816a5fbf45b16f5fe0af6c05c85f49
parente4a188218249ede7f8a71fa142dc6cab485115e9 (diff)
downloadlinux-crypto-c2771d6945aff8e07ca4c8232b051a2f16628ad9.tar.gz
linux-crypto-c2771d6945aff8e07ca4c8232b051a2f16628ad9.zip
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>
-rw-r--r--crypto/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 7bd720fc..1e5ee62a 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