summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-19 23:48:11 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-03 00:03:25 +0800
commit0e6ab46dadb0ec7b76ab3aa41eae3920cdd4d82b (patch)
tree1b6745272a2227f3781664eced26f3c472babfd2 /crypto
parent876e9f0c12778bcdc64040031974e0dcf1d99bd5 (diff)
downloadop-kernel-dev-0e6ab46dadb0ec7b76ab3aa41eae3920cdd4d82b.zip
op-kernel-dev-0e6ab46dadb0ec7b76ab3aa41eae3920cdd4d82b.tar.gz
crypto: x86/twofish-avx - convert to skcipher interface
Convert the AVX implementation of Twofish 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/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index ac19f3e..03ebb34 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1601,14 +1601,12 @@ config CRYPTO_TWOFISH_X86_64_3WAY
config CRYPTO_TWOFISH_AVX_X86_64
tristate "Twofish cipher algorithm (x86_64/AVX)"
depends on X86 && 64BIT
- select CRYPTO_ALGAPI
- select CRYPTO_CRYPTD
- select CRYPTO_ABLK_HELPER
+ select CRYPTO_BLKCIPHER
select CRYPTO_GLUE_HELPER_X86
+ select CRYPTO_SIMD
select CRYPTO_TWOFISH_COMMON
select CRYPTO_TWOFISH_X86_64
select CRYPTO_TWOFISH_X86_64_3WAY
- select CRYPTO_XTS
help
Twofish cipher algorithm (x86_64/AVX).
OpenPOWER on IntegriCloud