Browse Source

Rename EAP server source files to avoid duplicate names

This makes it easier to build both EAP peer and server functionality
into the same project with some toolchains.
Jouni Malinen 15 years ago
parent
commit
94d9bfd59b

+ 14 - 14
eap_example/Makefile

@@ -78,20 +78,20 @@ CFLAGS += -DIEEE8021X_EAPOL
 
 
 
 
 # Optional components to add EAP server support
 # Optional components to add EAP server support
-OBJS_server += ../src/eap_server/eap_tls.o
+OBJS_server += ../src/eap_server/eap_server_tls.o
-OBJS_server += ../src/eap_server/eap_peap.o
+OBJS_server += ../src/eap_server/eap_server_peap.o
-OBJS_server += ../src/eap_server/eap_ttls.o
+OBJS_server += ../src/eap_server/eap_server_ttls.o
-OBJS_server += ../src/eap_server/eap_md5.o
+OBJS_server += ../src/eap_server/eap_server_md5.o
-OBJS_server += ../src/eap_server/eap_mschapv2.o
+OBJS_server += ../src/eap_server/eap_server_mschapv2.o
-OBJS_server += ../src/eap_server/eap_gtc.o
+OBJS_server += ../src/eap_server/eap_server_gtc.o
-OBJS_server += ../src/eap_server/eap_psk.o
+OBJS_server += ../src/eap_server/eap_server_psk.o
-OBJS_server += ../src/eap_server/eap_pax.o
+OBJS_server += ../src/eap_server/eap_server_pax.o
-OBJS_server += ../src/eap_server/eap_sake.o
+OBJS_server += ../src/eap_server/eap_server_sake.o
-OBJS_server += ../src/eap_server/eap_gpsk.o
+OBJS_server += ../src/eap_server/eap_server_gpsk.o
-OBJS_server += ../src/eap_server/eap.o
+OBJS_server += ../src/eap_server/eap_server.o
-OBJS_server += ../src/eap_server/eap_identity.o
+OBJS_server += ../src/eap_server/eap_server_identity.o
-OBJS_server += ../src/eap_server/eap_methods.o
+OBJS_server += ../src/eap_server/eap_server_methods.o
-OBJS_server += ../src/eap_server/eap_tls_common.o
+OBJS_server += ../src/eap_server/eap_server_tls_common.o
 CFLAGS += -DEAP_SERVER
 CFLAGS += -DEAP_SERVER
 
 
 
 

+ 21 - 21
hostapd/Makefile

@@ -182,19 +182,19 @@ endif
 
 
 ifdef CONFIG_EAP_MD5
 ifdef CONFIG_EAP_MD5
 CFLAGS += -DEAP_SERVER_MD5
 CFLAGS += -DEAP_SERVER_MD5
-OBJS += ../src/eap_server/eap_md5.o
+OBJS += ../src/eap_server/eap_server_md5.o
 CHAP=y
 CHAP=y
 endif
 endif
 
 
 ifdef CONFIG_EAP_TLS
 ifdef CONFIG_EAP_TLS
 CFLAGS += -DEAP_SERVER_TLS
 CFLAGS += -DEAP_SERVER_TLS
-OBJS += ../src/eap_server/eap_tls.o
+OBJS += ../src/eap_server/eap_server_tls.o
 TLS_FUNCS=y
 TLS_FUNCS=y
 endif
 endif
 
 
 ifdef CONFIG_EAP_PEAP
 ifdef CONFIG_EAP_PEAP
 CFLAGS += -DEAP_SERVER_PEAP
 CFLAGS += -DEAP_SERVER_PEAP
-OBJS += ../src/eap_server/eap_peap.o
+OBJS += ../src/eap_server/eap_server_peap.o
 OBJS += ../src/eap_common/eap_peap_common.o
 OBJS += ../src/eap_common/eap_peap_common.o
 TLS_FUNCS=y
 TLS_FUNCS=y
 CONFIG_EAP_MSCHAPV2=y
 CONFIG_EAP_MSCHAPV2=y
@@ -202,32 +202,32 @@ endif
 
 
 ifdef CONFIG_EAP_TTLS
 ifdef CONFIG_EAP_TTLS
 CFLAGS += -DEAP_SERVER_TTLS
 CFLAGS += -DEAP_SERVER_TTLS
