blob: 509bc283112bcf6d8c9976b54438da2c32443dcd [file] [log] [blame]
AKASHI Takahiroc4e961e2019-11-13 09:44:58 +09001menuconfig ASYMMETRIC_KEY_TYPE
2 bool "Asymmetric (public-key cryptographic) key Support"
3 help
4 This option provides support for a key type that holds the data for
5 the asymmetric keys used for public key cryptographic operations such
6 as encryption, decryption, signature generation and signature
7 verification.
8
9if ASYMMETRIC_KEY_TYPE
10
Philippe Reynese44ec9f2022-03-28 22:56:57 +020011config SPL_ASYMMETRIC_KEY_TYPE
12 bool "Asymmetric (public-key cryptographic) key Support within SPL"
13 depends on SPL
14 help
15 This option provides support for a key type that holds the data for
16 the asymmetric keys used for public key cryptographic operations such
17 as encryption, decryption, signature generation and signature
18 verification in the SPL.
19
AKASHI Takahiroc4e961e2019-11-13 09:44:58 +090020config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
21 bool "Asymmetric public-key crypto algorithm subtype"
22 help
23 This option provides support for asymmetric public key type handling.
24 If signature generation and/or verification are to be used,
25 appropriate hash algorithms (such as SHA-1) must be available.
26 ENOPKG will be reported if the requisite algorithm is unavailable.
27
Philippe Reynese44ec9f2022-03-28 22:56:57 +020028config SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
29 bool "Asymmetric public-key crypto algorithm subtype within SPL"
30 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
31 help
32 This option provides support for asymmetric public key type handling in the SPL.
33 If signature generation and/or verification are to be used,
34 appropriate hash algorithms (such as SHA-1) must be available.
35 ENOPKG will be reported if the requisite algorithm is unavailable.
36
AKASHI Takahiro9b933bf2019-11-13 09:44:59 +090037config RSA_PUBLIC_KEY_PARSER
38 bool "RSA public key parser"
39 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
40 select ASN1_DECODER
41 select ASN1_COMPILER
42 select OID_REGISTRY
43 help
44 This option provides support for parsing a blob containing RSA
45 public key data and provides the ability to instantiate a public
46 key.
47
Philippe Reynese44ec9f2022-03-28 22:56:57 +020048config SPL_RSA_PUBLIC_KEY_PARSER
49 bool "RSA public key parser within SPL"
50 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
51 select SPL_ASN1_DECODER
52 select ASN1_COMPILER
53 select SPL_OID_REGISTRY
54 help
55 This option provides support for parsing a blob containing RSA
56 public key data and provides the ability to instantiate a public
57 key in the SPL.
58
AKASHI Takahirob4adf622019-11-13 09:45:00 +090059config X509_CERTIFICATE_PARSER
60 bool "X.509 certificate parser"
61 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
62 select ASN1_DECODER
63 select ASN1_COMPILER
64 select OID_REGISTRY
65 select LIB_DATE
66 help
67 This option provides support for parsing X.509 format blobs for key
68 data and provides the ability to instantiate a crypto key from a
69 public key packet found inside the certificate.
70
AKASHI Takahiroe85a7872019-11-13 09:45:01 +090071config PKCS7_MESSAGE_PARSER
72 bool "PKCS#7 message parser"
73 depends on X509_CERTIFICATE_PARSER
74 select ASN1_DECODER
75 select ASN1_COMPILER
76 select OID_REGISTRY
77 help
78 This option provides support for parsing PKCS#7 format messages for
79 signature data and provides the ability to verify the signature.
80
AKASHI Takahiro063499e2020-07-21 19:35:19 +090081config PKCS7_VERIFY
82 bool
83
AKASHI Takahiroc4e961e2019-11-13 09:44:58 +090084endif # ASYMMETRIC_KEY_TYPE