diff options
author | David Howells <dhowells@redhat.com> | 2012-09-21 18:24:55 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-10-07 23:20:14 -0400 |
commit | a9681bf3dd7ccd2b32eba27d327ab76607429f7a (patch) | |
tree | 667676a21ec5f72e15d37c9db7fb3a77c10bc0cd /crypto/asymmetric_keys/Kconfig | |
parent | 46c6f1776e2f53eebb1fc361946877bab7533227 (diff) |
KEYS: Asymmetric public-key algorithm crypto key subtype
Add a subtype for supporting asymmetric public-key encryption algorithms such
as DSA (FIPS-186) and RSA (PKCS#1 / RFC1337).
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/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig index cad29b3efa0e..bbfccaa35293 100644 --- a/crypto/asymmetric_keys/Kconfig +++ b/crypto/asymmetric_keys/Kconfig | |||
@@ -9,5 +9,13 @@ menuconfig ASYMMETRIC_KEY_TYPE | |||
9 | 9 | ||
10 | if ASYMMETRIC_KEY_TYPE | 10 | if ASYMMETRIC_KEY_TYPE |
11 | 11 | ||
12 | config ASYMMETRIC_PUBLIC_KEY_SUBTYPE | ||
13 | tristate "Asymmetric public-key crypto algorithm subtype" | ||
14 | select MPILIB | ||
15 | help | ||
16 | This option provides support for asymmetric public key type handling. | ||
17 | If signature generation and/or verification are to be used, | ||
18 | appropriate hash algorithms (such as SHA-1) must be available. | ||
19 | ENOPKG will be reported if the requisite algorithm is unavailable. | ||
12 | 20 | ||
13 | endif # ASYMMETRIC_KEY_TYPE | 21 | endif # ASYMMETRIC_KEY_TYPE |