-OBJS += ../src/eap_server/eap_ttls.o
+OBJS += ../src/eap_server/eap_server_ttls.o
 TLS_FUNCS=y
 TLS_FUNCS=y
 CHAP=y
 CHAP=y
 endif
 endif
 
 
 ifdef CONFIG_EAP_MSCHAPV2
 ifdef CONFIG_EAP_MSCHAPV2
 CFLAGS += -DEAP_SERVER_MSCHAPV2
 CFLAGS += -DEAP_SERVER_MSCHAPV2
-OBJS += ../src/eap_server/eap_mschapv2.o
+OBJS += ../src/eap_server/eap_server_mschapv2.o
 MS_FUNCS=y
 MS_FUNCS=y
 endif
 endif
 
 
 ifdef CONFIG_EAP_GTC
 ifdef CONFIG_EAP_GTC
 CFLAGS += -DEAP_SERVER_GTC
 CFLAGS += -DEAP_SERVER_GTC
-OBJS += ../src/eap_server/eap_gtc.o
+OBJS += ../src/eap_server/eap_server_gtc.o
 endif
 endif
 
 
 ifdef CONFIG_EAP_SIM
 ifdef CONFIG_EAP_SIM
 CFLAGS += -DEAP_SERVER_SIM
 CFLAGS += -DEAP_SERVER_SIM
-OBJS += ../src/eap_server/eap_sim.o
+OBJS += ../src/eap_server/eap_server_sim.o
 CONFIG_EAP_SIM_COMMON=y
 CONFIG_EAP_SIM_COMMON=y
 NEED_AES_CBC=y
 NEED_AES_CBC=y
 endif
 endif
 
 
 ifdef CONFIG_EAP_AKA
 ifdef CONFIG_EAP_AKA
 CFLAGS += -DEAP_SERVER_AKA
 CFLAGS += -DEAP_SERVER_AKA
-OBJS += ../src/eap_server/eap_aka.o
+OBJS += ../src/eap_server/eap_server_aka.o
 CONFIG_EAP_SIM_COMMON=y
 CONFIG_EAP_SIM_COMMON=y
 NEED_SHA256=y
 NEED_SHA256=y
 NEED_AES_CBC=y
 NEED_AES_CBC=y
@@ -248,12 +248,12 @@ endif
 
 
 ifdef CONFIG_EAP_PAX
 ifdef CONFIG_EAP_PAX
 CFLAGS += -DEAP_SERVER_PAX
 CFLAGS += -DEAP_SERVER_PAX
-OBJS += ../src/eap_server/eap_pax.o ../src/eap_common/eap_pax_common.o
+OBJS += ../src/eap_server/eap_server_pax.o ../src/eap_common/eap_pax_common.o
 endif
 endif
 
 
 ifdef CONFIG_EAP_PSK
 ifdef CONFIG_EAP_PSK
 CFLAGS += -DEAP_SERVER_PSK
 CFLAGS += -DEAP_SERVER_PSK
-OBJS += ../src/eap_server/eap_psk.o ../src/eap_common/eap_psk_common.o
+OBJS += ../src/eap_server/eap_server_psk.o ../src/eap_common/eap_psk_common.o
 NEED_AES_OMAC1=y
 NEED_AES_OMAC1=y
 NEED_AES_ENCBLOCK=y
 NEED_AES_ENCBLOCK=y
 NEED_AES_EAX=y
 NEED_AES_EAX=y
@@ -261,12 +261,12 @@ endif
 
 
 ifdef CONFIG_EAP_SAKE
 ifdef CONFIG_EAP_SAKE
 CFLAGS += -DEAP_SERVER_SAKE
 CFLAGS += -DEAP_SERVER_SAKE
-OBJS += ../src/eap_server/eap_sake.o ../src/eap_common/eap_sake_common.o
+OBJS += ../src/eap_server/eap_server_sake.o ../src/eap_common/eap_sake_common.o
 endif
 endif
 
 
 ifdef CONFIG_EAP_GPSK
 ifdef CONFIG_EAP_GPSK
 CFLAGS += -DEAP_SERVER_GPSK
 CFLAGS += -DEAP_SERVER_GPSK
