Skip to content

Commit f9aee3f

Browse files
committed
[nrf toup] adjust Mbed TLS configuration defaults
Remove options that are gone. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent 822207f commit f9aee3f

1 file changed

Lines changed: 3 additions & 33 deletions

File tree

config/nrfconnect/chip-module/Kconfig.defaults

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,6 @@ config MBEDTLS_CIPHER_MODE_CTR
433433
config MBEDTLS_MD_C
434434
default y
435435

436-
config MBEDTLS_SHA1_C
437-
default y if CHIP_WIFI
438-
439436
config MBEDTLS_SHA256_C
440437
default y
441438

@@ -457,49 +454,22 @@ config MBEDTLS_X509_CSR_WRITE_C
457454
config MBEDTLS_ECP_C
458455
default y
459456

460-
config MBEDTLS_ECP_DP_SECP256R1_ENABLED
461-
default y
462-
463457
endif # !CHIP_CRYPTO_PSA
464458

459+
config MBEDTLS_ASN1_WRITE_C
460+
default y
461+
465462
config MBEDTLS_SSL_OUT_CONTENT_LEN
466463
default 900 if CHIP_WIFI
467464

468465
# Disable unneeded crypto operations
469466

470-
config MBEDTLS_SHA384_C
471-
default n
472-
473-
config MBEDTLS_SHA512_C
474-
default n
475-
476-
config MBEDTLS_CIPHER_MODE_XTS
477-
default n
478-
479-
config MBEDTLS_CHACHA20_C
480-
default n
481-
482-
config MBEDTLS_POLY1305_C
483-
default n
484-
485-
config MBEDTLS_CHACHAPOLY_C
486-
default n
487-
488-
config MBEDTLS_GCM_C
489-
default n
490-
491-
config MBEDTLS_RSA_C
492-
default n
493-
494467
config MBEDTLS_SSL_SRV_C
495468
default n
496469

497470
config MBEDTLS_SSL_COOKIE_C
498471
default n
499472

500-
config MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
501-
default y
502-
503473
# ==============================================================================
504474
# Logging configuration
505475
# ==============================================================================

0 commit comments

Comments
 (0)