summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-10-11 21:38:50 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-23 19:46:57 +1100
commitf15bcd0dd2290db4c312a0d91475ff98b0604403 (patch)
treecd06c22d794d33858d0e981febcf252ef0b101a3
parent8939e18bf1ffba0e0900cc47c5ece8ae02a3f9c9 (diff)
downloadlinux-crypto-f15bcd0dd2290db4c312a0d91475ff98b0604403.tar.gz
linux-crypto-f15bcd0dd2290db4c312a0d91475ff98b0604403.zip
crypto: sparc/des - convert to skcipher API
Convert the glue code for the SPARC64 DES opcodes implementations of DES-ECB, DES-CBC, 3DES-ECB, and 3DES-CBC from the deprecated "blkcipher" API to the "skcipher" API. This is needed in order for the blkcipher API to be removed. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index d331b9e8..8c38c2b7 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1354,6 +1354,7 @@ config CRYPTO_DES_SPARC64
depends on SPARC64
select CRYPTO_ALGAPI
select CRYPTO_LIB_DES
+ select CRYPTO_BLKCIPHER
help
DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3),
optimized using SPARC64 crypto opcodes.