/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_gtc.c | 27 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF && in eap_gtc_init() 55 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, reqData, &len); in eap_gtc_process() 72 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, in eap_gtc_process() 104 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, plen, in eap_gtc_process() 132 EAP_VENDOR_IETF, EAP_TYPE_GTC, "GTC"); in eap_peer_gtc_register()
|
D | eap_otp.c | 37 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len); in eap_otp_process() 66 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len, in eap_otp_process() 88 EAP_VENDOR_IETF, EAP_TYPE_OTP, "OTP"); in eap_peer_otp_register()
|
D | eap_md5.c | 46 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, reqData, &len); in eap_md5_process() 76 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN, in eap_md5_process() 107 EAP_VENDOR_IETF, EAP_TYPE_MD5, "MD5"); in eap_peer_md5_register()
|
D | eap.c | 150 for (i = 0; m[i].vendor != EAP_VENDOR_IETF || in eap_config_allowed_method() 482 (eap_config_allowed_method(sm, config, EAP_VENDOR_IETF, in eap_get_realm() 484 eap_config_allowed_method(sm, config, EAP_VENDOR_IETF, in eap_get_realm() 486 eap_config_allowed_method(sm, config, EAP_VENDOR_IETF, in eap_get_realm() 818 msg = eap_msg_alloc(EAP_VENDOR_IETF, (EapType) EAP_ERP_TYPE_REAUTH, in eap_peer_build_erp_reauth_start() 883 if (sm->m->vendor == EAP_VENDOR_IETF && sm->m->method == EAP_TYPE_LEAP) in SM_STATE() 1378 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_EXPANDED, in eap_sm_build_expanded_nak() 1383 wpabuf_put_be24(resp, EAP_VENDOR_IETF); in eap_sm_build_expanded_nak() 1404 wpabuf_put_be24(resp, EAP_VENDOR_IETF); in eap_sm_build_expanded_nak() 1432 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, in eap_sm_buildNak() [all …]
|
D | eap_tnc.c | 74 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, 1, code, id); in eap_tnc_build_frag_ack() 113 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, plen, in eap_tnc_build_msg() 218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, reqData, &len); in eap_tnc_process() 354 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, 1, in eap_tnc_process() 415 EAP_VENDOR_IETF, EAP_TYPE_TNC, "TNC"); in eap_peer_tnc_register()
|
D | eap_leap.c | 77 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_LEAP, reqData, &len); in eap_leap_process_request() 109 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_LEAP, in eap_leap_process_request() 160 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_LEAP, in eap_leap_process_success() 204 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_LEAP, reqData, &len); in eap_leap_process_response() 405 EAP_VENDOR_IETF, EAP_TYPE_LEAP, "LEAP"); in eap_peer_leap_register()
|
D | eap_psk.c | 96 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process_1() 135 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, in eap_psk_process_1() 193 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, in eap_psk_process_3() 315 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, plen, in eap_psk_process_3() 378 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process() 481 EAP_VENDOR_IETF, EAP_TYPE_PSK, "PSK"); in eap_peer_psk_register()
|
D | eap_mschapv2.c | 166 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_challenge_reply() 375 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, 1, in eap_mschapv2_success() 540 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_change_password() 697 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, 1, in eap_mschapv2_failure() 800 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, reqData, in eap_mschapv2_process() 887 EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, in eap_peer_mschapv2_register()
|
D | eap_peap.c | 156 data->phase2_type.vendor = EAP_VENDOR_IETF; in eap_peap_init() 208 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, 10, in eap_tlv_build_nak() 377 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, len, in eap_tlv_build_result() 483 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, req, &left); in eap_tlv_process() 669 if (data->phase2_type.vendor == EAP_VENDOR_IETF && in eap_peap_phase2_request() 674 EAP_VENDOR_IETF || in eap_peap_phase2_request() 1324 EAP_VENDOR_IETF, EAP_TYPE_PEAP, "PEAP"); in eap_peer_peap_register()
|
D | eap_methods.c | 59 *vendor = EAP_VENDOR_IETF; in eap_peer_get_type() 76 if (vendor == EAP_VENDOR_IETF && type == EAP_TYPE_EXPANDED) in eap_get_name()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gtc.c | 31 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF && in eap_gtc_init() 60 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, msg_len, in eap_gtc_buildReq() 83 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); in eap_gtc_check() 100 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); in eap_gtc_process() 206 EAP_VENDOR_IETF, EAP_TYPE_GTC, "GTC"); in eap_server_gtc_register()
|
D | eap_server_psk.c | 70 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, in eap_psk_build_1() 99 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, in eap_psk_build_3() 182 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_check() 228 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, in eap_psk_process_2() 258 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_psk_process_2() 261 if (sm->user->methods[i].vendor == EAP_VENDOR_IETF && in eap_psk_process_2() 267 sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_psk_process_2() 342 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); in eap_psk_process_4() 421 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_process() 511 EAP_VENDOR_IETF, EAP_TYPE_PSK, "PSK"); in eap_server_psk_register()
|
D | eap_server_md5.c | 56 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHALLENGE_LEN, in eap_md5_buildReq() 82 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &len); in eap_md5_check() 114 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &plen); in eap_md5_process() 158 EAP_VENDOR_IETF, EAP_TYPE_MD5, "MD5"); in eap_server_md5_register()
|
D | eap_server_identity.c | 67 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req_data_len, in eap_identity_buildReq() 88 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, in eap_identity_check() 117 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, in eap_identity_process() 162 EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, in eap_server_identity_register()
|
D | eap_server_pax.c | 87 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PAX, in eap_pax_build_std_1() 128 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PAX, in eap_pax_build_std_3() 192 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_check() 298 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process_std_2() 360 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_pax_process_std_2() 363 if (sm->user->methods[i].vendor == EAP_VENDOR_IETF && in eap_pax_process_std_2() 369 sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_pax_process_std_2() 470 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process() 569 EAP_VENDOR_IETF, EAP_TYPE_PAX, "PAX"); in eap_server_pax_register()
|
D | eap_server_mschapv2.c | 113 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_challenge() 151 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_success_req() 194 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_failure_req() 246 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check() 294 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_response() 459 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp() 486 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp() 579 EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, in eap_server_mschapv2_register()
|
D | eap_server_peap.c | 215 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PEAP, 1, in eap_peap_build_start() 402 buf = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, mlen, in eap_peap_build_phase2_tlv() 577 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PEAP, respData, &len); in eap_peap_check() 668 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, in_data, &left); in eap_peap_process_phase2_tlv() 913 int next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response() 947 EAP_VENDOR_IETF || in eap_peap_process_phase2_response() 959 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response() 987 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response() 1001 eap_peap_phase2_init(sm, data, EAP_VENDOR_IETF, in eap_peap_process_phase2_response() 1017 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response() [all …]
|
D | eap_server_tnc.c | 109 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, 1, EAP_CODE_REQUEST, in eap_tnc_build_start() 204 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, 1, code, id); in eap_tnc_build_frag_ack() 240 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TNC, plen, in eap_tnc_build_msg() 330 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData, in eap_tnc_check() 456 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData, &len); in eap_tnc_process() 559 EAP_VENDOR_IETF, EAP_TYPE_TNC, "TNC"); in eap_server_tnc_register()
|
D | eap_server.c | 96 msg = eap_msg_alloc(EAP_VENDOR_IETF, in eap_sm_buildInitiateReauthStart() 285 sm->m = eap_server_get_eap_method(EAP_VENDOR_IETF, in SM_STATE() 551 if (vendor == EAP_VENDOR_IETF) in SM_STATE() 723 msg = eap_msg_alloc(EAP_VENDOR_IETF, (EapType) EAP_ERP_TYPE_REAUTH, in erp_send_finish_reauth() 808 pos = eap_hdr_validate(EAP_VENDOR_IETF, (EapType) EAP_ERP_TYPE_REAUTH, in SM_STATE() 1179 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP() 1220 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP() 1227 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP() 1480 sm->respVendor = EAP_VENDOR_IETF; in eap_sm_parseEapResp() 1620 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_sm_process_nak() [all …]
|
D | eap_server_methods.c | 54 *vendor = EAP_VENDOR_IETF; in eap_server_get_type() 169 if (vendor == EAP_VENDOR_IETF && type == EAP_TYPE_EXPANDED) in eap_server_get_name()
|
D | eap_server_gpsk.c | 122 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GPSK, len, in eap_gpsk_build_gpsk_1() 157 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GPSK, len, in eap_gpsk_build_gpsk_3() 218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len); in eap_gpsk_check() 547 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len); in eap_gpsk_process() 632 EAP_VENDOR_IETF, EAP_TYPE_GPSK, "GPSK"); in eap_server_gpsk_register()
|
D | eap_server_sake.c | 99 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_SAKE, plen, in eap_sake_build_msg() 244 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_check() 417 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_process() 522 EAP_VENDOR_IETF, EAP_TYPE_SAKE, "SAKE"); in eap_server_sake_register()
|
D | eap_server_ikev2.c | 170 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, plen, in eap_ikev2_build_msg() 245 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_check() 360 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_process() 554 EAP_VENDOR_IETF, EAP_TYPE_IKEV2, in eap_server_ikev2_register()
|
D | eap_server_eke.c | 119 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_EKE, plen, in eap_eke_build_msg() 391 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_EKE, respData, &len); in eap_eke_check() 488 if (sm->user->methods[i].vendor == EAP_VENDOR_IETF && in eap_eke_process_identity() 691 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_EKE, respData, &len); in eap_eke_process() 794 EAP_VENDOR_IETF, EAP_TYPE_EKE, "EKE"); in eap_server_eke_register()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_common.c | 102 if (vendor != EAP_VENDOR_IETF || *pos != eap_type) { in eap_hdr_validate() 135 len = sizeof(struct eap_hdr) + (vendor == EAP_VENDOR_IETF ? 1 : 8) + in eap_msg_alloc() 146 if (vendor == EAP_VENDOR_IETF) { in eap_msg_alloc()
|