summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2011-09-27 07:23:50 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-10-21 14:24:03 +0200
commita38f7907b926e4c6c7d389ad96cc38cec2e5a9e9 (patch)
treeb8b5735b794a5ba98b8dd05ba0c87d3c09971a67 /crypto/Kconfig
parent22e5b20be72e2e166c3ba915b01a59a8eb2dc71f (diff)
downloadlinux-a38f7907b926e4c6c7d389ad96cc38cec2e5a9e9.tar.bz2
crypto: Add userspace configuration API
This patch adds a basic userspace configuration API for the crypto layer. With this it is possible to instantiate, remove and to show crypto algorithms from userspace. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 404a846b1e43..a8442dca024d 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -100,6 +100,13 @@ config CRYPTO_MANAGER2
select CRYPTO_BLKCIPHER2
select CRYPTO_PCOMP2
+config CRYPTO_USER
+ tristate "Userspace cryptographic algorithm configuration"
+ select CRYPTO_MANAGER
+ help
+ Userapace configuration for cryptographic instantiations such as
+ cbc(aes).
+
config CRYPTO_MANAGER_DISABLE_TESTS
bool "Disable run-time self tests"
default y