Skip to content

Commit

Permalink
openthread: fix tcat dependent configs
Browse files Browse the repository at this point in the history
Add missing dependencies on `OPENTHREAD_BLE_TCAT`

Signed-off-by: Maciej Baczmanski <[email protected]>
  • Loading branch information
maciejbaczmanski committed Jan 27, 2025
1 parent 3e7e7b9 commit e730ad8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions subsys/net/openthread/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ config OPENTHREAD_NRF_SECURITY_PSA
bool
select NRF_SECURITY
select MBEDTLS_ENABLE_HEAP if (!OPENTHREAD_COPROCESSOR_RCP && !BUILD_WITH_TFM && !PSA_SSF_CRYPTO_CLIENT)
select MBEDTLS_TLS_LIBRARY if (OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS)
select MBEDTLS_TLS_LIBRARY if (OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)
select MBEDTLS_PEM_PARSE_C if (OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)
select PSA_WANT_ALG_HKDF
select PSA_WANT_ALG_CCM
Expand All @@ -44,8 +44,8 @@ config OPENTHREAD_NRF_SECURITY_PSA
select PSA_WANT_ALG_SHA_256
select PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
select PSA_WANT_ALG_GCM if OPENTHREAD_BLE_TCAT
select PSA_WANT_ALG_JPAKE if (OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER)
select PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS if (OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER)
select PSA_WANT_ALG_JPAKE if (OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_BLE_TCAT)
select PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS if (OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_BLE_TCAT)
select PSA_WANT_ALG_DETERMINISTIC_ECDSA if OPENTHREAD_ECDSA
select PSA_WANT_ALG_ECDSA if OPENTHREAD_ECDSA
select PSA_WANT_ALG_ECDH if OPENTHREAD_ECDSA
Expand Down
10 changes: 5 additions & 5 deletions subsys/net/openthread/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ config MBEDTLS_PROMPTLESS
default n

config MBEDTLS_SSL_PROTO_DTLS
default n if !(OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS)
default n if !(OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)
default y

config MBEDTLS_SSL_MAX_FRAGMENT_LENGTH
default n if !(OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS)
default n if !(OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)
default y

config MBEDTLS_ENTROPY_C
Expand Down Expand Up @@ -125,17 +125,17 @@ config MBEDTLS_GCM_C
config MBEDTLS_CIPHER_MODE_XTS
default n

if !(OPENTHREAD_BORDER_AGENT || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS)
if !(OPENTHREAD_BORDER_AGENT || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)

config MBEDTLS_SSL_SRV_C
default n

config MBEDTLS_SSL_COOKIE_C
default n

endif # !(OPENTHREAD_BORDER_AGENT || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS)
endif # !(OPENTHREAD_BORDER_AGENT || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)

if !(OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS)
if !(OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)

config MBEDTLS_SSL_CLI_C
default n
Expand Down

0 comments on commit e730ad8

Please sign in to comment.