2018-08-13 08:37:56 +00:00
|
|
|
set(srcs "port/os_xtensa.c"
|
|
|
|
"src/ap/ap_config.c"
|
|
|
|
"src/ap/ieee802_1x.c"
|
|
|
|
"src/ap/wpa_auth.c"
|
|
|
|
"src/ap/wpa_auth_ie.c"
|
2020-04-29 13:14:10 +00:00
|
|
|
"src/common/sae.c"
|
2018-08-13 08:37:56 +00:00
|
|
|
"src/common/wpa_common.c"
|
2019-06-21 06:29:32 +00:00
|
|
|
"src/crypto/aes-cbc.c"
|
2020-04-29 12:59:39 +00:00
|
|
|
"src/crypto/aes-ccm.c"
|
2019-06-21 06:29:32 +00:00
|
|
|
"src/crypto/aes-internal-dec.c"
|
|
|
|
"src/crypto/aes-internal-enc.c"
|
|
|
|
"src/crypto/aes-internal.c"
|
2020-04-29 12:59:39 +00:00
|
|
|
"src/crypto/aes-omac1.c"
|
2019-06-21 06:29:32 +00:00
|
|
|
"src/crypto/aes-unwrap.c"
|
|
|
|
"src/crypto/aes-wrap.c"
|
2020-03-27 18:25:21 +00:00
|
|
|
"src/crypto/sha256-tlsprf.c"
|
2019-06-21 06:29:32 +00:00
|
|
|
"src/crypto/bignum.c"
|
2020-04-29 12:59:39 +00:00
|
|
|
"src/crypto/ccmp.c"
|
2019-06-21 06:29:32 +00:00
|
|
|
"src/crypto/crypto_mbedtls.c"
|
2019-08-06 11:40:16 +00:00
|
|
|
"src/crypto/crypto_ops.c"
|
2019-06-21 06:29:32 +00:00
|
|
|
"src/crypto/crypto_internal-cipher.c"
|
|
|
|
"src/crypto/crypto_internal-modexp.c"
|
|
|
|
"src/crypto/crypto_internal-rsa.c"
|
|
|
|
"src/crypto/crypto_internal.c"
|
|
|
|
"src/crypto/des-internal.c"
|
|
|
|
"src/crypto/dh_group5.c"
|
|
|
|
"src/crypto/dh_groups.c"
|
|
|
|
"src/crypto/md4-internal.c"
|
|
|
|
"src/crypto/md5-internal.c"
|
|
|
|
"src/crypto/md5.c"
|
|
|
|
"src/crypto/ms_funcs.c"
|
|
|
|
"src/crypto/rc4.c"
|
|
|
|
"src/crypto/sha1-internal.c"
|
|
|
|
"src/crypto/sha1-pbkdf2.c"
|
|
|
|
"src/crypto/sha1.c"
|
|
|
|
"src/crypto/sha256-internal.c"
|
|
|
|
"src/crypto/sha256.c"
|
2018-08-13 08:37:56 +00:00
|
|
|
"src/eap_peer/chap.c"
|
|
|
|
"src/eap_peer/eap.c"
|
|
|
|
"src/eap_peer/eap_common.c"
|
|
|
|
"src/eap_peer/eap_mschapv2.c"
|
|
|
|
"src/eap_peer/eap_peap.c"
|
|
|
|
"src/eap_peer/eap_peap_common.c"
|
|
|
|
"src/eap_peer/eap_tls.c"
|
|
|
|
"src/eap_peer/eap_tls_common.c"
|
|
|
|
"src/eap_peer/eap_ttls.c"
|
|
|
|
"src/eap_peer/mschapv2.c"
|
|
|
|
"src/esp_supplicant/esp_hostap.c"
|
|
|
|
"src/esp_supplicant/esp_wpa2.c"
|
|
|
|
"src/esp_supplicant/esp_wpa_main.c"
|
|
|
|
"src/esp_supplicant/esp_wpas_glue.c"
|
|
|
|
"src/esp_supplicant/esp_wps.c"
|
2020-04-29 13:15:29 +00:00
|
|
|
"src/esp_supplicant/esp_wpa3.c"
|
2019-09-19 11:23:56 +00:00
|
|
|
"src/rsn_supp/pmksa_cache.c"
|
2018-08-13 08:37:56 +00:00
|
|
|
"src/rsn_supp/wpa.c"
|
|
|
|
"src/rsn_supp/wpa_ie.c"
|
|
|
|
"src/tls/asn1.c"
|
|
|
|
"src/tls/bignum.c"
|
|
|
|
"src/tls/pkcs1.c"
|
|
|
|
"src/tls/pkcs5.c"
|
|
|
|
"src/tls/pkcs8.c"
|
|
|
|
"src/tls/rsa.c"
|
|
|
|
"src/tls/tls_internal.c"
|
|
|
|
"src/tls/tlsv1_client.c"
|
|
|
|
"src/tls/tlsv1_client_read.c"
|
|
|
|
"src/tls/tlsv1_client_write.c"
|
|
|
|
"src/tls/tlsv1_common.c"
|
|
|
|
"src/tls/tlsv1_cred.c"
|
|
|
|
"src/tls/tlsv1_record.c"
|
|
|
|
"src/tls/tlsv1_server.c"
|
|
|
|
"src/tls/tlsv1_server_read.c"
|
|
|
|
"src/tls/tlsv1_server_write.c"
|
|
|
|
"src/tls/x509v3.c"
|
|
|
|
"src/utils/base64.c"
|
|
|
|
"src/utils/common.c"
|
|
|
|
"src/utils/ext_password.c"
|
|
|
|
"src/utils/uuid.c"
|
|
|
|
"src/utils/wpabuf.c"
|
|
|
|
"src/utils/wpa_debug.c"
|
2019-06-21 06:29:32 +00:00
|
|
|
"src/wps/wps.c"
|
|
|
|
"src/wps/wps_attr_build.c"
|
|
|
|
"src/wps/wps_attr_parse.c"
|
|
|
|
"src/wps/wps_attr_process.c"
|
|
|
|
"src/wps/wps_common.c"
|
|
|
|
"src/wps/wps_dev_attr.c"
|
|
|
|
"src/wps/wps_enrollee.c"
|
|
|
|
"src/wps/wps_registrar.c"
|
|
|
|
"src/wps/wps_validate.c")
|
2018-01-12 02:49:13 +00:00
|
|
|
|
2019-04-28 07:38:23 +00:00
|
|
|
idf_component_register(SRCS "${srcs}"
|
2018-08-13 08:37:56 +00:00
|
|
|
INCLUDE_DIRS include port/include include/esp_supplicant
|
|
|
|
PRIV_INCLUDE_DIRS src
|
2019-04-28 07:38:23 +00:00
|
|
|
PRIV_REQUIRES mbedtls)
|
2018-01-12 02:49:13 +00:00
|
|
|
|
2019-05-10 02:53:08 +00:00
|
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-strict-aliasing)
|
|
|
|
target_compile_definitions(${COMPONENT_LIB} PRIVATE
|
2018-05-30 07:41:35 +00:00
|
|
|
__ets__
|
2018-08-13 08:37:56 +00:00
|
|
|
ESP_SUPPLICANT
|
2018-05-30 07:41:35 +00:00
|
|
|
IEEE8021X_EAPOL
|
|
|
|
EAP_PEER_METHOD
|
|
|
|
EAP_MSCHAPv2
|
|
|
|
EAP_TTLS
|
|
|
|
EAP_TLS
|
|
|
|
EAP_PEAP
|
|
|
|
USE_WPA2_TASK
|
|
|
|
CONFIG_WPS2
|
|
|
|
CONFIG_WPS_PIN
|
|
|
|
USE_WPS_TASK
|
|
|
|
ESPRESSIF_USE
|
|
|
|
ESP32_WORKAROUND
|
2018-08-31 13:55:48 +00:00
|
|
|
CONFIG_ECC
|
2020-03-27 18:25:21 +00:00
|
|
|
CONFIG_TLSV12
|
|
|
|
CONFIG_SHA256
|
2020-04-30 13:17:02 +00:00
|
|
|
CONFIG_IEEE80211W
|
2020-04-29 13:14:10 +00:00
|
|
|
CONFIG_WPA3_SAE
|
2018-05-30 07:41:35 +00:00
|
|
|
)
|