-OBJS += ../src/eap_server/eap_gpsk.o ../src/eap_common/eap_gpsk_common.o
+OBJS += ../src/eap_server/eap_server_gpsk.o ../src/eap_common/eap_gpsk_common.o
 ifdef CONFIG_EAP_GPSK_SHA256
 ifdef CONFIG_EAP_GPSK_SHA256
 CFLAGS += -DEAP_SERVER_GPSK_SHA256
 CFLAGS += -DEAP_SERVER_GPSK_SHA256
 endif
 endif
@@ -276,12 +276,12 @@ endif
 
 
 ifdef CONFIG_EAP_VENDOR_TEST
 ifdef CONFIG_EAP_VENDOR_TEST
 CFLAGS += -DEAP_SERVER_VENDOR_TEST
 CFLAGS += -DEAP_SERVER_VENDOR_TEST
-OBJS += ../src/eap_server/eap_vendor_test.o
+OBJS += ../src/eap_server/eap_server_vendor_test.o
 endif
 endif
 
 
 ifdef CONFIG_EAP_FAST
 ifdef CONFIG_EAP_FAST
 CFLAGS += -DEAP_SERVER_FAST
 CFLAGS += -DEAP_SERVER_FAST
-OBJS += ../src/eap_server/eap_fast.o
+OBJS += ../src/eap_server/eap_server_fast.o
 OBJS += ../src/eap_common/eap_fast_common.o
 OBJS += ../src/eap_common/eap_fast_common.o
 TLS_FUNCS=y
 TLS_FUNCS=y
 NEED_T_PRF=y
 NEED_T_PRF=y
@@ -292,7 +292,7 @@ ifdef CONFIG_WPS
 CFLAGS += -DCONFIG_WPS -DEAP_SERVER_WSC
 CFLAGS += -DCONFIG_WPS -DEAP_SERVER_WSC
 OBJS += ../src/utils/uuid.o
 OBJS += ../src/utils/uuid.o
 OBJS += ../src/ap/wps_hostapd.o
 OBJS += ../src/ap/wps_hostapd.o
-OBJS += ../src/eap_server/eap_wsc.o ../src/eap_common/eap_wsc_common.o
+OBJS += ../src/eap_server/eap_server_wsc.o ../src/eap_common/eap_wsc_common.o
 OBJS += ../src/wps/wps.o
 OBJS += ../src/wps/wps.o
 OBJS += ../src/wps/wps_common.o
 OBJS += ../src/wps/wps_common.o
 OBJS += ../src/wps/wps_attr_parse.o
 OBJS += ../src/wps/wps_attr_parse.o
@@ -349,7 +349,7 @@ endif
 
 
 ifdef CONFIG_EAP_IKEV2
 ifdef CONFIG_EAP_IKEV2
 CFLAGS += -DEAP_SERVER_IKEV2
 CFLAGS += -DEAP_SERVER_IKEV2
-OBJS += ../src/eap_server/eap_ikev2.o ../src/eap_server/ikev2.o
+OBJS += ../src/eap_server/eap_server_ikev2.o ../src/eap_server/ikev2.o
 OBJS += ../src/eap_common/eap_ikev2_common.o ../src/eap_common/ikev2_common.o
 OBJS += ../src/eap_common/eap_ikev2_common.o ../src/eap_common/ikev2_common.o
 NEED_DH_GROUPS=y
 NEED_DH_GROUPS=y
 NEED_DH_GROUPS_ALL=y
 NEED_DH_GROUPS_ALL=y
@@ -359,7 +359,7 @@ endif
 
 
 ifdef CONFIG_EAP_TNC
 ifdef CONFIG_EAP_TNC
 CFLAGS += -DEAP_SERVER_TNC
 CFLAGS += -DEAP_SERVER_TNC
-OBJS += ../src/eap_server/eap_tnc.o
+OBJS += ../src/eap_server/eap_server_tnc.o
 OBJS += ../src/eap_server/tncs.o
 OBJS += ../src/eap_server/tncs.o
 NEED_BASE64=y
 NEED_BASE64=y
 ifndef CONFIG_DRIVER_BSD
 ifndef CONFIG_DRIVER_BSD
@@ -369,10 +369,10 @@ endif
 
 
 # Basic EAP functionality is needed for EAPOL
 # Basic EAP functionality is needed for EAPOL
 OBJS += eap_register.o
 OBJS += eap_register.o
