Kconfig 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. menuconfig 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. if ASYMMETRIC_KEY_TYPE
  9. config ASYMMETRIC_PUBLIC_KEY_SUBTYPE
  10. bool "Asymmetric public-key crypto algorithm subtype"
  11. help
  12. This option provides support for asymmetric public key type handling.
  13. If signature generation and/or verification are to be used,
  14. appropriate hash algorithms (such as SHA-1) must be available.
  15. ENOPKG will be reported if the requisite algorithm is unavailable.
  16. config RSA_PUBLIC_KEY_PARSER
  17. bool "RSA public key parser"
  18. depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
  19. select ASN1_DECODER
  20. select ASN1_COMPILER
  21. select OID_REGISTRY
  22. help
  23. This option provides support for parsing a blob containing RSA
  24. public key data and provides the ability to instantiate a public
  25. key.
  26. config X509_CERTIFICATE_PARSER
  27. bool "X.509 certificate parser"
  28. depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
  29. select ASN1_DECODER
  30. select ASN1_COMPILER
  31. select OID_REGISTRY
  32. select LIB_DATE
  33. help
  34. This option provides support for parsing X.509 format blobs for key
  35. data and provides the ability to instantiate a crypto key from a
  36. public key packet found inside the certificate.
  37. config PKCS7_MESSAGE_PARSER
  38. bool "PKCS#7 message parser"
  39. depends on X509_CERTIFICATE_PARSER
  40. select ASN1_DECODER
  41. select ASN1_COMPILER
  42. select OID_REGISTRY
  43. help
  44. This option provides support for parsing PKCS#7 format messages for
  45. signature data and provides the ability to verify the signature.
  46. endif # ASYMMETRIC_KEY_TYPE