Remove src/crypto from default include path

In addition, start ordering header file includes to be in more
consistent order: system header files, src/utils, src/*, same
directory as the *.c file.
This commit is contained in:
Jouni Malinen 2009-11-29 23:04:43 +02:00
parent 5586f500a0
commit 03da66bd59
92 changed files with 219 additions and 240 deletions

View File

@ -18,9 +18,7 @@ CONFIG_TLS=openssl
CFLAGS += -I. CFLAGS += -I.
CFLAGS += -I../src CFLAGS += -I../src
CFLAGS += -I../src/crypto
CFLAGS += -I../src/utils CFLAGS += -I../src/utils
CFLAGS += -I../src/common
# at least for now, need to include config_ssid.h and config_blob.h from # at least for now, need to include config_ssid.h and config_blob.h from
# wpa_supplicant directory # wpa_supplicant directory

View File

@ -16,8 +16,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/tls.h"
#include "eap_server/eap.h" #include "eap_server/eap.h"
#include "tls.h"
#include "wpabuf.h" #include "wpabuf.h"
void eap_example_peer_rx(const u8 *data, size_t data_len); void eap_example_peer_rx(const u8 *data, size_t data_len);

View File

@ -7,7 +7,6 @@ CFLAGS = -MMD -O2 -Wall -g
endif endif
CFLAGS += -I../src CFLAGS += -I../src
CFLAGS += -I../src/crypto
CFLAGS += -I../src/utils CFLAGS += -I../src/utils
# Uncomment following line and set the path to your kernel tree include # Uncomment following line and set the path to your kernel tree include

View File

@ -19,16 +19,16 @@
#endif /* CONFIG_NATIVE_WINDOWS */ #endif /* CONFIG_NATIVE_WINDOWS */
#include "common.h" #include "common.h"
#include "hostapd.h" #include "crypto/sha1.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "sha1.h"
#include "eap_server/eap.h"
#include "radius/radius_client.h" #include "radius/radius_client.h"
#include "common/ieee802_11_defs.h" #include "common/ieee802_11_defs.h"
#include "common/wpa_common.h" #include "common/wpa_common.h"
#include "eap_common/eap_wsc_common.h"
#include "eap_server/eap.h"
#include "hostapd.h"
#include "wpa.h" #include "wpa.h"
#include "uuid.h" #include "uuid.h"
#include "eap_common/eap_wsc_common.h"
#include "sta_info.h" #include "sta_info.h"
#include "config.h" #include "config.h"

View File

@ -16,30 +16,30 @@
#include "common.h" #include "common.h"
#include "eloop.h" #include "eloop.h"
#include "crypto/tls.h"
#include "common/ieee802_11_defs.h"
#include "eapol_auth/eapol_auth_sm.h"
#include "radius/radius_client.h"
#include "radius/radius_server.h"
#include "eap_server/eap_sim_db.h"
#include "eap_server/eap.h"
#include "eap_server/tncs.h"
#include "l2_packet/l2_packet.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_1x.h" #include "ieee802_1x.h"
#include "beacon.h" #include "beacon.h"
#include "hw_features.h" #include "hw_features.h"
#include "accounting.h" #include "accounting.h"
#include "eapol_auth/eapol_auth_sm.h"
#include "iapp.h" #include "iapp.h"
#include "common/ieee802_11_defs.h"
#include "ieee802_11_auth.h" #include "ieee802_11_auth.h"
#include "sta_flags.h" #include "sta_flags.h"
#include "sta_info.h" #include "sta_info.h"
#include "ap_list.h" #include "ap_list.h"
#include "driver_i.h" #include "driver_i.h"
#include "radius/radius_client.h"
#include "radius/radius_server.h"
#include "wpa.h" #include "wpa.h"
#include "preauth.h" #include "preauth.h"
#include "vlan_init.h" #include "vlan_init.h"
#include "ctrl_iface.h" #include "ctrl_iface.h"
#include "tls.h"
#include "eap_server/eap_sim_db.h"
#include "eap_server/eap.h"
#include "eap_server/tncs.h"
#include "l2_packet/l2_packet.h"
#include "wps_hostapd.h" #include "wps_hostapd.h"
#include "tkip_countermeasures.h" #include "tkip_countermeasures.h"

View File

@ -21,16 +21,17 @@
#include "common.h" #include "common.h"
#include "eloop.h" #include "eloop.h"
#include "crypto/crypto.h"
#include "common/wpa_ctrl.h"
#include "radius/radius.h"
#include "radius/radius_client.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "beacon.h" #include "beacon.h"
#include "hw_features.h" #include "hw_features.h"
#include "radius/radius.h"
#include "radius/radius_client.h"
#include "ieee802_11_auth.h" #include "ieee802_11_auth.h"
#include "sta_flags.h" #include "sta_flags.h"
#include "sta_info.h" #include "sta_info.h"
#include "crypto.h"
#include "ieee802_1x.h" #include "ieee802_1x.h"
#include "wpa.h" #include "wpa.h"
#include "wme.h" #include "wme.h"
@ -38,7 +39,6 @@
#include "accounting.h" #include "accounting.h"
#include "driver_i.h" #include "driver_i.h"
#include "mlme.h" #include "mlme.h"
#include "common/wpa_ctrl.h"
u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid)

