summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2015-06-16 10:31:01 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-17 17:03:53 +0800
commitcfc2bb32b31371d6bffc6bf2da3548f20ad48c83 (patch)
tree2231b8e6cd97e74078db3560303a30a4d270e9a9 /crypto/Kconfig
parent3c339ab83fc09d9d91fb7e8b4a60e8ddc91de417 (diff)
downloadlinux-cfc2bb32b31371d6bffc6bf2da3548f20ad48c83.tar.gz
linux-cfc2bb32b31371d6bffc6bf2da3548f20ad48c83.tar.bz2
linux-cfc2bb32b31371d6bffc6bf2da3548f20ad48c83.zip
crypto: rsa - add a new rsa generic implementation
Add a new rsa generic SW implementation. This implements only cryptographic primitives. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Added select on ASN1. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index eb0aca45d430..d6b2a8b68143 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -100,6 +100,14 @@ config CRYPTO_AKCIPHER
select CRYPTO_AKCIPHER2
select CRYPTO_ALGAPI
+config CRYPTO_RSA
+ tristate "RSA algorithm"
+ select AKCIPHER
+ select MPILIB
+ select ASN1
+ help
+ Generic implementation of the RSA public key algorithm.
+
config CRYPTO_MANAGER
tristate "Cryptographic algorithm manager"
select CRYPTO_MANAGER2