/hostap-3.6.0/src/eap_peer/ |
D | eap_tls.c | 426 struct eap_method *eap; in eap_peer_tls_register() local 428 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_tls_register() 430 if (eap == NULL) in eap_peer_tls_register() 433 eap->init = eap_tls_init; in eap_peer_tls_register() 434 eap->deinit = eap_tls_deinit; in eap_peer_tls_register() 435 eap->process = eap_tls_process; in eap_peer_tls_register() 436 eap->isKeyAvailable = eap_tls_isKeyAvailable; in eap_peer_tls_register() 437 eap->getKey = eap_tls_getKey; in eap_peer_tls_register() 438 eap->getSessionId = eap_tls_get_session_id; in eap_peer_tls_register() 439 eap->get_status = eap_tls_get_status; in eap_peer_tls_register() [all …]
|
D | eap_otp.c | 85 struct eap_method *eap; in eap_peer_otp_register() local 87 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_otp_register() 89 if (eap == NULL) in eap_peer_otp_register() 92 eap->init = eap_otp_init; in eap_peer_otp_register() 93 eap->deinit = eap_otp_deinit; in eap_peer_otp_register() 94 eap->process = eap_otp_process; in eap_peer_otp_register() 96 return eap_peer_method_register(eap); in eap_peer_otp_register()
|
D | eap_leap.c | 281 const struct eap_hdr *eap; in eap_leap_process() local 299 eap = wpabuf_head(reqData); in eap_leap_process() 300 if (wpabuf_len(reqData) < sizeof(*eap) || in eap_leap_process() 301 be_to_host16(eap->length) > wpabuf_len(reqData)) { in eap_leap_process() 314 switch (eap->code) { in eap_leap_process() 323 "ignored", eap->code); in eap_leap_process() 402 struct eap_method *eap; in eap_peer_leap_register() local 404 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_leap_register() 406 if (eap == NULL) in eap_peer_leap_register() 409 eap->init = eap_leap_init; in eap_peer_leap_register() [all …]
|
D | eap_vendor_test.c | 171 struct eap_method *eap; in eap_peer_vendor_test_register() local 173 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_vendor_test_register() 176 if (eap == NULL) in eap_peer_vendor_test_register() 179 eap->init = eap_vendor_test_init; in eap_peer_vendor_test_register() 180 eap->deinit = eap_vendor_test_deinit; in eap_peer_vendor_test_register() 181 eap->process = eap_vendor_test_process; in eap_peer_vendor_test_register() 182 eap->isKeyAvailable = eap_vendor_test_isKeyAvailable; in eap_peer_vendor_test_register() 183 eap->getKey = eap_vendor_test_getKey; in eap_peer_vendor_test_register() 185 return eap_peer_method_register(eap); in eap_peer_vendor_test_register()
|
D | eap_md5.c | 104 struct eap_method *eap; in eap_peer_md5_register() local 106 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_md5_register() 108 if (eap == NULL) in eap_peer_md5_register() 111 eap->init = eap_md5_init; in eap_peer_md5_register() 112 eap->deinit = eap_md5_deinit; in eap_peer_md5_register() 113 eap->process = eap_md5_process; in eap_peer_md5_register() 115 return eap_peer_method_register(eap); in eap_peer_md5_register()
|
D | eap_gtc.c | 129 struct eap_method *eap; in eap_peer_gtc_register() local 131 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_gtc_register() 133 if (eap == NULL) in eap_peer_gtc_register() 136 eap->init = eap_gtc_init; in eap_peer_gtc_register() 137 eap->deinit = eap_gtc_deinit; in eap_peer_gtc_register() 138 eap->process = eap_gtc_process; in eap_peer_gtc_register() 140 return eap_peer_method_register(eap); in eap_peer_gtc_register()
|
D | eap_methods.c | 286 struct eap_method *eap; in eap_peer_method_alloc() local 287 eap = os_zalloc(sizeof(*eap)); in eap_peer_method_alloc() 288 if (eap == NULL) in eap_peer_method_alloc() 290 eap->version = version; in eap_peer_method_alloc() 291 eap->vendor = vendor; in eap_peer_method_alloc() 292 eap->method = method; in eap_peer_method_alloc() 293 eap->name = name; in eap_peer_method_alloc() 294 return eap; in eap_peer_method_alloc()
|
/hostap-3.6.0/src/eap_server/ |
D | eap_server_tls.c | 422 struct eap_method *eap; in eap_server_tls_register() local 424 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_tls_register() 426 if (eap == NULL) in eap_server_tls_register() 429 eap->init = eap_tls_init; in eap_server_tls_register() 430 eap->reset = eap_tls_reset; in eap_server_tls_register() 431 eap->buildReq = eap_tls_buildReq; in eap_server_tls_register() 432 eap->check = eap_tls_check; in eap_server_tls_register() 433 eap->process = eap_tls_process; in eap_server_tls_register() 434 eap->isDone = eap_tls_isDone; in eap_server_tls_register() 435 eap->getKey = eap_tls_getKey; in eap_server_tls_register() [all …]
|
D | eap_server_vendor_test.c | 170 struct eap_method *eap; in eap_server_vendor_test_register() local 172 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_vendor_test_register() 175 if (eap == NULL) in eap_server_vendor_test_register() 178 eap->init = eap_vendor_test_init; in eap_server_vendor_test_register() 179 eap->reset = eap_vendor_test_reset; in eap_server_vendor_test_register() 180 eap->buildReq = eap_vendor_test_buildReq; in eap_server_vendor_test_register() 181 eap->check = eap_vendor_test_check; in eap_server_vendor_test_register() 182 eap->process = eap_vendor_test_process; in eap_server_vendor_test_register() 183 eap->isDone = eap_vendor_test_isDone; in eap_server_vendor_test_register() 184 eap->getKey = eap_vendor_test_getKey; in eap_server_vendor_test_register() [all …]
|
D | eap_server_identity.c | 159 struct eap_method *eap; in eap_server_identity_register() local 161 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_identity_register() 164 if (eap == NULL) in eap_server_identity_register() 167 eap->init = eap_identity_init; in eap_server_identity_register() 168 eap->initPickUp = eap_identity_initPickUp; in eap_server_identity_register() 169 eap->reset = eap_identity_reset; in eap_server_identity_register() 170 eap->buildReq = eap_identity_buildReq; in eap_server_identity_register() 171 eap->check = eap_identity_check; in eap_server_identity_register() 172 eap->process = eap_identity_process; in eap_server_identity_register() 173 eap->isDone = eap_identity_isDone; in eap_server_identity_register() [all …]
|
D | eap_server_md5.c | 155 struct eap_method *eap; in eap_server_md5_register() local 157 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_md5_register() 159 if (eap == NULL) in eap_server_md5_register() 162 eap->init = eap_md5_init; in eap_server_md5_register() 163 eap->reset = eap_md5_reset; in eap_server_md5_register() 164 eap->buildReq = eap_md5_buildReq; in eap_server_md5_register() 165 eap->check = eap_md5_check; in eap_server_md5_register() 166 eap->process = eap_md5_process; in eap_server_md5_register() 167 eap->isDone = eap_md5_isDone; in eap_server_md5_register() 168 eap->isSuccess = eap_md5_isSuccess; in eap_server_md5_register() [all …]
|
D | eap_server_methods.c | 76 struct eap_method *eap; in eap_server_method_alloc() local 77 eap = os_zalloc(sizeof(*eap)); in eap_server_method_alloc() 78 if (eap == NULL) in eap_server_method_alloc() 80 eap->version = version; in eap_server_method_alloc() 81 eap->vendor = vendor; in eap_server_method_alloc() 82 eap->method = method; in eap_server_method_alloc() 83 eap->name = name; in eap_server_method_alloc() 84 return eap; in eap_server_method_alloc()
|
D | eap_server_gtc.c | 203 struct eap_method *eap; in eap_server_gtc_register() local 205 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_gtc_register() 207 if (eap == NULL) in eap_server_gtc_register() 210 eap->init = eap_gtc_init; in eap_server_gtc_register() 211 eap->reset = eap_gtc_reset; in eap_server_gtc_register() 212 eap->buildReq = eap_gtc_buildReq; in eap_server_gtc_register() 213 eap->check = eap_gtc_check; in eap_server_gtc_register() 214 eap->process = eap_gtc_process; in eap_server_gtc_register() 215 eap->isDone = eap_gtc_isDone; in eap_server_gtc_register() 216 eap->isSuccess = eap_gtc_isSuccess; in eap_server_gtc_register() [all …]
|
/hostap-3.6.0/wpa_supplicant/ |
D | wpa_supplicant.conf | 1724 eap=TLS 1738 eap=PEAP 1752 eap=TTLS 1765 eap=TTLS 1778 eap=TTLS 1815 eap=SIM 1825 eap=PSK 1838 eap=TLS 1852 eap=LEAP 1861 eap=IKEV2 [all …]
|
D | config.c | 1576 if (!errors && ssid->eap.eap_methods) { in wpa_config_parse_eap() 1580 prev_m = ssid->eap.eap_methods; in wpa_config_parse_eap() 1604 os_free(ssid->eap.eap_methods); in wpa_config_parse_eap() 1605 ssid->eap.eap_methods = methods; in wpa_config_parse_eap() 1616 const struct eap_method_type *eap_methods = ssid->eap.eap_methods; in wpa_config_write_eap() 1654 if (!ssid->eap.password) in wpa_config_parse_password() 1657 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password() 1658 ssid->eap.password = NULL; in wpa_config_parse_password() 1659 ssid->eap.password_len = 0; in wpa_config_parse_password() 1668 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password() [all …]
|
D | interworking.c | 347 struct nai_realm_eap *eap; member 358 os_free(realms[i].eap); in nai_realm_free() 509 r->eap = os_calloc(r->eap_count, sizeof(struct nai_realm_eap)); in nai_realm_parse_realm() 510 if (r->eap == NULL) in nai_realm_parse_realm() 514 pos = nai_realm_parse_eap(&r->eap[e], pos, f_end); in nai_realm_parse_realm() 603 struct nai_realm_eap *eap) in nai_realm_cred_username() argument 605 if (eap_get_name(EAP_VENDOR_IETF, eap->method) == NULL) { in nai_realm_cred_username() 608 eap->method); in nai_realm_cred_username() 612 if (eap->method != EAP_TYPE_TTLS && eap->method != EAP_TYPE_PEAP && in nai_realm_cred_username() 613 eap->method != EAP_TYPE_FAST) { in nai_realm_cred_username() [all …]
|
/hostap-3.6.0/tests/hwsim/ |
D | test_erp.py | 27 eap="PAX", identity="pax.user@example.com", 41 eap="PAX", identity="pax.user@example.com", 57 eap="PSK", identity="psk.user@example.com", 83 eap="PSK", identity="psk.user@example.com", 143 eap="PSK", identity="psk.user@example.com", 174 eap="PSK", identity="user@example.com", 213 eap="PSK", identity="psk@erp.example.com", 280 erp_test(dev[0], hapd, eap="AKA", identity="0232010000000000@example.com", 283 eap="AKA", identity="0232010000000000@example.com", 285 erp_test(dev[0], hapd, eap="AKA'", identity="6555444333222111@example.com", [all …]
|
D | test_authsrv.py | 35 eap="TTLS", identity="user", 48 eap="TTLS", identity="user", 58 eap="TTLS", identity="user", 69 eap="TTLS", identity="user", 79 eap="TTLS", identity="user", 92 eap="TTLS", identity="user", 107 eap="TTLS", identity="user", 119 eap="TTLS", identity="user", 132 eap="TTLS", identity="user", 217 eap="TTLS", identity="user", [all …]
|
D | test_ieee8021x.py | 32 dev[0].connect("ieee8021x-wep", key_mgmt="IEEE8021X", eap="PSK", 49 dev[0].connect("ieee8021x-wep", key_mgmt="IEEE8021X", eap="PSK", 67 eap="PSK", 80 eap="PSK", identity="psk.user@example.com", 113 dev[0].connect("ieee8021x-wep", key_mgmt="IEEE8021X", eap="PSK", 130 eap="PSK", identity="psk.user@example.com", 134 eap="PSK", identity="psk.user@example.com", 181 eap="PSK", identity="psk.user@example.com", 215 eap="PSK", identity="psk.user@example.com", 257 eap="PSK", identity="psk.user@example.com", [all …]
|
D | test_tnc.py | 21 eap="PEAP", identity="user", password="password", 29 eap="PEAP", identity="user", password="password", 37 eap="PEAP", identity="user", password="password", 55 eap="PEAP", identity="user", password="password", 66 eap="PEAP", identity="user", password="password", 86 eap="TTLS", identity="DOMAIN\mschapv2 user", 105 eap="TTLS", identity="DOMAIN\mschapv2 user", 158 eap="TTLS", anonymous_identity="ttls", 187 eap="FAST", identity="user",
|
D | test_suite_b.py | 66 eap="TLS", identity="tls user", 146 eap="TLS", identity="tls user", 187 eap="TLS", identity="tls user", 261 eap="TLS", identity="tls user", 294 eap="TLS", identity="tls user", 320 eap="TLS", identity="tls user", 337 eap="TLS", identity="tls user", 354 eap="TLS", identity="tls user", 373 eap="TLS", identity="tls user", 423 eap="TLS", identity="tls user", [all …]
|
/hostap-3.6.0/tests/fuzzing/eap-sim-peer/ |
D | eap-sim-peer.c | 26 struct eap_method *eap; in eap_peer_method_alloc() local 27 eap = os_zalloc(sizeof(*eap)); in eap_peer_method_alloc() 28 if (!eap) in eap_peer_method_alloc() 30 eap->version = version; in eap_peer_method_alloc() 31 eap->vendor = vendor; in eap_peer_method_alloc() 32 eap->method = method; in eap_peer_method_alloc() 33 eap->name = name; in eap_peer_method_alloc() 34 return eap; in eap_peer_method_alloc()
|
/hostap-3.6.0/tests/fuzzing/eap-aka-peer/ |
D | eap-aka-peer.c | 26 struct eap_method *eap; in eap_peer_method_alloc() local 27 eap = os_zalloc(sizeof(*eap)); in eap_peer_method_alloc() 28 if (!eap) in eap_peer_method_alloc() 30 eap->version = version; in eap_peer_method_alloc() 31 eap->vendor = vendor; in eap_peer_method_alloc() 32 eap->method = method; in eap_peer_method_alloc() 33 eap->name = name; in eap_peer_method_alloc() 34 return eap; in eap_peer_method_alloc()
|
/hostap-3.6.0/tests/fuzzing/eap-mschapv2-peer/ |
D | eap-mschapv2-peer.c | 26 struct eap_method *eap; in eap_peer_method_alloc() local 27 eap = os_zalloc(sizeof(*eap)); in eap_peer_method_alloc() 28 if (!eap) in eap_peer_method_alloc() 30 eap->version = version; in eap_peer_method_alloc() 31 eap->vendor = vendor; in eap_peer_method_alloc() 32 eap->method = method; in eap_peer_method_alloc() 33 eap->name = name; in eap_peer_method_alloc() 34 return eap; in eap_peer_method_alloc()
|
/hostap-3.6.0/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 114 bool eap = sel == AUTH_IEEE8021X || sel == AUTH_WPA_EAP || in authChanged() local 116 eapSelect->setEnabled(eap); in authChanged() 117 identityEdit->setEnabled(eap); in authChanged() 118 passwordEdit->setEnabled(eap); in authChanged() 119 cacertEdit->setEnabled(eap); in authChanged() 120 phase2Select->setEnabled(eap); in authChanged() 121 if (eap) in authChanged() 301 const char *eap = in addNetwork() local 303 setNetworkParam(id, "eap", eap, false); in addNetwork() 304 if (strcmp(eap, "SIM") == 0 || strcmp(eap, "AKA") == 0) in addNetwork() [all …]
|