View File

@ -15,15 +15,17 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "hostapd.h" #include "eloop.h"
#include "ieee802_1x.h" #include "crypto/md5.h"
#include "accounting.h" #include "crypto/crypto.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "radius/radius.h" #include "radius/radius.h"
#include "radius/radius_client.h" #include "radius/radius_client.h"
#include "eapol_auth/eapol_auth_sm.h" #include "eapol_auth/eapol_auth_sm.h"
#include "md5.h" #include "hostapd.h"
#include "crypto.h" #include "ieee802_1x.h"
#include "eloop.h" #include "accounting.h"
#include "sta_flags.h" #include "sta_flags.h"
#include "sta_info.h" #include "sta_info.h"
#include "wpa.h" #include "wpa.h"
@ -32,8 +34,6 @@
#include "driver_i.h" #include "driver_i.h"
#include "hw_features.h" #include "hw_features.h"
#include "eap_server/eap.h" #include "eap_server/eap.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
static void ieee802_1x_finished(struct hostapd_data *hapd, static void ieee802_1x_finished(struct hostapd_data *hapd,

View File

@ -18,13 +18,13 @@
#endif /* CONFIG_NATIVE_WINDOWS */ #endif /* CONFIG_NATIVE_WINDOWS */
#include "common.h" #include "common.h"
#include "hostapd.h"
#include "eloop.h" #include "eloop.h"
#include "crypto/tls.h"
#include "common/version.h" #include "common/version.h"
#include "config.h"
#include "tls.h"
#include "eap_server/eap.h" #include "eap_server/eap.h"
#include "eap_server/tncs.h" #include "eap_server/tncs.h"
#include "hostapd.h"
#include "config.h"
extern int wpa_debug_level; extern int wpa_debug_level;

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "ms_funcs.h" #include "crypto/ms_funcs.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])

View File

@ -16,8 +16,8 @@
#include "common.h" #include "common.h"
#include "eloop.h" #include "eloop.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "sha256.h" #include "crypto/sha256.h"
#include "wpa.h" #include "wpa.h"
#include "wpa_auth_i.h" #include "wpa_auth_i.h"
#include "wpa_auth_ie.h" #include "wpa_auth_ie.h"

View File

@ -19,8 +19,6 @@
#include "config.h" #include "config.h"
#include "common.h" #include "common.h"
#include "eloop.h" #include "eloop.h"
#include "sha1.h"
#include "sha256.h"
#include "eapol_auth/eapol_auth_sm.h" #include "eapol_auth/eapol_auth_sm.h"
#include "pmksa_cache.h" #include "pmksa_cache.h"

View File

@ -17,14 +17,14 @@
#ifndef CONFIG_NATIVE_WINDOWS #ifndef CONFIG_NATIVE_WINDOWS
#include "common.h" #include "common.h"
#include "config.h"
#include "eapol_auth/eapol_auth_sm.h"
#include "wpa.h"
#include "sha1.h"
#include "sha256.h"
#include "aes_wrap.h"
#include "crypto.h"
#include "eloop.h" #include "eloop.h"
#include "crypto/aes_wrap.h"
#include "crypto/crypto.h"
#include "crypto/sha1.h"
#include "crypto/sha256.h"
#include "eapol_auth/eapol_auth_sm.h"
#include "config.h"
#include "wpa.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "pmksa_cache.h" #include "pmksa_cache.h"
#include "state_machine.h" #include "state_machine.h"

View File

@ -15,9 +15,9 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/aes_wrap.h"
#include "config.h" #include "config.h"
#include "wpa.h" #include "wpa.h"
#include "aes_wrap.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "wme.h" #include "wme.h"
#include "wpa_auth_i.h" #include "wpa_auth_i.h"

View File

@ -15,21 +15,21 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "hostapd.h"
#include "driver_i.h"
#include "eloop.h" #include "eloop.h"
#include "uuid.h" #include "uuid.h"
#include "crypto/dh_groups.h"
#include "common/wpa_ctrl.h" #include "common/wpa_ctrl.h"
#include "common/ieee802_11_defs.h" #include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h" #include "common/ieee802_11_common.h"
#include "sta_flags.h"
#include "sta_info.h"
#include "eapol_auth/eapol_auth_sm.h" #include "eapol_auth/eapol_auth_sm.h"
#include "wps/wps.h" #include "wps/wps.h"
#include "wps/wps_defs.h" #include "wps/wps_defs.h"
#include "wps/wps_dev_attr.h" #include "wps/wps_dev_attr.h"
#include "hostapd.h"
#include "driver_i.h"
#include "sta_flags.h"
#include "sta_info.h"
#include "wps_hostapd.h" #include "wps_hostapd.h"
#include "dh_groups.h"
#ifdef CONFIG_WPS_UPNP #ifdef CONFIG_WPS_UPNP

View File

@ -15,11 +15,11 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "md5.h" #include "crypto/md5.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "sha256.h" #include "crypto/sha256.h"
#include "aes_wrap.h" #include "crypto/aes_wrap.h"
#include "crypto.h" #include "crypto/crypto.h"
#include "ieee802_11_defs.h" #include "ieee802_11_defs.h"
#include "defs.h" #include "defs.h"
#include "wpa_common.h" #include "wpa_common.h"

View File

@ -20,7 +20,7 @@
#include "common.h" #include "common.h"
#include "driver.h" #include "driver.h"
#include "eloop.h" #include "eloop.h"
#include "ieee802_11_defs.h" #include "common/ieee802_11_defs.h"
#include "MobileApple80211.h" #include "MobileApple80211.h"

View File

@ -31,7 +31,7 @@
#include "driver.h" #include "driver.h"
#include "l2_packet/l2_packet.h" #include "l2_packet/l2_packet.h"
#include "eloop.h" #include "eloop.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "common/ieee802_11_defs.h" #include "common/ieee802_11_defs.h"
#include "../../hostapd/hostapd.h" #include "../../hostapd/hostapd.h"

View File

@ -15,8 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "md5.h" #include "crypto/crypto.h"
#include "crypto.h"
#include "chap.h" #include "chap.h"
int chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge, int chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge,

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "tls.h" #include "crypto/tls.h"
#include "eap_defs.h" #include "eap_defs.h"
#include "eap_tlv_common.h" #include "eap_tlv_common.h"
#include "eap_fast_common.h" #include "eap_fast_common.h"

View File

@ -15,12 +15,9 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/aes_wrap.h"
#include "crypto/sha256.h"
#include "eap_defs.h" #include "eap_defs.h"
#include "aes_wrap.h"
#include "crypto.h"
#ifdef EAP_GPSK_SHA256
#include "sha256.h"
#endif /* EAP_GPSK_SHA256 */
#include "eap_gpsk_common.h" #include "eap_gpsk_common.h"

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "eap_pax_common.h" #include "eap_pax_common.h"

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "eap_peap_common.h" #include "eap_peap_common.h"
void peap_prfplus(int version, const u8 *key, size_t key_len, void peap_prfplus(int version, const u8 *key, size_t key_len,

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "aes_wrap.h" #include "crypto/aes_wrap.h"
#include "eap_defs.h" #include "eap_defs.h"
#include "eap_psk_common.h" #include "eap_psk_common.h"

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h"
#include "wpabuf.h" #include "wpabuf.h"
#include "crypto/sha1.h"
#include "eap_defs.h" #include "eap_defs.h"
#include "eap_sake_common.h" #include "eap_sake_common.h"

View File

@ -15,12 +15,12 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_common/eap_defs.h"
#include "sha1.h"
#include "sha256.h"
#include "crypto.h"
#include "aes_wrap.h"
#include "wpabuf.h" #include "wpabuf.h"
#include "crypto/aes_wrap.h"
#include "crypto/crypto.h"
#include "crypto/sha1.h"
#include "crypto/sha256.h"
#include "eap_common/eap_defs.h"
#include "eap_common/eap_sim_common.h" #include "eap_common/eap_sim_common.h"

View File

@ -15,9 +15,9 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/crypto.h"
#include "md5.h" #include "crypto/md5.h"
#include "crypto.h" #include "crypto/sha1.h"
#include "ikev2_common.h" #include "ikev2_common.h"

View File

@ -24,14 +24,14 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "pcsc_funcs.h"
#include "state_machine.h"
#include "crypto/crypto.h"
#include "crypto/tls.h"
#include "common/wpa_ctrl.h"
#include "eap_common/eap_wsc_common.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_config.h" #include "eap_config.h"
#include "tls.h"
#include "crypto.h"
#include "pcsc_funcs.h"
#include "common/wpa_ctrl.h"
#include "state_machine.h"
#include "eap_common/eap_wsc_common.h"
#define STATE_MACHINE_DATA struct eap_sm #define STATE_MACHINE_DATA struct eap_sm
#define STATE_MACHINE_DEBUG_PREFIX "EAP" #define STATE_MACHINE_DEBUG_PREFIX "EAP"

View File

@ -15,16 +15,14 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_peer/eap_i.h"
#include "pcsc_funcs.h" #include "pcsc_funcs.h"
#include "eap_common/eap_sim_common.h" #include "crypto/crypto.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "sha256.h" #include "crypto/sha256.h"
#include "crypto.h"
#include "eap_peer/eap_config.h"
#ifdef CONFIG_USIM_SIMULATOR
#include "hlr_auc_gw/milenage.h" #include "hlr_auc_gw/milenage.h"
#endif /* CONFIG_USIM_SIMULATOR */ #include "eap_common/eap_sim_common.h"
#include "eap_config.h"
#include "eap_i.h"
struct eap_aka_data { struct eap_aka_data {

View File

@ -15,12 +15,12 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/tls.h"
#include "crypto/sha1.h"
#include "eap_common/eap_tlv_common.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_tls_common.h" #include "eap_tls_common.h"
#include "eap_config.h" #include "eap_config.h"
#include "tls.h"
#include "eap_common/eap_tlv_common.h"
#include "sha1.h"
#include "eap_fast_pac.h" #include "eap_fast_pac.h"
#ifdef EAP_FAST_DYNAMIC #ifdef EAP_FAST_DYNAMIC

View File

@ -15,9 +15,9 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/ms_funcs.h"
#include "crypto/crypto.h"
#include "eap_i.h" #include "eap_i.h"
#include "ms_funcs.h"
#include "crypto.h"
#define LEAP_VERSION 1 #define LEAP_VERSION 1
#define LEAP_CHALLENGE_LEN 8 #define LEAP_CHALLENGE_LEN 8

View File

@ -22,11 +22,11 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_i.h" #include "crypto/ms_funcs.h"
#include "eap_config.h"
#include "ms_funcs.h"
#include "common/wpa_ctrl.h" #include "common/wpa_ctrl.h"
#include "mschapv2.h" #include "mschapv2.h"
#include "eap_i.h"
#include "eap_config.h"
#ifdef _MSC_VER #ifdef _MSC_VER

View File

@ -15,10 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_peer/eap_i.h"
#include "eap_common/eap_pax_common.h" #include "eap_common/eap_pax_common.h"
#include "sha1.h" #include "eap_i.h"
#include "crypto.h"
/* /*
* Note: only PAX_STD subprotocol is currently supported * Note: only PAX_STD subprotocol is currently supported

View File

@ -16,12 +16,12 @@
#include "common.h" #include "common.h"
#include "crypto/sha1.h" #include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_common/eap_tlv_common.h"
#include "eap_common/eap_peap_common.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_tls_common.h" #include "eap_tls_common.h"
#include "eap_config.h" #include "eap_config.h"
#include "tls.h"
#include "eap_common/eap_tlv_common.h"
#include "eap_common/eap_peap_common.h"
#include "tncc.h" #include "tncc.h"

View File

@ -18,9 +18,9 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_peer/eap_i.h" #include "crypto/aes_wrap.h"
#include "aes_wrap.h"
#include "eap_common/eap_psk_common.h" #include "eap_common/eap_psk_common.h"
#include "eap_i.h"
struct eap_psk_data { struct eap_psk_data {

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/tls.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_tls_common.h" #include "eap_tls_common.h"
#include "eap_config.h" #include "eap_config.h"
#include "tls.h"
static void eap_tls_deinit(struct eap_sm *sm, void *priv); static void eap_tls_deinit(struct eap_sm *sm, void *priv);

View File

@ -15,11 +15,11 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_tls_common.h" #include "eap_tls_common.h"
#include "eap_config.h" #include "eap_config.h"
#include "sha1.h"
#include "tls.h"
static int eap_tls_check_blob(struct eap_sm *sm, const char **name, static int eap_tls_check_blob(struct eap_sm *sm, const char **name,

View File

@ -15,15 +15,14 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_peer/eap_i.h" #include "crypto/ms_funcs.h"
#include "eap_peer/eap_tls_common.h" #include "crypto/tls.h"
#include "eap_peer/eap_config.h"
#include "ms_funcs.h"
#include "sha1.h"
#include "eap_common/chap.h" #include "eap_common/chap.h"
#include "tls.h"
#include "mschapv2.h"
#include "eap_common/eap_ttls.h" #include "eap_common/eap_ttls.h"
#include "mschapv2.h"
#include "eap_i.h"
#include "eap_tls_common.h"
#include "eap_config.h"
/* Maximum supported TTLS version /* Maximum supported TTLS version

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "dh_groups.h" #include "crypto/dh_groups.h"
#include "ikev2.h" #include "ikev2.h"

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "ms_funcs.h" #include "crypto/ms_funcs.h"
#include "mschapv2.h" #include "mschapv2.h"
const u8 * mschapv2_remove_domain(const u8 *username, size_t *len) const u8 * mschapv2_remove_domain(const u8 *username, size_t *len)

View File

@ -15,12 +15,11 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_server/eap_i.h" #include "crypto/sha256.h"
#include "crypto/crypto.h"
#include "eap_common/eap_sim_common.h" #include "eap_common/eap_sim_common.h"
#include "eap_server/eap_i.h"
#include "eap_server/eap_sim_db.h" #include "eap_server/eap_sim_db.h"
#include "sha1.h"
#include "sha256.h"
#include "crypto.h"
struct eap_aka_data { struct eap_aka_data {

View File

@ -15,13 +15,13 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "aes_wrap.h" #include "crypto/aes_wrap.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "eap_i.h" #include "crypto/tls.h"
#include "eap_tls_common.h"
#include "tls.h"
#include "eap_common/eap_tlv_common.h" #include "eap_common/eap_tlv_common.h"
#include "eap_common/eap_fast_common.h" #include "eap_common/eap_fast_common.h"
#include "eap_i.h"
#include "eap_tls_common.h"
static void eap_fast_reset(struct eap_sm *sm, void *priv); static void eap_fast_reset(struct eap_sm *sm, void *priv);

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/ms_funcs.h"
#include "eap_i.h" #include "eap_i.h"
#include "ms_funcs.h"
struct eap_mschapv2_hdr { struct eap_mschapv2_hdr {

View File

@ -15,12 +15,12 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_tls_common.h" #include "eap_tls_common.h"
#include "eap_common/eap_tlv_common.h" #include "eap_common/eap_tlv_common.h"
#include "eap_common/eap_peap_common.h" #include "eap_common/eap_peap_common.h"
#include "tls.h"
#include "tncs.h" #include "tncs.h"

View File

@ -18,9 +18,9 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eap_server/eap_i.h" #include "crypto/aes_wrap.h"
#include "aes_wrap.h"
#include "eap_common/eap_psk_common.h" #include "eap_common/eap_psk_common.h"
#include "eap_server/eap_i.h"
struct eap_psk_data { struct eap_psk_data {

View File

@ -17,7 +17,7 @@
#include "common.h" #include "common.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_tls_common.h" #include "eap_tls_common.h"
#include "tls.h" #include "crypto/tls.h"
static void eap_tls_reset(struct eap_sm *sm, void *priv); static void eap_tls_reset(struct eap_sm *sm, void *priv);

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_i.h" #include "eap_i.h"
#include "eap_tls_common.h" #include "eap_tls_common.h"
#include "sha1.h"
#include "tls.h"
int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data,

View File

@ -15,12 +15,12 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/ms_funcs.h"
#include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_server/eap_i.h" #include "eap_server/eap_i.h"
#include "eap_server/eap_tls_common.h" #include "eap_server/eap_tls_common.h"
#include "ms_funcs.h"
#include "sha1.h"
#include "eap_common/chap.h" #include "eap_common/chap.h"
#include "tls.h"
#include "eap_common/eap_ttls.h" #include "eap_common/eap_ttls.h"

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "dh_groups.h" #include "crypto/dh_groups.h"
#include "ikev2.h" #include "ikev2.h"

View File

@ -15,14 +15,14 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eapol_supp_sm.h"
#include "eap_peer/eap.h"
#include "eloop.h"
#include "common/eapol_common.h"
#include "md5.h"
#include "crypto.h"
#include "state_machine.h" #include "state_machine.h"
#include "wpabuf.h" #include "wpabuf.h"
#include "eloop.h"
#include "crypto/crypto.h"
#include "crypto/md5.h"
#include "common/eapol_common.h"
#include "eap_peer/eap.h"
#include "eapol_supp_sm.h"
#define STATE_MACHINE_DATA struct eapol_sm #define STATE_MACHINE_DATA struct eapol_sm
#define STATE_MACHINE_DEBUG_PREFIX "EAPOL" #define STATE_MACHINE_DEBUG_PREFIX "EAPOL"

View File

@ -24,8 +24,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/aes_wrap.h"
#include "milenage.h" #include "milenage.h"
#include "aes_wrap.h"
/** /**

View File

@ -16,8 +16,8 @@
#include "common.h" #include "common.h"
#include "radius.h" #include "radius.h"
#include "md5.h" #include "crypto/md5.h"
#include "crypto.h" #include "crypto/crypto.h"
static struct radius_attr_hdr * static struct radius_attr_hdr *

View File

@ -17,13 +17,13 @@
#ifdef CONFIG_PEERKEY #ifdef CONFIG_PEERKEY
#include "common.h" #include "common.h"
#include "sha1.h"
#include "sha256.h"
#include "eloop.h" #include "eloop.h"
#include "crypto/sha1.h"
#include "crypto/sha256.h"
#include "common/ieee802_11_defs.h"
#include "wpa.h" #include "wpa.h"
#include "wpa_i.h" #include "wpa_i.h"
#include "wpa_ie.h" #include "wpa_ie.h"
#include "common/ieee802_11_defs.h"
#include "peerkey.h" #include "peerkey.h"

View File

@ -15,12 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "wpa.h"
#include "eloop.h" #include "eloop.h"
#include "sha1.h"
#include "sha256.h"
#include "wpa_i.h"
#include "eapol_supp/eapol_supp_sm.h" #include "eapol_supp/eapol_supp_sm.h"
#include "wpa.h"
#include "wpa_i.h"
#include "pmksa_cache.h" #include "pmksa_cache.h"
#if defined(IEEE8021X_EAPOL) && !defined(CONFIG_NO_WPA2) #if defined(IEEE8021X_EAPOL) && !defined(CONFIG_NO_WPA2)

View File

@ -15,17 +15,17 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto.h" #include "crypto/aes_wrap.h"
#include "aes_wrap.h" #include "crypto/crypto.h"
#include "common/ieee802_11_defs.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "wpa.h" #include "wpa.h"
#include "eloop.h" #include "eloop.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "preauth.h" #include "preauth.h"
#include "pmksa_cache.h" #include "pmksa_cache.h"
#include "wpa_i.h" #include "wpa_i.h"
#include "wpa_ie.h" #include "wpa_ie.h"
#include "peerkey.h" #include "peerkey.h"
#include "common/ieee802_11_defs.h"
/** /**

View File

@ -15,12 +15,12 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/aes_wrap.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "wpa.h" #include "wpa.h"
#include "wpa_i.h" #include "wpa_i.h"
#include "wpa_ie.h" #include "wpa_ie.h"
#include "aes_wrap.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#ifdef CONFIG_IEEE80211R #ifdef CONFIG_IEEE80211R

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto.h" #include "crypto/crypto.h"
#include "md5.h" #include "crypto/md5.h"
#include "asn1.h" #include "asn1.h"
#include "pkcs5.h" #include "pkcs5.h"

View File

@ -15,7 +15,6 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto.h"
#include "asn1.h" #include "asn1.h"
#include "bignum.h" #include "bignum.h"
#include "rsa.h" #include "rsa.h"

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "tls.h" #include "crypto/tls.h"
#include "tlsv1_common.h" #include "tlsv1_common.h"
#include "tlsv1_record.h" #include "tlsv1_record.h"
#include "tlsv1_client.h" #include "tlsv1_client.h"

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "md5.h" #include "crypto/md5.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "crypto/tls.h"
#include "x509v3.h" #include "x509v3.h"
#include "tls.h"
#include "tlsv1_common.h" #include "tlsv1_common.h"
#include "tlsv1_record.h" #include "tlsv1_record.h"
#include "tlsv1_client.h" #include "tlsv1_client.h"

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "md5.h" #include "crypto/md5.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "crypto/tls.h"
#include "x509v3.h" #include "x509v3.h"
#include "tls.h"
#include "tlsv1_common.h" #include "tlsv1_common.h"
#include "tlsv1_record.h" #include "tlsv1_record.h"
#include "tlsv1_client.h" #include "tlsv1_client.h"

View File

@ -15,7 +15,7 @@
#ifndef TLSV1_COMMON_H #ifndef TLSV1_COMMON_H
#define TLSV1_COMMON_H #define TLSV1_COMMON_H
#include "crypto.h" #include "crypto/crypto.h"
#define TLS_VERSION 0x0301 /* TLSv1 */ #define TLS_VERSION 0x0301 /* TLSv1 */
#define TLS_RANDOM_LEN 32 #define TLS_RANDOM_LEN 32

View File

@ -16,7 +16,7 @@
#include "common.h" #include "common.h"
#include "base64.h" #include "base64.h"
#include "crypto.h" #include "crypto/crypto.h"
#include "x509v3.h" #include "x509v3.h"
#include "tlsv1_cred.h" #include "tlsv1_cred.h"

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "md5.h" #include "crypto/md5.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "tlsv1_common.h" #include "tlsv1_common.h"
#include "tlsv1_record.h" #include "tlsv1_record.h"

View File

@ -15,7 +15,7 @@
#ifndef TLSV1_RECORD_H #ifndef TLSV1_RECORD_H
#define TLSV1_RECORD_H #define TLSV1_RECORD_H
#include "crypto.h" #include "crypto/crypto.h"
#define TLS_MAX_WRITE_MAC_SECRET_LEN 20 #define TLS_MAX_WRITE_MAC_SECRET_LEN 20
#define TLS_MAX_WRITE_KEY_LEN 32 #define TLS_MAX_WRITE_KEY_LEN 32

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "tls.h" #include "crypto/tls.h"
#include "tlsv1_common.h" #include "tlsv1_common.h"
#include "tlsv1_record.h" #include "tlsv1_record.h"
#include "tlsv1_server.h" #include "tlsv1_server.h"

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "md5.h" #include "crypto/md5.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "crypto/tls.h"
#include "x509v3.h" #include "x509v3.h"
#include "tls.h"
#include "tlsv1_common.h" #include "tlsv1_common.h"
#include "tlsv1_record.h" #include "tlsv1_record.h"
#include "tlsv1_server.h" #include "tlsv1_server.h"

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "md5.h" #include "crypto/md5.h"
#include "sha1.h" #include "crypto/sha1.h"
#include "crypto/tls.h"
#include "x509v3.h" #include "x509v3.h"
#include "tls.h"
#include "tlsv1_common.h" #include "tlsv1_common.h"
#include "tlsv1_record.h" #include "tlsv1_record.h"
#include "tlsv1_server.h" #include "tlsv1_server.h"

View File

@ -18,8 +18,8 @@
#ifdef CONFIG_INTERNAL_X509 #ifdef CONFIG_INTERNAL_X509
#include "crypto/crypto.h"
#include "asn1.h" #include "asn1.h"
#include "crypto.h"
#include "x509v3.h" #include "x509v3.h"

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "dh_group5.h" #include "crypto/dh_group5.h"
#include "common/ieee802_11_defs.h"
#include "wps_i.h" #include "wps_i.h"
#include "wps_dev_attr.h" #include "wps_dev_attr.h"
#include "common/ieee802_11_defs.h"
/** /**

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "dh_group5.h" #include "crypto/aes_wrap.h"
#include "crypto.h" #include "crypto/crypto.h"
#include "sha256.h" #include "crypto/dh_group5.h"
#include "aes_wrap.h" #include "crypto/sha256.h"
#include "wps_i.h" #include "wps_i.h"

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha256.h" #include "crypto/sha256.h"
#include "wps_i.h" #include "wps_i.h"

View File

@ -15,11 +15,11 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "dh_group5.h" #include "crypto/aes_wrap.h"
#include "sha1.h" #include "crypto/crypto.h"
#include "sha256.h" #include "crypto/dh_group5.h"
#include "aes_wrap.h" #include "crypto/sha1.h"
#include "crypto.h" #include "crypto/sha256.h"
#include "wps_i.h" #include "wps_i.h"
#include "wps_dev_attr.h" #include "wps_dev_attr.h"

View File

@ -15,10 +15,10 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha256.h" #include "crypto/crypto.h"
#include "crypto/sha256.h"
#include "wps_i.h" #include "wps_i.h"
#include "wps_dev_attr.h" #include "wps_dev_attr.h"
#include "crypto.h"
static int wps_build_mac_addr(struct wps_data *wps, struct wpabuf *msg) static int wps_build_mac_addr(struct wps_data *wps, struct wpabuf *msg)

View File

@ -15,14 +15,14 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha256.h"
#include "base64.h" #include "base64.h"
#include "common/ieee802_11_defs.h"
#include "eloop.h" #include "eloop.h"
#include "crypto/crypto.h"
#include "crypto/sha256.h"
#include "common/ieee802_11_defs.h"
#include "wps_i.h" #include "wps_i.h"
#include "wps_dev_attr.h" #include "wps_dev_attr.h"
#include "wps_upnp.h" #include "wps_upnp.h"
#include "crypto.h"
#include "uuid.h" #include "uuid.h"
#define WPS_WORKAROUNDS #define WPS_WORKAROUNDS

View File

@ -10,7 +10,6 @@ export LIBDIR ?= /usr/local/lib/
export BINDIR ?= /usr/local/sbin/ export BINDIR ?= /usr/local/sbin/
CFLAGS += -I../src CFLAGS += -I../src
CFLAGS += -I../src/crypto
CFLAGS += -I../src/utils CFLAGS += -I../src/utils
ALL=wpa_supplicant wpa_passphrase wpa_cli ALL=wpa_supplicant wpa_passphrase wpa_cli
@ -1365,7 +1364,7 @@ TEST_EAP_SIM_COMMON_OBJS = $(SHA1OBJS) $(MD5OBJS) \
../src/utils/wpa_debug.o $(AESOBJS) \ ../src/utils/wpa_debug.o $(AESOBJS) \
tests/test_eap_sim_common.o tests/test_eap_sim_common.o
test-eap_sim_common: $(TEST_EAP_SIM_COMMON_OBJS) test-eap_sim_common: $(TEST_EAP_SIM_COMMON_OBJS)
$(LDO) $(LDFLAGS) -o $@ $(TEST_AES_OBJS) $(LIBS) $(LDO) $(LDFLAGS) -o $@ $(TEST_EAP_SIM_COMMON_OBJS) $(LIBS)
./test-eap_sim_common ./test-eap_sim_common
rm test-eap_sim_common rm test-eap_sim_common

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto/sha1.h"
#include "rsn_supp/wpa.h" #include "rsn_supp/wpa.h"
#include "sha1.h"
#include "eap_peer/eap.h" #include "eap_peer/eap.h"
#include "config.h" #include "config.h"

View File

@ -48,7 +48,7 @@ CFLAGS = $(CFLAGS) /DPCSC_FUNCS
CFLAGS = $(CFLAGS) /DCONFIG_CTRL_IFACE CFLAGS = $(CFLAGS) /DCONFIG_CTRL_IFACE
CFLAGS = $(CFLAGS) /DCONFIG_CTRL_IFACE_NAMED_PIPE CFLAGS = $(CFLAGS) /DCONFIG_CTRL_IFACE_NAMED_PIPE
CFLAGS = $(CFLAGS) /DCONFIG_DRIVER_NDIS CFLAGS = $(CFLAGS) /DCONFIG_DRIVER_NDIS
CFLAGS = $(CFLAGS) /I..\src /I..\src\utils /I..\src\crypto CFLAGS = $(CFLAGS) /I..\src /I..\src\utils
CFLAGS = $(CFLAGS) /I. CFLAGS = $(CFLAGS) /I.
CFLAGS = $(CFLAGS) /DWIN32 CFLAGS = $(CFLAGS) /DWIN32
CFLAGS = $(CFLAGS) /Fo$(OBJDIR)\\ /c CFLAGS = $(CFLAGS) /Fo$(OBJDIR)\\ /c

View File

@ -5,7 +5,7 @@ TARGETTYPE exe
SYSTEMINCLUDE \epoc32\include \epoc32\include\variant \epoc32\include\ecom \epoc32\include\libc SYSTEMINCLUDE \epoc32\include \epoc32\include\variant \epoc32\include\ecom \epoc32\include\libc
USERINCLUDE .. ..\..\src ..\..\src\utils ..\..\src\crypto USERINCLUDE .. ..\..\src ..\..\src\utils
SOURCEPATH .. SOURCEPATH ..
SOURCE main_symbian.cpp SOURCE main_symbian.cpp

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto.h" #include "crypto/crypto.h"
#include "aes_wrap.h" #include "crypto/aes_wrap.h"
#define BLOCK_SIZE 16 #define BLOCK_SIZE 16

View File

@ -12,7 +12,7 @@
* See README and COPYING for more details. * See README and COPYING for more details.
*/ */
#include "eap_sim_common.c" #include "eap_common/eap_sim_common.c"
static int test_eap_sim_prf(void) static int test_eap_sim_prf(void)

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto.h" #include "crypto/crypto.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "crypto.h" #include "crypto/crypto.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {

View File

@ -12,7 +12,7 @@
* See README and COPYING for more details. * See README and COPYING for more details.
*/ */
#include "ms_funcs.c" #include "crypto/ms_funcs.c"
int main(int argc, char *argv[]) int main(int argc, char *argv[])

View File

@ -15,9 +15,9 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/crypto.h"
#include "md5.h" #include "crypto/md5.h"
#include "crypto.h" #include "crypto/sha1.h"
static int test_eap_fast(void) static int test_eap_fast(void)

View File

@ -15,8 +15,8 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha256.h" #include "crypto/sha256.h"
#include "crypto.h" #include "crypto/crypto.h"
struct { struct {
char *data; char *data;

View File

@ -40,7 +40,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;..\..\..\src\crypto;C:\dev\WpdPack\include;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;C:\dev\WpdPack\include;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
@ -119,7 +119,7 @@
/> />
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;..\..\..\src\crypto;C:\dev\WpdPack\include;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;C:\dev\WpdPack\include;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"

View File

@ -40,7 +40,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..\..\src\utils;..\..\..\src\crypto;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..\..\src\utils;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
@ -119,7 +119,7 @@
/> />
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\..\src\utils;..\..\..\src\crypto;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..\..\src\utils;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"

View File

@ -40,7 +40,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;..\..\..\src\crypto;C:\dev\WpdPack\include;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;C:\dev\WpdPack\include;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
@ -119,7 +119,7 @@
/> />
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;..\..\..\src\crypto;C:\dev\WpdPack\include;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;C:\dev\WpdPack\include;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"

View File

@ -40,7 +40,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;..\..\..\src\crypto;C:\dev\WpdPack\include;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;C:\dev\WpdPack\include;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
@ -119,7 +119,7 @@
/> />
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;..\..\..\src\crypto;C:\dev\WpdPack\include;C:\dev\openssl\include" AdditionalIncludeDirectories="..\..;..\..\..\src;..\..\..\src\utils;C:\dev\WpdPack\include;C:\dev\openssl\include"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CONFIG_WIN32_DEFAULTS"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"

View File

@ -15,7 +15,7 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "sha1.h" #include "crypto/sha1.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])

View File

@ -15,22 +15,22 @@
#include "includes.h" #include "includes.h"
#include "common.h" #include "common.h"
#include "eloop.h"
#include "uuid.h"
#include "crypto/dh_group5.h"
#include "common/ieee802_11_defs.h" #include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h" #include "common/ieee802_11_common.h"
#include "common/wpa_common.h" #include "common/wpa_common.h"
#include "config.h" #include "common/wpa_ctrl.h"
#include "eap_common/eap_wsc_common.h"
#include "eap_peer/eap.h" #include "eap_peer/eap.h"
#include "rsn_supp/wpa.h"
#include "config.h"
#include "wpa_supplicant_i.h" #include "wpa_supplicant_i.h"
#include "driver_i.h" #include "driver_i.h"
#include "eloop.h"
#include "uuid.h"
#include "common/wpa_ctrl.h"
#include "notify.h" #include "notify.h"
#include "eap_common/eap_wsc_common.h"
#include "blacklist.h" #include "blacklist.h"
#include "rsn_supp/wpa.h"
#include "wps_supplicant.h" #include "wps_supplicant.h"
#include "dh_group5.h"
#define WPS_PIN_SCAN_IGNORE_SEL_REG 3 #define WPS_PIN_SCAN_IGNORE_SEL_REG 3

View File

@ -453,7 +453,6 @@
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
../../src, ../../src,
../../src/crypto,
../../src/utils, ../../src/utils,
); );
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
@ -475,7 +474,6 @@
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
../../src, ../../src,
../../src/crypto,
../../src/utils, ../../src/utils,
); );
OTHER_CFLAGS = "-DCONFIG_XCODE_DEFAULTS"; OTHER_CFLAGS = "-DCONFIG_XCODE_DEFAULTS";