Skip to content

Conversation

@ArekBalysNordic
Copy link
Contributor

Summary

Added the CHIP_CRYPTO_USE_X509 kconfig option to enable or disable the x509 certificate processing for nrfconnect devices.

In some cases, we do not want to use x509 for Matter purposes, but it can be used for different use cases. In order to allow doing that and reducing the Matter footprint added the chip_crypto_use_x509 define that can control when the X509-related functions are added to the compilation.

Testing

In nrf-sdk

In some cases, we do not want to use x509 for Matter purposes,
but it can be used for different use cases. In order to allow
doing that and reducing the Matter footprint added the
chip_crypto_use_x509 define that can control when the
X509-related functions are added to the compilation.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
protocol.

config CHIP_CRYPTO_USE_X509
bool "MbedTLS X.509 certificate support"
Copy link
Collaborator

@LuDuda LuDuda Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to mention MbedTLS or rather say "x.509 certificate support" and instead do depends MBEDTLS or CHIP_CRYPTO_MBEDTLS (not sure which if any is correct)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but I will leave the default y if MBEDTLS_X509_LIBRARY instead of MBEDTLS

Added the CHIP_CRYPTO_USE_X509 kconfig option to enable or disable
the x509 certificate processing for nrfconnect devices.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
@ArekBalysNordic ArekBalysNordic merged commit bce9dd5 into nrfconnect:master Nov 26, 2025
12 checks passed
adigie pushed a commit to NordicBuilder/sdk-nrf that referenced this pull request Nov 26, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-connectedhomeip#679

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
carlescufi pushed a commit to nrfconnect/sdk-nrf that referenced this pull request Nov 26, 2025
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-connectedhomeip#679

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants