mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8f5f828ad6
This change ports SAE(Simultaneous Authentication of Equals) feature from wpa_supplicant and makes it work with mbedtls crypto APIs. Currently only group 19 is supported. A sample SAE handshake is included in the testcase. Other minor changes for DH groups are also included.
14 lines
622 B
CMake
14 lines
622 B
CMake
idf_component_register(SRC_DIRS "."
|
|
INCLUDE_DIRS "." "${CMAKE_CURRENT_BINARY_DIR}"
|
|
PRIV_INCLUDE_DIRS "../src"
|
|
REQUIRES unity esp_common test_utils wpa_supplicant mbedtls)
|
|
|
|
idf_component_get_property(esp_supplicant_dir wpa_supplicant COMPONENT_DIR)
|
|
|
|
# Calculate MD5 value of header file esp_wifi_driver.h
|
|
file(MD5 ${esp_supplicant_dir}/src/esp_supplicant/esp_wifi_driver.h WIFI_SUPPLICANT_MD5)
|
|
string(SUBSTRING "${WIFI_SUPPLICANT_MD5}" 0 7 WIFI_SUPPLICANT_MD5)
|
|
|
|
add_definitions(-DWIFI_SUPPLICANT_MD5=\"${WIFI_SUPPLICANT_MD5}\")
|
|
add_definitions(-DCONFIG_WPA3_SAE)
|