aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys/Kconfig
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-09-21 18:25:40 -0400
committerRusty Russell <rusty@rustcorp.com.au>2012-10-07 23:20:16 -0400
commit612e0fe99965a4028359cd1da5af56b7f6caf7f6 (patch)
treeff7fe3993067c3dc4f011ea702480add96b8e1e7 /crypto/asymmetric_keys/Kconfig
parent12f008b6dc5ff1c822fdb2198d20e3dbdc92f3f5 (diff)
RSA: Implement signature verification algorithm [PKCS#1 / RFC3447]
Implement RSA public key cryptography [PKCS#1 / RFC3447]. At this time, only the signature verification algorithm is supported. This uses the asymmetric public key subtype to hold its key data. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'crypto/asymmetric_keys/Kconfig')
-rw-r--r--crypto/asymmetric_keys/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig
index bbfccaa35293..561759d6a65f 100644
--- a/crypto/asymmetric_keys/Kconfig
+++ b/crypto/asymmetric_keys/Kconfig
@@ -18,4 +18,11 @@ config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
18 appropriate hash algorithms (such as SHA-1) must be available. 18 appropriate hash algorithms (such as SHA-1) must be available.
19 ENOPKG will be reported if the requisite algorithm is unavailable. 19 ENOPKG will be reported if the requisite algorithm is unavailable.
20 20
21config PUBLIC_KEY_ALGO_RSA
22 tristate "RSA public-key algorithm"
23 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
24 select MPILIB_EXTRA
25 help
26 This option enables support for the RSA algorithm (PKCS#1, RFC3447).
27
21endif # ASYMMETRIC_KEY_TYPE 28endif # ASYMMETRIC_KEY_TYPE