summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-19 23:48:13 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-03 00:03:26 +0800
commit1e63183a203dba8333677c9490455df48f937ea0 (patch)
treea2c33d182633f0612dfe9083550a56603a8cb1ed /crypto
parent8f461b1e02ed546fbd0f11611138da67fd85a30f (diff)
downloadlinux-stable-1e63183a203dba8333677c9490455df48f937ea0.tar.gz
linux-stable-1e63183a203dba8333677c9490455df48f937ea0.tar.bz2
linux-stable-1e63183a203dba8333677c9490455df48f937ea0.zip
crypto: x86/cast5-avx - convert to skcipher interface
Convert the AVX implementation of CAST5 from the (deprecated) ablkcipher and blkcipher interfaces over to the skcipher interface. Note that this includes replacing the use of ablk_helper with crypto_simd. 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/Kconfig7
1 files changed, 3 insertions, 4 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 03ebb34b590c..7bd720fcc8d0 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1238,11 +1238,10 @@ config CRYPTO_CAST5
config CRYPTO_CAST5_AVX_X86_64
tristate "CAST5 (CAST-128) cipher algorithm (x86_64/AVX)"
depends on X86 && 64BIT
- select CRYPTO_ALGAPI
- select CRYPTO_CRYPTD
- select CRYPTO_ABLK_HELPER
- select CRYPTO_CAST_COMMON
+ select CRYPTO_BLKCIPHER
select CRYPTO_CAST5
+ select CRYPTO_CAST_COMMON
+ select CRYPTO_SIMD
help
The CAST5 encryption algorithm (synonymous with CAST-128) is
described in RFC2144.