2012-09-13 14:17:21 +00:00
|
|
|
menuconfig ASYMMETRIC_KEY_TYPE
|
|
|
|
tristate "Asymmetric (public-key cryptographic) key type"
|
|
|
|
depends on KEYS
|
|
|
|
help
|
|
|
|
This option provides support for a key type that holds the data for
|
|
|
|
the asymmetric keys used for public key cryptographic operations such
|
|
|
|
as encryption, decryption, signature generation and signature
|
|
|
|
verification.
|
|
|
|
|
|
|
|
if ASYMMETRIC_KEY_TYPE
|
|
|
|
|
2012-09-21 22:24:55 +00:00
|
|
|
config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
|
|
|
|
tristate "Asymmetric public-key crypto algorithm subtype"
|
|
|
|
select MPILIB
|
2013-08-30 15:15:18 +00:00
|
|
|
select PUBLIC_KEY_ALGO_RSA
|
2013-05-06 12:58:15 +00:00
|
|
|
select CRYPTO_HASH_INFO
|
2012-09-21 22:24:55 +00:00
|
|
|
help
|
|
|
|
This option provides support for asymmetric public key type handling.
|
|
|
|
If signature generation and/or verification are to be used,
|
|
|
|
appropriate hash algorithms (such as SHA-1) must be available.
|
|
|
|
ENOPKG will be reported if the requisite algorithm is unavailable.
|
2012-09-13 14:17:21 +00:00
|
|
|
|
2012-09-21 22:25:40 +00:00
|
|
|
config PUBLIC_KEY_ALGO_RSA
|
|
|
|
tristate "RSA public-key algorithm"
|
|
|
|
select MPILIB_EXTRA
|
2013-11-01 15:11:14 +00:00
|
|
|
select MPILIB
|
2012-09-21 22:25:40 +00:00
|
|
|
help
|
|
|
|
This option enables support for the RSA algorithm (PKCS#1, RFC3447).
|
|
|
|
|
2012-09-24 16:11:48 +00:00
|
|
|
config X509_CERTIFICATE_PARSER
|
|
|
|
tristate "X.509 certificate parser"
|
|
|
|
depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
|
|
|
|
select ASN1
|
|
|
|
select OID_REGISTRY
|
|
|
|
help
|
|
|
|
This option procides support for parsing X.509 format blobs for key
|
|
|
|
data and provides the ability to instantiate a crypto key from a
|
|
|
|
public key packet found inside the certificate.
|
|
|
|
|
2012-09-13 14:17:21 +00:00
|
|
|
endif # ASYMMETRIC_KEY_TYPE
|