aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-20 02:48:15 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-02 11:03:28 -0500
commit4bd969243143e224d5aa450fdea1c882a75aa58e (patch)
treeaf3056d17ac2eec2789bf9f86353b84dc579be58 /crypto
parentf51a1fa43972c93e08a608df51182d90ab8d7594 (diff)
crypto: x86/cast6-avx - convert to skcipher interface
Convert the AVX implementation of CAST6 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/Kconfig9
1 files changed, 4 insertions, 5 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 1e5ee62a11f6..536a7fac205f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1260,12 +1260,11 @@ config CRYPTO_CAST6
1260config CRYPTO_CAST6_AVX_X86_64 1260config CRYPTO_CAST6_AVX_X86_64
1261 tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)" 1261 tristate "CAST6 (CAST-256) cipher algorithm (x86_64/AVX)"
1262 depends on X86 && 64BIT 1262 depends on X86 && 64BIT
1263 select CRYPTO_ALGAPI 1263 select CRYPTO_BLKCIPHER
1264 select CRYPTO_CRYPTD
1265 select CRYPTO_ABLK_HELPER
1266 select CRYPTO_GLUE_HELPER_X86
1267 select CRYPTO_CAST_COMMON
1268 select CRYPTO_CAST6 1264 select CRYPTO_CAST6
1265 select CRYPTO_CAST_COMMON
1266 select CRYPTO_GLUE_HELPER_X86
1267 select CRYPTO_SIMD
1269 select CRYPTO_XTS 1268 select CRYPTO_XTS
1270 help 1269 help
1271 The CAST6 encryption algorithm (synonymous with CAST-256) is 1270 The CAST6 encryption algorithm (synonymous with CAST-256) is