-OBJS += ../src/eap_server/eap.o
+OBJS += ../src/eap_server/eap_server.o
 OBJS += ../src/eap_common/eap_common.o
 OBJS += ../src/eap_common/eap_common.o
-OBJS += ../src/eap_server/eap_methods.o
+OBJS += ../src/eap_server/eap_server_methods.o
-OBJS += ../src/eap_server/eap_identity.o
+OBJS += ../src/eap_server/eap_server_identity.o
 CFLAGS += -DEAP_SERVER_IDENTITY
 CFLAGS += -DEAP_SERVER_IDENTITY
 
 
 ifdef CONFIG_EAP
 ifdef CONFIG_EAP
@@ -397,7 +397,7 @@ ifdef TLS_FUNCS
 NEED_DES=y
 NEED_DES=y
 # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS)
 # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, and EAP_TTLS)
 CFLAGS += -DEAP_TLS_FUNCS
 CFLAGS += -DEAP_TLS_FUNCS
-OBJS += ../src/eap_server/eap_tls_common.o
+OBJS += ../src/eap_server/eap_server_tls_common.o
 NEED_TLS_PRF=y
 NEED_TLS_PRF=y
 endif
 endif
 
 

+ 0 - 0
src/eap_server/eap.c → src/eap_server/eap_server.c


+ 0 - 0
src/eap_server/eap_aka.c → src/eap_server/eap_server_aka.c


+ 0 - 0
src/eap_server/eap_fast.c → src/eap_server/eap_server_fast.c


+ 0 - 0
src/eap_server/eap_gpsk.c → src/eap_server/eap_server_gpsk.c


+ 0 - 0
src/eap_server/eap_gtc.c → src/eap_server/eap_server_gtc.c


+ 0 - 0
src/eap_server/eap_identity.c → src/eap_server/eap_server_identity.c


+ 0 - 0
src/eap_server/eap_ikev2.c → src/eap_server/eap_server_ikev2.c


+ 0 - 0
src/eap_server/eap_md5.c → src/eap_server/eap_server_md5.c


+ 0 - 0
src/eap_server/eap_methods.c → src/eap_server/eap_server_methods.c


+ 0 - 0
src/eap_server/eap_mschapv2.c → src/eap_server/eap_server_mschapv2.c


+ 0 - 0
src/eap_server/eap_pax.c → src/eap_server/eap_server_pax.c


+ 0 - 0
src/eap_server/eap_peap.c → src/eap_server/eap_server_peap.c


+ 0 - 0
src/eap_server/eap_psk.c → src/eap_server/eap_server_psk.c


+ 0 - 0
src/eap_server/eap_sake.c → src/eap_server/eap_server_sake.c


+ 0 - 0
src/eap_server/eap_sim.c → src/eap_server/eap_server_sim.c


+ 0 - 0
src/eap_server/eap_tls.c → src/eap_server/eap_server_tls.c


+ 0 - 0
src/eap_server/eap_tls_common.c → src/eap_server/eap_server_tls_common.c


+ 0 - 0
src/eap_server/eap_tnc.c → src/eap_server/eap_server_tnc.c


+ 0 - 0
src/eap_server/eap_ttls.c → src/eap_server/eap_server_ttls.c


+ 0 - 0
src/eap_server/eap_vendor_test.c → src/eap_server/eap_server_vendor_test.c


+ 0 - 0
src/eap_server/eap_wsc.c → src/eap_server/eap_server_wsc.c


+ 25 - 25
wpa_supplicant/Makefile

@@ -217,7 +217,7 @@ EAPDYN += ../src/eap_peer/eap_tls.so
 else
 else
 CFLAGS += -DEAP_TLS
 CFLAGS += -DEAP_TLS
 OBJS += ../src/eap_peer/eap_tls.o
 OBJS += ../src/eap_peer/eap_tls.o
-OBJS_h += ../src/eap_server/eap_tls.o
+OBJS_h += ../src/eap_server/eap_server_tls.o
 endif
 endif
 TLS_FUNCS=y
 TLS_FUNCS=y
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
@@ -232,7 +232,7 @@ else
 CFLAGS += -DEAP_PEAP
 CFLAGS += -DEAP_PEAP
 OBJS += ../src/eap_peer/eap_peap.o
 OBJS += ../src/eap_peer/eap_peap.o
 OBJS += ../src/eap_common/eap_peap_common.o
 OBJS += ../src/eap_common/eap_peap_common.o
