/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls.c | 392 struct eap_method *eap; in eap_peer_tls_register() local 394 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_tls_register() 396 if (eap == NULL) in eap_peer_tls_register() 399 eap->init = eap_tls_init; in eap_peer_tls_register() 400 eap->deinit = eap_tls_deinit; in eap_peer_tls_register() 401 eap->process = eap_tls_process; in eap_peer_tls_register() 402 eap->isKeyAvailable = eap_tls_isKeyAvailable; in eap_peer_tls_register() 403 eap->getKey = eap_tls_getKey; in eap_peer_tls_register() 404 eap->getSessionId = eap_tls_get_session_id; in eap_peer_tls_register() 405 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_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_leap.c | 274 const struct eap_hdr *eap; in eap_leap_process() local 292 eap = wpabuf_head(reqData); in eap_leap_process() 293 if (wpabuf_len(reqData) < sizeof(*eap) || in eap_leap_process() 294 be_to_host16(eap->length) > wpabuf_len(reqData)) { in eap_leap_process() 307 switch (eap->code) { in eap_leap_process() 316 "ignored", eap->code); in eap_leap_process() 395 struct eap_method *eap; in eap_peer_leap_register() local 397 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_leap_register() 399 if (eap == NULL) in eap_peer_leap_register() 402 eap->init = eap_leap_init; in eap_peer_leap_register() [all …]
|
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 | 284 struct eap_method *eap; in eap_peer_method_alloc() local 285 eap = os_zalloc(sizeof(*eap)); in eap_peer_method_alloc() 286 if (eap == NULL) in eap_peer_method_alloc() 288 eap->version = version; in eap_peer_method_alloc() 289 eap->vendor = vendor; in eap_peer_method_alloc() 290 eap->method = method; in eap_peer_method_alloc() 291 eap->name = name; in eap_peer_method_alloc() 292 return eap; in eap_peer_method_alloc()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tls.c | 377 struct eap_method *eap; in eap_server_tls_register() local 379 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_tls_register() 381 if (eap == NULL) in eap_server_tls_register() 384 eap->init = eap_tls_init; in eap_server_tls_register() 385 eap->reset = eap_tls_reset; in eap_server_tls_register() 386 eap->buildReq = eap_tls_buildReq; in eap_server_tls_register() 387 eap->check = eap_tls_check; in eap_server_tls_register() 388 eap->process = eap_tls_process; in eap_server_tls_register() 389 eap->isDone = eap_tls_isDone; in eap_server_tls_register() 390 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_methods.c | 74 struct eap_method *eap; in eap_server_method_alloc() local 75 eap = os_zalloc(sizeof(*eap)); in eap_server_method_alloc() 76 if (eap == NULL) in eap_server_method_alloc() 78 eap->version = version; in eap_server_method_alloc() 79 eap->vendor = vendor; in eap_server_method_alloc() 80 eap->method = method; in eap_server_method_alloc() 81 eap->name = name; in eap_server_method_alloc() 82 return eap; in eap_server_method_alloc()
|
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_gtc.c | 204 struct eap_method *eap; in eap_server_gtc_register() local 206 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_gtc_register() 208 if (eap == NULL) in eap_server_gtc_register() 211 eap->init = eap_gtc_init; in eap_server_gtc_register() 212 eap->reset = eap_gtc_reset; in eap_server_gtc_register() 213 eap->buildReq = eap_gtc_buildReq; in eap_server_gtc_register() 214 eap->check = eap_gtc_check; in eap_server_gtc_register() 215 eap->process = eap_gtc_process; in eap_server_gtc_register() 216 eap->isDone = eap_gtc_isDone; in eap_server_gtc_register() 217 eap->isSuccess = eap_gtc_isSuccess; in eap_server_gtc_register() [all …]
|
D | eap_server_ttls.c | 159 u8 *eap; member 230 if (parse->eap == NULL) { in eap_ttls_avp_parse() 231 parse->eap = os_malloc(dlen); in eap_ttls_avp_parse() 232 if (parse->eap == NULL) { in eap_ttls_avp_parse() 238 os_memcpy(parse->eap, dpos, dlen); in eap_ttls_avp_parse() 241 u8 *neweap = os_realloc(parse->eap, in eap_ttls_avp_parse() 250 parse->eap = neweap; in eap_ttls_avp_parse() 326 os_free(parse->eap); in eap_ttls_avp_parse() 327 parse->eap = NULL; in eap_ttls_avp_parse() 956 const u8 *eap, size_t eap_len) in eap_ttls_process_phase2_eap() argument [all …]
|
D | eap_server_wsc.c | 490 struct eap_method *eap; in eap_server_wsc_register() local 492 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_wsc_register() 495 if (eap == NULL) in eap_server_wsc_register() 498 eap->init = eap_wsc_init; in eap_server_wsc_register() 499 eap->reset = eap_wsc_reset; in eap_server_wsc_register() 500 eap->buildReq = eap_wsc_buildReq; in eap_server_wsc_register() 501 eap->check = eap_wsc_check; in eap_server_wsc_register() 502 eap->process = eap_wsc_process; in eap_server_wsc_register() 503 eap->isDone = eap_wsc_isDone; in eap_server_wsc_register() 504 eap->isSuccess = eap_wsc_isSuccess; in eap_server_wsc_register() [all …]
|
D | eap_server_aka.c | 1321 struct eap_method *eap; in eap_server_aka_register() local 1323 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_aka_register() 1325 if (eap == NULL) in eap_server_aka_register() 1328 eap->init = eap_aka_init; in eap_server_aka_register() 1329 eap->reset = eap_aka_reset; in eap_server_aka_register() 1330 eap->buildReq = eap_aka_buildReq; in eap_server_aka_register() 1331 eap->check = eap_aka_check; in eap_server_aka_register() 1332 eap->process = eap_aka_process; in eap_server_aka_register() 1333 eap->isDone = eap_aka_isDone; in eap_server_aka_register() 1334 eap->getKey = eap_aka_getKey; in eap_server_aka_register() [all …]
|
D | eap_server_sake.c | 522 struct eap_method *eap; in eap_server_sake_register() local 524 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_sake_register() 526 if (eap == NULL) in eap_server_sake_register() 529 eap->init = eap_sake_init; in eap_server_sake_register() 530 eap->reset = eap_sake_reset; in eap_server_sake_register() 531 eap->buildReq = eap_sake_buildReq; in eap_server_sake_register() 532 eap->check = eap_sake_check; in eap_server_sake_register() 533 eap->process = eap_sake_process; in eap_server_sake_register() 534 eap->isDone = eap_sake_isDone; in eap_server_sake_register() 535 eap->getKey = eap_sake_getKey; in eap_server_sake_register() [all …]
|
D | eap_server_ikev2.c | 552 struct eap_method *eap; in eap_server_ikev2_register() local 554 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_ikev2_register() 557 if (eap == NULL) in eap_server_ikev2_register() 560 eap->init = eap_ikev2_init; in eap_server_ikev2_register() 561 eap->reset = eap_ikev2_reset; in eap_server_ikev2_register() 562 eap->buildReq = eap_ikev2_buildReq; in eap_server_ikev2_register() 563 eap->check = eap_ikev2_check; in eap_server_ikev2_register() 564 eap->process = eap_ikev2_process; in eap_server_ikev2_register() 565 eap->isDone = eap_ikev2_isDone; in eap_server_ikev2_register() 566 eap->getKey = eap_ikev2_getKey; in eap_server_ikev2_register() [all …]
|
D | eap_server_psk.c | 512 struct eap_method *eap; in eap_server_psk_register() local 514 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_psk_register() 516 if (eap == NULL) in eap_server_psk_register() 519 eap->init = eap_psk_init; in eap_server_psk_register() 520 eap->reset = eap_psk_reset; in eap_server_psk_register() 521 eap->buildReq = eap_psk_buildReq; in eap_server_psk_register() 522 eap->check = eap_psk_check; in eap_server_psk_register() 523 eap->process = eap_psk_process; in eap_server_psk_register() 524 eap->isDone = eap_psk_isDone; in eap_server_psk_register() 525 eap->getKey = eap_psk_getKey; in eap_server_psk_register() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.conf | 1305 eap=TLS 1319 eap=PEAP 1333 eap=TTLS 1346 eap=TTLS 1359 eap=TTLS 1396 eap=SIM 1406 eap=PSK 1419 eap=TLS 1433 eap=LEAP 1442 eap=IKEV2 [all …]
|
D | interworking.c | 341 struct nai_realm_eap *eap; member 352 os_free(realms[i].eap); in nai_realm_free() 503 r->eap = os_calloc(r->eap_count, sizeof(struct nai_realm_eap)); in nai_realm_parse_realm() 504 if (r->eap == NULL) in nai_realm_parse_realm() 508 pos = nai_realm_parse_eap(&r->eap[e], pos, f_end); in nai_realm_parse_realm() 597 struct nai_realm_eap *eap) in nai_realm_cred_username() argument 599 if (eap_get_name(EAP_VENDOR_IETF, eap->method) == NULL) { in nai_realm_cred_username() 602 eap->method); in nai_realm_cred_username() 606 if (eap->method != EAP_TYPE_TTLS && eap->method != EAP_TYPE_PEAP && in nai_realm_cred_username() 607 eap->method != EAP_TYPE_FAST) { in nai_realm_cred_username() [all …]
|
D | config.c | 1341 if (!errors && ssid->eap.eap_methods) { in wpa_config_parse_eap() 1345 prev_m = ssid->eap.eap_methods; in wpa_config_parse_eap() 1369 os_free(ssid->eap.eap_methods); in wpa_config_parse_eap() 1370 ssid->eap.eap_methods = methods; in wpa_config_parse_eap() 1381 const struct eap_method_type *eap_methods = ssid->eap.eap_methods; in wpa_config_write_eap() 1419 if (!ssid->eap.password) in wpa_config_parse_password() 1422 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password() 1423 ssid->eap.password = NULL; in wpa_config_parse_password() 1424 ssid->eap.password_len = 0; in wpa_config_parse_password() 1433 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password() [all …]
|
/external/tcpdump/ |
D | print-eap.c | 156 const struct eap_frame_t *eap; in eap_print() local 163 eap = (const struct eap_frame_t *)cp; in eap_print() 164 ND_TCHECK(*eap); in eap_print() 169 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print() 170 eap->type, in eap_print() 171 eap->version, in eap_print() 172 EXTRACT_16BITS(eap->length))); in eap_print() 177 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print() 178 eap->type, in eap_print() 179 eap->version, in eap_print() [all …]
|
/external/wpa_supplicant_8/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 …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_1x.c | 304 const u8 *eap, size_t len) in ieee802_1x_learn_identity() argument 308 const struct eap_hdr *hdr = (const struct eap_hdr *) eap; in ieee802_1x_learn_identity() 312 eap[sizeof(struct eap_hdr)] != EAP_TYPE_IDENTITY) || in ieee802_1x_learn_identity() 314 eap[sizeof(struct eap_hdr)] != EAP_ERP_TYPE_REAUTH) || in ieee802_1x_learn_identity() 319 identity = eap_get_identity(sm->eap, &identity_len); in ieee802_1x_learn_identity() 592 const u8 *eap, size_t len) in ieee802_1x_encapsulate_radius() argument 600 ieee802_1x_learn_identity(hapd, sm, eap, len); in ieee802_1x_encapsulate_radius() 639 if (!radius_msg_add_eap(msg, eap, len)) { in ieee802_1x_encapsulate_radius() 726 struct sta_info *sta, struct eap_hdr *eap, in handle_eap_response() argument 734 data = (u8 *) (eap + 1); in handle_eap_response() [all …]
|