summaryrefslogtreecommitdiff
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
commite4a188218249ede7f8a71fa142dc6cab485115e9 (patch)
tree26efa6f4091be568423e240e845fa2797448d2c6 /crypto
parent206a9b3c5d2e801f6d79c047ade9ee1da26eab4f (diff)
downloadlinux-crypto-e4a188218249ede7f8a71fa142dc6cab485115e9.tar.gz
linux-crypto-e4a188218249ede7f8a71fa142dc6cab485115e9.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 03ebb34b..7bd720fc 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.