Kconfig

CONFIG_ASYMMETRIC_KEY_TYPE Asymmetric (public-key cryptographic) key type

On

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

CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE Asymmetric public-key crypto algorithm subtype

  • Off
  • Module
  • Built in

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.

If ASYMMETRIC_PUBLIC_KEY_SUBTYPE

CONFIG_X509_CERTIFICATE_PARSER X.509 certificate parser

  • Off
  • Module
  • Built in

This option provides 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.

If PKCS7_MESSAGE_PARSER

CONFIG_PKCS7_WAIVE_AUTHATTRS_REJECTION_FOR_MLDSA Waive rejection of authenticatedAttributes for ML-DSA

On

Due to use of CMS_NOATTR with ML-DSA not being supported in OpenSSL < 4.0 (and thus any released version), enabling this allows authenticatedAttributes to be used with ML-DSA for module signing. Use of authenticatedAttributes in this context is normally rejected.

CONFIG_PKCS7_TEST_KEY PKCS#7 testing key type

  • Off
  • Module
  • Built in

This option provides a type of key that can be loaded up from a PKCS#7 message - provided the message is signed by a trusted key. If it is, the PKCS#7 wrapper is discarded and reading the key returns just the payload. If it isn't, adding the key will fail with an error.

This is intended for testing the PKCS#7 parser.

CONFIG_SIGNED_PE_FILE_VERIFICATION Support for PE file signature verification

On

This option provides support for verifying the signature(s) on a signed PE binary.