-OBJS_h += ../src/eap_server/eap_peap.o
+OBJS_h += ../src/eap_server/eap_server_peap.o
 endif
 endif
 TLS_FUNCS=y
 TLS_FUNCS=y
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
@@ -246,7 +246,7 @@ EAPDYN += ../src/eap_peer/eap_ttls.so
 else
 else
 CFLAGS += -DEAP_TTLS
 CFLAGS += -DEAP_TTLS
 OBJS += ../src/eap_peer/eap_ttls.o
 OBJS += ../src/eap_peer/eap_ttls.o
-OBJS_h += ../src/eap_server/eap_ttls.o
+OBJS_h += ../src/eap_server/eap_server_ttls.o
 endif
 endif
 MS_FUNCS=y
 MS_FUNCS=y
 TLS_FUNCS=y
 TLS_FUNCS=y
@@ -262,7 +262,7 @@ EAPDYN += ../src/eap_peer/eap_md5.so
 else
 else
 CFLAGS += -DEAP_MD5
 CFLAGS += -DEAP_MD5
 OBJS += ../src/eap_peer/eap_md5.o
 OBJS += ../src/eap_peer/eap_md5.o
-OBJS_h += ../src/eap_server/eap_md5.o
+OBJS_h += ../src/eap_server/eap_server_md5.o
 endif
 endif
 CHAP=y
 CHAP=y
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
@@ -285,7 +285,7 @@ else
 CFLAGS += -DEAP_MSCHAPv2
 CFLAGS += -DEAP_MSCHAPv2
 OBJS += ../src/eap_peer/eap_mschapv2.o
 OBJS += ../src/eap_peer/eap_mschapv2.o
 OBJS += ../src/eap_peer/mschapv2.o
 OBJS += ../src/eap_peer/mschapv2.o
-OBJS_h += ../src/eap_server/eap_mschapv2.o
+OBJS_h += ../src/eap_server/eap_server_mschapv2.o
 endif
 endif
 MS_FUNCS=y
 MS_FUNCS=y
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
@@ -299,7 +299,7 @@ EAPDYN += ../src/eap_peer/eap_gtc.so
 else
 else
 CFLAGS += -DEAP_GTC
 CFLAGS += -DEAP_GTC
 OBJS += ../src/eap_peer/eap_gtc.o
 OBJS += ../src/eap_peer/eap_gtc.o
-OBJS_h += ../src/eap_server/eap_gtc.o
+OBJS_h += ../src/eap_server/eap_server_gtc.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 endif
 endif
@@ -324,7 +324,7 @@ EAPDYN += ../src/eap_peer/eap_sim.so
 else
 else
 CFLAGS += -DEAP_SIM
 CFLAGS += -DEAP_SIM
 OBJS += ../src/eap_peer/eap_sim.o
 OBJS += ../src/eap_peer/eap_sim.o
-OBJS_h += ../src/eap_server/eap_sim.o
+OBJS_h += ../src/eap_server/eap_server_sim.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_EAP_SIM_COMMON=y
 CONFIG_EAP_SIM_COMMON=y
@@ -352,7 +352,7 @@ EAPDYN += ../src/eap_peer/eap_psk.so
 else
 else
 CFLAGS += -DEAP_PSK
 CFLAGS += -DEAP_PSK
 OBJS += ../src/eap_peer/eap_psk.o ../src/eap_common/eap_psk_common.o
 OBJS += ../src/eap_peer/eap_psk.o ../src/eap_common/eap_psk_common.o
-OBJS_h += ../src/eap_server/eap_psk.o
+OBJS_h += ../src/eap_server/eap_server_psk.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 NEED_AES=y
 NEED_AES=y
@@ -369,7 +369,7 @@ EAPDYN += ../src/eap_peer/eap_aka.so
 else
 else
 CFLAGS += -DEAP_AKA
 CFLAGS += -DEAP_AKA
 OBJS += ../src/eap_peer/eap_aka.o
 OBJS += ../src/eap_peer/eap_aka.o
-OBJS_h += ../src/eap_server/eap_aka.o
+OBJS_h += ../src/eap_server/eap_server_aka.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_EAP_SIM_COMMON=y
 CONFIG_EAP_SIM_COMMON=y
