diff options
author | David Howells <dhowells@redhat.com> | 2013-08-30 11:15:18 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2013-09-25 10:51:07 -0400 |
commit | 206ce59a109f3b4bb352845bcd04f3cf504ae592 (patch) | |
tree | 5afe846814b64a64cb5bc6f27a9125eec435575a /crypto/asymmetric_keys/Kconfig | |
parent | 9abc4e66eb839c28516916543768be08c814a3c8 (diff) |
KEYS: Move the algorithm pointer array from x509 to public_key.c
Move the public-key algorithm pointer array from x509_public_key.c to
public_key.c as it isn't X.509 specific.
Note that to make this configure correctly, the public key part must be
dependent on the RSA module rather than the other way round. This needs a
further patch to make use of the crypto module loading stuff rather than using
a fixed table.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Josh Boyer <jwboyer@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys/Kconfig')
-rw-r--r-- | crypto/asymmetric_keys/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig index 6d2c2ea12559..862b01fe6172 100644 --- a/crypto/asymmetric_keys/Kconfig +++ b/crypto/asymmetric_keys/Kconfig | |||
@@ -12,6 +12,7 @@ if ASYMMETRIC_KEY_TYPE | |||
12 | config ASYMMETRIC_PUBLIC_KEY_SUBTYPE | 12 | config ASYMMETRIC_PUBLIC_KEY_SUBTYPE |
13 | tristate "Asymmetric public-key crypto algorithm subtype" | 13 | tristate "Asymmetric public-key crypto algorithm subtype" |
14 | select MPILIB | 14 | select MPILIB |
15 | select PUBLIC_KEY_ALGO_RSA | ||
15 | help | 16 | help |
16 | This option provides support for asymmetric public key type handling. | 17 | This option provides support for asymmetric public key type handling. |
17 | If signature generation and/or verification are to be used, | 18 | If signature generation and/or verification are to be used, |
@@ -20,7 +21,6 @@ config ASYMMETRIC_PUBLIC_KEY_SUBTYPE | |||
20 | 21 | ||
21 | config PUBLIC_KEY_ALGO_RSA | 22 | config PUBLIC_KEY_ALGO_RSA |
22 | tristate "RSA public-key algorithm" | 23 | tristate "RSA public-key algorithm" |
23 | depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE | ||
24 | select MPILIB_EXTRA | 24 | select MPILIB_EXTRA |
25 | help | 25 | help |
26 | This option enables support for the RSA algorithm (PKCS#1, RFC3447). | 26 | This option enables support for the RSA algorithm (PKCS#1, RFC3447). |