forked from espressif/esp-idf
fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1
This commit is contained in:
@@ -244,7 +244,7 @@ menu "Wi-Fi"
|
|||||||
config ESP32_WIFI_ENABLE_WPA3_SAE
|
config ESP32_WIFI_ENABLE_WPA3_SAE
|
||||||
bool "Enable WPA3-Personal"
|
bool "Enable WPA3-Personal"
|
||||||
default y
|
default y
|
||||||
depends on WPA_MBEDTLS_CRYPTO
|
select WPA_MBEDTLS_CRYPTO
|
||||||
help
|
help
|
||||||
Select this option to allow the device to establish a WPA3-Personal connection with eligible AP's.
|
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
|
PMF (Protected Management Frames) is a prerequisite feature for a WPA3 connection, it needs to be
|
||||||
|
Submodule components/esp_wifi/lib updated: 6fd120a997...ffefe60c4e
@@ -8,6 +8,7 @@ menu "Supplicant"
|
|||||||
select MBEDTLS_ECDH_C
|
select MBEDTLS_ECDH_C
|
||||||
select MBEDTLS_ECDSA_C
|
select MBEDTLS_ECDSA_C
|
||||||
select MBEDTLS_TLS_ENABLED
|
select MBEDTLS_TLS_ENABLED
|
||||||
|
select MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||||
help
|
help
|
||||||
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.
|
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.
|
||||||
|
|
||||||
|
@@ -77,7 +77,6 @@ int sae_set_group(struct sae_data *sae, int group)
|
|||||||
/* Unsupported group */
|
/* Unsupported group */
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"SAE: Group %d not supported by the crypto library", group);
|
"SAE: Group %d not supported by the crypto library", group);
|
||||||
os_free(tmp);
|
|
||||||
return ESP_FAIL;
|
return ESP_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user