@@ -403,7 +403,7 @@ else
 CFLAGS += -DEAP_FAST
 CFLAGS += -DEAP_FAST
 OBJS += ../src/eap_peer/eap_fast.o ../src/eap_peer/eap_fast_pac.o
 OBJS += ../src/eap_peer/eap_fast.o ../src/eap_peer/eap_fast_pac.o
 OBJS += ../src/eap_common/eap_fast_common.o
 OBJS += ../src/eap_common/eap_fast_common.o
-OBJS_h += ../src/eap_server/eap_fast.o
+OBJS_h += ../src/eap_server/eap_server_fast.o
 endif
 endif
 TLS_FUNCS=y
 TLS_FUNCS=y
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
@@ -418,7 +418,7 @@ EAPDYN += ../src/eap_peer/eap_pax.so
 else
 else
 CFLAGS += -DEAP_PAX
 CFLAGS += -DEAP_PAX
 OBJS += ../src/eap_peer/eap_pax.o ../src/eap_common/eap_pax_common.o
 OBJS += ../src/eap_peer/eap_pax.o ../src/eap_common/eap_pax_common.o
-OBJS_h += ../src/eap_server/eap_pax.o
+OBJS_h += ../src/eap_server/eap_server_pax.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 endif
 endif
@@ -431,7 +431,7 @@ EAPDYN += ../src/eap_peer/eap_sake.so
 else
 else
 CFLAGS += -DEAP_SAKE
 CFLAGS += -DEAP_SAKE
 OBJS += ../src/eap_peer/eap_sake.o ../src/eap_common/eap_sake_common.o
 OBJS += ../src/eap_peer/eap_sake.o ../src/eap_common/eap_sake_common.o
-OBJS_h += ../src/eap_server/eap_sake.o
+OBJS_h += ../src/eap_server/eap_server_sake.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 endif
 endif
@@ -444,7 +444,7 @@ EAPDYN += ../src/eap_peer/eap_gpsk.so
 else
 else
 CFLAGS += -DEAP_GPSK
 CFLAGS += -DEAP_GPSK
 OBJS += ../src/eap_peer/eap_gpsk.o ../src/eap_common/eap_gpsk_common.o
 OBJS += ../src/eap_peer/eap_gpsk.o ../src/eap_common/eap_gpsk_common.o
-OBJS_h += ../src/eap_server/eap_gpsk.o
+OBJS_h += ../src/eap_server/eap_server_gpsk.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 ifdef CONFIG_EAP_GPSK_SHA256
 ifdef CONFIG_EAP_GPSK_SHA256
@@ -468,7 +468,7 @@ OBJS += ../src/wps/wps_attr_process.o
 OBJS += ../src/wps/wps_dev_attr.o
 OBJS += ../src/wps/wps_dev_attr.o
 OBJS += ../src/wps/wps_enrollee.o
 OBJS += ../src/wps/wps_enrollee.o
 OBJS += ../src/wps/wps_registrar.o
 OBJS += ../src/wps/wps_registrar.o
-OBJS_h += ../src/eap_server/eap_wsc.o
+OBJS_h += ../src/eap_server/eap_server_wsc.o
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 NEED_DH_GROUPS=y
 NEED_DH_GROUPS=y
 NEED_SHA256=y
 NEED_SHA256=y
@@ -534,7 +534,7 @@ else
 CFLAGS += -DEAP_IKEV2
 CFLAGS += -DEAP_IKEV2
 OBJS += ../src/eap_peer/eap_ikev2.o ../src/eap_peer/ikev2.o
 OBJS += ../src/eap_peer/eap_ikev2.o ../src/eap_peer/ikev2.o
 OBJS += ../src/eap_common/eap_ikev2_common.o ../src/eap_common/ikev2_common.o
 OBJS += ../src/eap_common/eap_ikev2_common.o ../src/eap_common/ikev2_common.o
-OBJS_h += ../src/eap_server/eap_ikev2.o
+OBJS_h += ../src/eap_server/eap_server_ikev2.o
 OBJS_h += ../src/eap_server/ikev2.o
 OBJS_h += ../src/eap_server/ikev2.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
