aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-02-20 02:48:06 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-02 11:03:22 -0500
commite16bf974b3d965edc9bd76fc645c3ee2c40c33b8 (patch)
tree0315b944d5c2e27a6000463efff1e597cd88bc72 /crypto
parent340b83032634c37f10626be7388052583a9a4d95 (diff)
crypto: x86/serpent-avx,avx2 - convert to skcipher interface
Convert the AVX and AVX2 implementations of Serpent 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/Kconfig11
1 files changed, 2 insertions, 9 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 65012ebec0ab..cca8271d8894 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1460,11 +1460,10 @@ config CRYPTO_SERPENT_SSE2_586
1460config CRYPTO_SERPENT_AVX_X86_64 1460config CRYPTO_SERPENT_AVX_X86_64
1461 tristate "Serpent cipher algorithm (x86_64/AVX)" 1461 tristate "Serpent cipher algorithm (x86_64/AVX)"
1462 depends on X86 && 64BIT 1462 depends on X86 && 64BIT
1463 select CRYPTO_ALGAPI 1463 select CRYPTO_BLKCIPHER
1464 select CRYPTO_CRYPTD
1465 select CRYPTO_ABLK_HELPER
1466 select CRYPTO_GLUE_HELPER_X86 1464 select CRYPTO_GLUE_HELPER_X86
1467 select CRYPTO_SERPENT 1465 select CRYPTO_SERPENT
1466 select CRYPTO_SIMD
1468 select CRYPTO_XTS 1467 select CRYPTO_XTS
1469 help 1468 help
1470 Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1469 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
@@ -1481,13 +1480,7 @@ config CRYPTO_SERPENT_AVX_X86_64
1481config CRYPTO_SERPENT_AVX2_X86_64 1480config CRYPTO_SERPENT_AVX2_X86_64
1482 tristate "Serpent cipher algorithm (x86_64/AVX2)" 1481 tristate "Serpent cipher algorithm (x86_64/AVX2)"
1483 depends on X86 && 64BIT 1482 depends on X86 && 64BIT
1484 select CRYPTO_ALGAPI
1485 select CRYPTO_CRYPTD
1486 select CRYPTO_ABLK_HELPER
1487 select CRYPTO_GLUE_HELPER_X86
1488 select CRYPTO_SERPENT
1489 select CRYPTO_SERPENT_AVX_X86_64 1483 select CRYPTO_SERPENT_AVX_X86_64
1490 select CRYPTO_XTS
1491 help 1484 help
1492 Serpent cipher algorithm, by Anderson, Biham & Knudsen. 1485 Serpent cipher algorithm, by Anderson, Biham & Knudsen.
1493 1486