summaryrefslogtreecommitdiff
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
commit2da2418a8b84e4565f87884821a59b8ba1e0db3c (patch)
tree9965c6ae4074d834ef016a39ac15410d47f98228 /crypto/Kconfig
parentab60f2f90a1b31aabe40f27845d4776d5fe57dfc (diff)
downloadlinux-crypto-2da2418a8b84e4565f87884821a59b8ba1e0db3c.tar.gz
linux-crypto-2da2418a8b84e4565f87884821a59b8ba1e0db3c.zip
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 404a846b..a8442dca 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