@@ -551,7 +551,7 @@ EAPDYN += ../src/eap_peer/eap_vendor_test.so
 else
 else
 CFLAGS += -DEAP_VENDOR_TEST
 CFLAGS += -DEAP_VENDOR_TEST
 OBJS += ../src/eap_peer/eap_vendor_test.o
 OBJS += ../src/eap_peer/eap_vendor_test.o
-OBJS_h += ../src/eap_server/eap_vendor_test.o
+OBJS_h += ../src/eap_server/eap_server_vendor_test.o
 endif
 endif
 CONFIG_IEEE8021X_EAPOL=y
 CONFIG_IEEE8021X_EAPOL=y
 endif
 endif
@@ -561,7 +561,7 @@ ifdef CONFIG_EAP_TNC
 CFLAGS += -DEAP_TNC
 CFLAGS += -DEAP_TNC
 OBJS += ../src/eap_peer/eap_tnc.o
 OBJS += ../src/eap_peer/eap_tnc.o
 OBJS += ../src/eap_peer/tncc.o
 OBJS += ../src/eap_peer/tncc.o
-OBJS_h += ../src/eap_server/eap_tnc.o
+OBJS_h += ../src/eap_server/eap_server_tnc.o
 OBJS_h += ../src/eap_server/tncs.o
 OBJS_h += ../src/eap_server/tncs.o
 NEED_BASE64=y
 NEED_BASE64=y
 ifndef CONFIG_NATIVE_WINDOWS
 ifndef CONFIG_NATIVE_WINDOWS
@@ -607,9 +607,9 @@ OBJS += ../src/ap/ctrl_iface_ap.o
 endif
 endif
 
 
 CFLAGS += -DEAP_SERVER -DEAP_SERVER_IDENTITY
 CFLAGS += -DEAP_SERVER -DEAP_SERVER_IDENTITY
-OBJS += ../src/eap_server/eap.o
+OBJS += ../src/eap_server/eap_server.o
-OBJS += ../src/eap_server/eap_identity.o
+OBJS += ../src/eap_server/eap_server_identity.o
-OBJS += ../src/eap_server/eap_methods.o
+OBJS += ../src/eap_server/eap_server_methods.o
 
 
 ifdef CONFIG_IEEE80211N
 ifdef CONFIG_IEEE80211N
 CFLAGS += -DCONFIG_IEEE80211N
 CFLAGS += -DCONFIG_IEEE80211N
@@ -629,7 +629,7 @@ endif
 ifdef CONFIG_WPS
 ifdef CONFIG_WPS
 CFLAGS += -DEAP_SERVER_WSC
 CFLAGS += -DEAP_SERVER_WSC
 OBJS += ../src/ap/wps_hostapd.o
 OBJS += ../src/ap/wps_hostapd.o
-OBJS += ../src/eap_server/eap_wsc.o
+OBJS += ../src/eap_server/eap_server_wsc.o
 endif
 endif
 endif
 endif
 
 
@@ -649,9 +649,9 @@ endif
 
 
 ifdef CONFIG_EAP_SERVER
 ifdef CONFIG_EAP_SERVER
 CFLAGS += -DEAP_SERVER
 CFLAGS += -DEAP_SERVER
-OBJS_h += ../src/eap_server/eap.o
+OBJS_h += ../src/eap_server/eap_server.o
-OBJS_h += ../src/eap_server/eap_identity.o
+OBJS_h += ../src/eap_server/eap_server_identity.o
-OBJS_h += ../src/eap_server/eap_methods.o
+OBJS_h += ../src/eap_server/eap_server_methods.o
 endif
 endif
 
 
 ifdef CONFIG_RADIUS_CLIENT
 ifdef CONFIG_RADIUS_CLIENT
@@ -727,7 +727,7 @@ ifdef TLS_FUNCS
 NEED_DES=y
 NEED_DES=y
 # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, EAP_TTLS, and EAP_FAST)
 # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, EAP_TTLS, and EAP_FAST)
 OBJS += ../src/eap_peer/eap_tls_common.o
 OBJS += ../src/eap_peer/eap_tls_common.o
-OBJS_h += ../src/eap_server/eap_tls_common.o
+OBJS_h += ../src/eap_server/eap_server_tls_common.o
 NEED_TLS_PRF=y
 NEED_TLS_PRF=y
 endif
 endif