fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1

This commit is contained in:
Shreyas Sheth 2023-09-06 12:58:33 +05:30
parent 3d85e81be2
commit a319ccb552
5 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ menu "Wi-Fi"
config ESP32_WIFI_ENABLE_WPA3_SAE
bool "Enable WPA3-Personal"
default y
depends on WPA_MBEDTLS_CRYPTO
select WPA_MBEDTLS_CRYPTO
help
Select this option to allow the device to establish a WPA3-Personal connection with eligible AP's.
PMF (Protected Management Frames) is a prerequisite feature for a WPA3 connection, it needs to be

@ -1 +1 @@
Subproject commit 6fd120a997d581bbee290b1c6732c93869feef99
Subproject commit ffefe60c4ed6babde69f37456ddf1ea39e395c0a

View File

@ -8,6 +8,7 @@ menu "Supplicant"
select MBEDTLS_ECDH_C
select MBEDTLS_ECDSA_C
select MBEDTLS_TLS_ENABLED
select MBEDTLS_ECP_DP_SECP256R1_ENABLED
help
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.

View File

@ -77,7 +77,6 @@ int sae_set_group(struct sae_data *sae, int group)
/* Unsupported group */
wpa_printf(MSG_DEBUG,
"SAE: Group %d not supported by the crypto library", group);
os_free(tmp);
return ESP_FAIL;
}