Skip to content

Commit

Permalink
[nrf noup] matter: Enable MBEDTLS_LEGACY_CRYPTO_C
Browse files Browse the repository at this point in the history
-The Kconfig CHIP_CRYPTO_PSA is not a configuration that will enable
 a pure PSA crypto build. There are still features required for
 legacy support. This commit enabled MBEDTLS_LEGACY_CRYPTO_C for now
 to ensure access to ECP (and mbedtls_ecp_muladd)

Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
  • Loading branch information
frkv authored and bjarki-andreasen committed Sep 25, 2024
1 parent 3cff066 commit c429269
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/nrfconnect/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ config MBEDTLS_ECP_C
default y

config MBEDTLS_ECP_DP_SECP256R1_ENABLED
bool
default y

endif # !CHIP_CRYPTO_PSA
Expand Down Expand Up @@ -422,6 +423,10 @@ config MBEDTLS_SSL_COOKIE_C
config MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
default y

config MBEDTLS_LEGACY_CRYPTO_C
bool
default y

# ==============================================================================
# Logging configuration
# ==============================================================================
Expand Down

0 comments on commit c429269

Please sign in to comment.