Kconfig 3.1 KB

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