wifi: hostap: Fixing naming collisions for some TLS configurations

-Mbed TLS has come up with its own naming-convention with regards
 to certain Mbed TLS configurations for TLS/DTLS and X.509. This
 commit fixes a couple of them by depending on MBEDTLS_BUILTIN
 which is set when Kconfig.tls-generic is used
 1. Make MBEDTLS_PEM_CERTIFICATE_FORMAT depend on MBEDTLS_BUILTIN
    The proper name for this functionaity is MBEDTL_PEM_PARSE_C and
    MBEDTLS_PEM_WRITE_C
 2. Make MBEDTLS_SERVER_NAME_INDICATION depend on MBEDTLS_BUILTIN
    The proper name for this is MBEDTLS_SSL_SERVER_NAME_INDICATION

Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
This commit is contained in:
Frank Audun Kvamtrø 2025-01-28 12:35:03 +01:00 committed by Benjamin Cabé
commit b0cc4fe0de

View file

@ -184,8 +184,8 @@ config WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA
config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE config WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE
bool "Enterprise Crypto support for WiFi" bool "Enterprise Crypto support for WiFi"
select MBEDTLS_PEM_CERTIFICATE_FORMAT select MBEDTLS_PEM_CERTIFICATE_FORMAT if MBEDTLS_BUILTIN
select MBEDTLS_SERVER_NAME_INDICATION select MBEDTLS_SERVER_NAME_INDICATION if MBEDTLS_BUILTIN
select MBEDTLS_X509_CRL_PARSE_C select MBEDTLS_X509_CRL_PARSE_C
select MBEDTLS_TLS_VERSION_1_2 select MBEDTLS_TLS_VERSION_1_2
depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE depends on !WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE