1menuconfig ASYMMETRIC_KEY_TYPE 2 bool "Asymmetric (public-key cryptographic) key Support" 3 depends on FIT_SIGNATURE 4 help 5 This option provides support for a key type that holds the data for 6 the asymmetric keys used for public key cryptographic operations such 7 as encryption, decryption, signature generation and signature 8 verification. 9 10if ASYMMETRIC_KEY_TYPE 11 12config SPL_ASYMMETRIC_KEY_TYPE 13 bool "Asymmetric (public-key cryptographic) key Support within SPL" 14 depends on SPL 15 help 16 This option provides support for a key type that holds the data for 17 the asymmetric keys used for public key cryptographic operations such 18 as encryption, decryption, signature generation and signature 19 verification in the SPL. 20 21config ASYMMETRIC_PUBLIC_KEY_SUBTYPE 22 bool "Asymmetric public-key crypto algorithm subtype" 23 help 24 This option provides support for asymmetric public key type handling. 25 If signature generation and/or verification are to be used, 26 appropriate hash algorithms (such as SHA-1) must be available. 27 ENOPKG will be reported if the requisite algorithm is unavailable. 28 29config SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE 30 bool "Asymmetric public-key crypto algorithm subtype within SPL" 31 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE && SPL 32 help 33 This option provides support for asymmetric public key type handling in the SPL. 34 If signature generation and/or verification are to be used, 35 appropriate hash algorithms (such as SHA-1) must be available. 36 ENOPKG will be reported if the requisite algorithm is unavailable. 37 38config RSA_PUBLIC_KEY_PARSER 39 bool "RSA public key parser" 40 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE 41 select ASN1_DECODER 42 select ASN1_COMPILER 43 select OID_REGISTRY 44 help 45 This option provides support for parsing a blob containing RSA 46 public key data and provides the ability to instantiate a public 47 key. 48 49config SPL_RSA_PUBLIC_KEY_PARSER 50 bool "RSA public key parser within SPL" 51 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE && SPL 52 select SPL_ASN1_DECODER 53 select ASN1_COMPILER 54 select SPL_OID_REGISTRY 55 help 56 This option provides support for parsing a blob containing RSA 57 public key data and provides the ability to instantiate a public 58 key in the SPL. 59 60config X509_CERTIFICATE_PARSER 61 bool "X.509 certificate parser" 62 depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE 63 select ASN1_DECODER 64 select ASN1_COMPILER 65 select OID_REGISTRY 66 select LIB_DATE 67 help 68 This option provides support for parsing X.509 format blobs for key 69 data and provides the ability to instantiate a crypto key from a 70 public key packet found inside the certificate. 71 72config PKCS7_MESSAGE_PARSER 73 bool "PKCS#7 message parser" 74 depends on X509_CERTIFICATE_PARSER 75 select ASN1_DECODER 76 select ASN1_COMPILER 77 select OID_REGISTRY 78 help 79 This option provides support for parsing PKCS#7 format messages for 80 signature data and provides the ability to verify the signature. 81 82config PKCS7_VERIFY 83 bool 84 85config MSCODE_PARSER 86 bool "MS authenticode parser" 87 select ASN1_DECODER 88 select ASN1_COMPILER 89 select OID_REGISTRY 90 help 91 This option provides support for parsing MicroSoft's Authenticode 92 in pkcs7 message. 93 94endif # ASYMMETRIC_KEY_TYPE 95