File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
config/nrfconnect/chip-module
src/test_driver/nrfconnect Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ matter_add_gn_arg_bool ("chip_enable_read_client" CONFIG_CHIP_EN
161161matter_add_gn_arg_bool ("chip_mdns_minimal" CONFIG_WIFI_NRF70)
162162matter_add_gn_arg_bool ("chip_mdns_platform" CONFIG_OPENTHREAD)
163163matter_add_gn_arg_bool ("enable_im_pretty_print" CONFIG_CHIP_IM_PRETTY_PRINT)
164+ matter_add_gn_arg_bool ("chip_crypto_use_x509" CONFIG_CHIP_CRYPTO_USE_X509)
164165
165166matter_add_gn_arg_bool ("chip_system_config_use_sockets" NOT CONFIG_CHIP_USE_OPENTHREAD_ENDPOINT)
166167matter_add_gn_arg_bool ("chip_system_config_use_openthread_inet_endpoints" CONFIG_CHIP_USE_OPENTHREAD_ENDPOINT)
Original file line number Diff line number Diff line change @@ -269,4 +269,12 @@ config CHIP_LAST_FABRIC_REMOVED_ACTION_DELAY
269269 After removing the last fabric the device will wait for the defined time and then perform
270270 an action chosen by the CHIP_LAST_FABRIC_REMOVED_ACTION option. This schedule will allow for
271271 avoiding race conditions before the device removes non-volatile data.
272+
273+ config CHIP_CRYPTO_USE_X509
274+ bool "MbedTLS X.509 certificate support"
275+ default n if CHIP_CRYPTO_PSA
276+ default y if MBEDTLS_X509_LIBRARY # We still need it to be enabled if we use mbedTLS as the crypto backend
277+ help
278+ Enables X.509 certificate support for Matter.
279+
272280endif # CHIP
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ set(CHIP_CFLAGS
4141 -DCHIP_SYSTEM_CONFIG_USE_ZEPHYR_SOCKET_EXTENSIONS=0
4242 -DCHIP_SYSTEM_CONFIG_USE_ZEPHYR_NET_IF=0
4343 -DCHIP_SYSTEM_CONFIG_USE_BSD_IFADDRS=1
44+ -DCHIP_CRYPTO_USE_X509=1
4445 -I${CMAKE_CURRENT_SOURCE_DIR} /main/include
4546)
4647
You can’t perform that action at this time.
0 commit comments