/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls.c | 407 struct eap_method *eap; in eap_peer_tls_register() local 409 eap = eap_peer_method_alloc(EAP_PEER_METHOD_INTERFACE_VERSION, in eap_peer_tls_register() 411 if (eap == NULL) in eap_peer_tls_register() 414 eap->init = eap_tls_init; in eap_peer_tls_register() 415 eap->deinit = eap_tls_deinit; in eap_peer_tls_register() 416 eap->process = eap_tls_process; in eap_peer_tls_register() 417 eap->isKeyAvailable = eap_tls_isKeyAvailable; in eap_peer_tls_register() 418 eap->getKey = eap_tls_getKey; in eap_peer_tls_register() 419 eap->getSessionId = eap_tls_get_session_id; in eap_peer_tls_register() 420 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 | 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_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 | 407 struct eap_method *eap; in eap_server_tls_register() local 409 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_tls_register() 411 if (eap == NULL) in eap_server_tls_register() 414 eap->init = eap_tls_init; in eap_server_tls_register() 415 eap->reset = eap_tls_reset; in eap_server_tls_register() 416 eap->buildReq = eap_tls_buildReq; in eap_server_tls_register() 417 eap->check = eap_tls_check; in eap_server_tls_register() 418 eap->process = eap_tls_process; in eap_server_tls_register() 419 eap->isDone = eap_tls_isDone; in eap_server_tls_register() 420 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 | 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_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 …]
|
D | eap_server_sake.c | 519 struct eap_method *eap; in eap_server_sake_register() local 521 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_sake_register() 523 if (eap == NULL) in eap_server_sake_register() 526 eap->init = eap_sake_init; in eap_server_sake_register() 527 eap->reset = eap_sake_reset; in eap_server_sake_register() 528 eap->buildReq = eap_sake_buildReq; in eap_server_sake_register() 529 eap->check = eap_sake_check; in eap_server_sake_register() 530 eap->process = eap_sake_process; in eap_server_sake_register() 531 eap->isDone = eap_sake_isDone; in eap_server_sake_register() 532 eap->getKey = eap_sake_getKey; in eap_server_sake_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_memdup(dpos, dlen); in eap_ttls_avp_parse() 232 if (parse->eap == NULL) { in eap_ttls_avp_parse() 240 u8 *neweap = os_realloc(parse->eap, in eap_ttls_avp_parse() 249 parse->eap = neweap; in eap_ttls_avp_parse() 325 os_free(parse->eap); in eap_ttls_avp_parse() 326 parse->eap = NULL; in eap_ttls_avp_parse() 958 const u8 *eap, size_t eap_len) in eap_ttls_process_phase2_eap() argument 979 hdr = (struct eap_hdr *) eap; in eap_ttls_process_phase2_eap() [all …]
|
D | eap_server_aka.c | 1323 struct eap_method *eap; in eap_server_aka_register() local 1325 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_aka_register() 1327 if (eap == NULL) in eap_server_aka_register() 1330 eap->init = eap_aka_init; in eap_server_aka_register() 1331 eap->reset = eap_aka_reset; in eap_server_aka_register() 1332 eap->buildReq = eap_aka_buildReq; in eap_server_aka_register() 1333 eap->check = eap_aka_check; in eap_server_aka_register() 1334 eap->process = eap_aka_process; in eap_server_aka_register() 1335 eap->isDone = eap_aka_isDone; in eap_server_aka_register() 1336 eap->getKey = eap_aka_getKey; in eap_server_aka_register() [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_ikev2.c | 551 struct eap_method *eap; in eap_server_ikev2_register() local 553 eap = eap_server_method_alloc(EAP_SERVER_METHOD_INTERFACE_VERSION, in eap_server_ikev2_register() 556 if (eap == NULL) in eap_server_ikev2_register() 559 eap->init = eap_ikev2_init; in eap_server_ikev2_register() 560 eap->reset = eap_ikev2_reset; in eap_server_ikev2_register() 561 eap->buildReq = eap_ikev2_buildReq; in eap_server_ikev2_register() 562 eap->check = eap_ikev2_check; in eap_server_ikev2_register() 563 eap->process = eap_ikev2_process; in eap_server_ikev2_register() 564 eap->isDone = eap_ikev2_isDone; in eap_server_ikev2_register() 565 eap->getKey = eap_ikev2_getKey; in eap_server_ikev2_register() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.conf | 1559 eap=TLS 1573 eap=PEAP 1587 eap=TTLS 1600 eap=TTLS 1613 eap=TTLS 1650 eap=SIM 1660 eap=PSK 1673 eap=TLS 1687 eap=LEAP 1696 eap=IKEV2 [all …]
|
D | config.c | 1527 if (!errors && ssid->eap.eap_methods) { in wpa_config_parse_eap() 1531 prev_m = ssid->eap.eap_methods; in wpa_config_parse_eap() 1555 os_free(ssid->eap.eap_methods); in wpa_config_parse_eap() 1556 ssid->eap.eap_methods = methods; in wpa_config_parse_eap() 1567 const struct eap_method_type *eap_methods = ssid->eap.eap_methods; in wpa_config_write_eap() 1605 if (!ssid->eap.password) in wpa_config_parse_password() 1608 bin_clear_free(ssid->eap.password, ssid->eap.password_len); in wpa_config_parse_password() 1609 ssid->eap.password = NULL; in wpa_config_parse_password() 1610 ssid->eap.password_len = 0; in wpa_config_parse_password() 1619 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 …]
|
/external/tcpdump/ |
D | print-eap.c | 154 const struct eap_frame_t *eap; in eap_print() local 161 eap = (const struct eap_frame_t *)cp; in eap_print() 162 ND_TCHECK(*eap); in eap_print() 167 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print() 168 eap->type, in eap_print() 169 eap->version, in eap_print() 170 EXTRACT_16BITS(eap->length))); in eap_print() 175 tok2str(eap_frame_type_values, "unknown", eap->type), in eap_print() 176 eap->type, in eap_print() 177 eap->version, in eap_print() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/ |
D | sta_network.cpp | 1040 if (wpa_ssid->eap.eap_methods) { in setEapMethodInternal() 1041 os_free(wpa_ssid->eap.eap_methods); in setEapMethodInternal() 1048 wpa_ssid->eap.eap_methods = in setEapMethodInternal() 1050 if (!wpa_ssid->eap.eap_methods) { in setEapMethodInternal() 1053 wpa_ssid->eap.eap_methods[0].vendor = retrieved_vendor; in setEapMethodInternal() 1054 wpa_ssid->eap.eap_methods[0].method = retrieved_method; in setEapMethodInternal() 1055 wpa_ssid->eap.eap_methods[1].vendor = EAP_VENDOR_IETF; in setEapMethodInternal() 1056 wpa_ssid->eap.eap_methods[1].method = EAP_TYPE_NONE; in setEapMethodInternal() 1067 MSG_MSGDUMP, "eap methods", (u8 *)wpa_ssid->eap.eap_methods, in setEapMethodInternal() 1105 eap_phase2_str.c_str(), &(wpa_ssid->eap.phase2), in setEapPhase2MethodInternal() [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/autotest/client/cros/enterprise/ |
D | network_config.py | 21 def __init__(self, ssid=None, security='None', eap=None, password=None, argument 40 self.eap = eap 99 if self.eap is not None: 101 'Outer': self.eap, 109 if self.eap == 'EAP-TLS':
|