summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-08-13 17:28:58 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-08-17 16:53:44 +0800
commit149a39717dcce3b6ba15285c9fc86e4423437e05 (patch)
treeffd87240c6c75cf0b778eb0a6a7f1d60eb252cab /crypto/Kconfig
parent66008d4230f6e599275f1cf01db268fcaaadda44 (diff)
downloadlwn-149a39717dcce3b6ba15285c9fc86e4423437e05.tar.gz
lwn-149a39717dcce3b6ba15285c9fc86e4423437e05.zip
crypto: aead - Add type-safe geniv init/exit helpers
This patch adds the helpers aead_init_geniv and aead_exit_geniv which are type-safe and intended the replace the existing geniv init/exit helpers. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig11
1 files changed, 8 insertions, 3 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index ac7cc6226e61..0e35889e1662 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -48,6 +48,8 @@ config CRYPTO_AEAD
config CRYPTO_AEAD2
tristate
select CRYPTO_ALGAPI2
+ select CRYPTO_NULL2
+ select CRYPTO_RNG2
config CRYPTO_BLKCIPHER
tristate
@@ -150,12 +152,15 @@ config CRYPTO_GF128MUL
config CRYPTO_NULL
tristate "Null algorithms"
- select CRYPTO_ALGAPI
- select CRYPTO_BLKCIPHER
- select CRYPTO_HASH
+ select CRYPTO_NULL2
help
These are 'Null' algorithms, used by IPsec, which do nothing.
+config CRYPTO_NULL2
+ select CRYPTO_ALGAPI2
+ select CRYPTO_BLKCIPHER2
+ select CRYPTO_HASH2
+
config CRYPTO_PCRYPT
tristate "Parallel crypto engine"
depends on SMP