2012-09-13 22:17:21 +08: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-22 06:24:55 +08:00
|
|
|
config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
|
|
|
|
tristate "Asymmetric public-key crypto algorithm subtype"
|
|
|
|
select MPILIB
|
2013-08-30 23:15:18 +08:00
|
|
|
select PUBLIC_KEY_ALGO_RSA
|
2013-05-06 20:58:15 +08:00
|
|
|
select CRYPTO_HASH_INFO
|
2012-09-22 06:24:55 +08: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 22:17:21 +08:00
|
|
|
|
2012-09-22 06:25:40 +08:00
|
|
|
config PUBLIC_KEY_ALGO_RSA
|
|
|
|
tristate "RSA public-key algorithm"
|
|
|
|
select MPILIB_EXTRA
|
2013-11-01 23:11:14 +08:00
|
|
|
select MPILIB
|
2012-09-22 06:25:40 +08:00
|
|
|
help
|
|
|
|
This option enables support for the RSA algorithm (PKCS#1, RFC3447).
|
|
|
|
|
2012-09-25 00:11:48 +08: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 22:17:21 +08:00
|
|
|
endif # ASYMMETRIC_KEY_TYPE
|