summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-10-12 07:38:50 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-23 11:46:57 +0300
commitcd5d2f8457468df573085f91dd7b37ab8350a9af (patch)
tree14b0802f8a2fa3d328591f76ea601745fbd6cf49 /crypto
parentc72a26ef6b259ccdbaa3f866b404d6ce1312ec30 (diff)
downloadlinux-cd5d2f8457468df573085f91dd7b37ab8350a9af.tar.xz
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>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index d331b9e85039..8c38c2b7f8e7 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.