Home
last modified time | relevance | path

Searched refs:EAP_VENDOR_IETF (Results 1 – 25 of 52) sorted by relevance

123

/external/wpa_supplicant_8/src/eap_peer/
Deap_gtc.c27 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()
Deap_otp.c37 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()
Deap_md5.c46 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()
Deap_leap.c77 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()
156 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_LEAP, in eap_leap_process_success()
200 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_LEAP, reqData, &len); in eap_leap_process_response()
398 EAP_VENDOR_IETF, EAP_TYPE_LEAP, "LEAP"); in eap_peer_leap_register()
Deap_tnc.c74 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()
Deap_psk.c96 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process_1()
136 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, in eap_psk_process_1()
194 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, in eap_psk_process_3()
317 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, plen, in eap_psk_process_3()
380 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process()
485 EAP_VENDOR_IETF, EAP_TYPE_PSK, "PSK"); in eap_peer_psk_register()
Deap.c140 for (i = 0; m[i].vendor != EAP_VENDOR_IETF || in eap_allowed_method()
600 msg = eap_msg_alloc(EAP_VENDOR_IETF, (EapType) EAP_ERP_TYPE_REAUTH, in eap_peer_erp_reauth_start()
650 if (sm->m->vendor == EAP_VENDOR_IETF && sm->m->method == EAP_TYPE_LEAP) in SM_STATE()
1142 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_EXPANDED, in eap_sm_build_expanded_nak()
1147 wpabuf_put_be24(resp, EAP_VENDOR_IETF); in eap_sm_build_expanded_nak()
1168 wpabuf_put_be24(resp, EAP_VENDOR_IETF); in eap_sm_build_expanded_nak()
1196 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, in eap_sm_buildNak()
1204 if (m->vendor == EAP_VENDOR_IETF && m->method == sm->reqMethod) in eap_sm_buildNak()
1207 if (m->vendor != EAP_VENDOR_IETF) { in eap_sm_buildNak()
1236 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req, in eap_sm_processIdentity()
[all …]
Deap_mschapv2.c168 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_challenge_reply()
377 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, 1, in eap_mschapv2_success()
542 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_change_password()
699 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, 1, in eap_mschapv2_failure()
802 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, reqData, in eap_mschapv2_process()
885 EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, in eap_peer_mschapv2_register()
Deap_methods.c59 *vendor = EAP_VENDOR_IETF; in eap_peer_get_type()
76 if (vendor == EAP_VENDOR_IETF && type == EAP_TYPE_EXPANDED) in eap_get_name()
Deap_peap.c156 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()
374 msg = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, len, in eap_tlv_build_result()
480 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, req, &left); in eap_tlv_process()
666 if (data->phase2_type.vendor == EAP_VENDOR_IETF && in eap_peap_phase2_request()
671 EAP_VENDOR_IETF || in eap_peap_phase2_request()
1286 EAP_VENDOR_IETF, EAP_TYPE_PEAP, "PEAP"); in eap_peer_peap_register()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_gtc.c31 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()
207 EAP_VENDOR_IETF, EAP_TYPE_GTC, "GTC"); in eap_server_gtc_register()
Deap_server_psk.c70 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()
259 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_psk_process_2()
262 if (sm->user->methods[i].vendor == EAP_VENDOR_IETF && in eap_psk_process_2()
268 sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_psk_process_2()
343 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); in eap_psk_process_4()
423 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_process()
515 EAP_VENDOR_IETF, EAP_TYPE_PSK, "PSK"); in eap_server_psk_register()
Deap_server_identity.c67 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()
Deap_server_md5.c56 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()
Deap_server_pax.c87 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()
361 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_pax_process_std_2()
364 if (sm->user->methods[i].vendor == EAP_VENDOR_IETF && in eap_pax_process_std_2()
370 sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_pax_process_std_2()
471 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process()
570 EAP_VENDOR_IETF, EAP_TYPE_PAX, "PAX"); in eap_server_pax_register()
Deap_server_mschapv2.c114 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_challenge()
152 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_success_req()
195 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len, in eap_mschapv2_build_failure_req()
247 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check()
295 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_response()
460 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp()
487 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp()
576 EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, in eap_server_mschapv2_register()
Deap_server_peap.c215 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PEAP, 1, in eap_peap_build_start()
398 buf = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, mlen, in eap_peap_build_phase2_tlv()
573 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PEAP, respData, &len); in eap_peap_check()
664 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, in_data, &left); in eap_peap_process_phase2_tlv()
909 int next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
943 EAP_VENDOR_IETF || in eap_peap_process_phase2_response()
955 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
983 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
997 eap_peap_phase2_init(sm, data, EAP_VENDOR_IETF, in eap_peap_process_phase2_response()
1013 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
[all …]
Deap_server_tnc.c109 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()
Deap_server_methods.c54 *vendor = EAP_VENDOR_IETF; in eap_server_get_type()
169 if (vendor == EAP_VENDOR_IETF && type == EAP_TYPE_EXPANDED) in eap_server_get_name()
Deap_server.c99 msg = eap_msg_alloc(EAP_VENDOR_IETF, in eap_sm_buildInitiateReauthStart()
288 sm->m = eap_server_get_eap_method(EAP_VENDOR_IETF, in SM_STATE()
549 if (vendor == EAP_VENDOR_IETF) in SM_STATE()
718 msg = eap_msg_alloc(EAP_VENDOR_IETF, (EapType) EAP_ERP_TYPE_REAUTH, in erp_send_finish_reauth()
803 pos = eap_hdr_validate(EAP_VENDOR_IETF, (EapType) EAP_ERP_TYPE_REAUTH, in SM_STATE()
1162 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP()
1203 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP()
1210 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP()
1463 sm->respVendor = EAP_VENDOR_IETF; in eap_sm_parseEapResp()
1603 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_sm_process_nak()
[all …]
Deap_server_gpsk.c122 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()
548 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len); in eap_gpsk_process()
636 EAP_VENDOR_IETF, EAP_TYPE_GPSK, "GPSK"); in eap_server_gpsk_register()
Deap_server_sake.c99 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()
418 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_process()
525 EAP_VENDOR_IETF, EAP_TYPE_SAKE, "SAKE"); in eap_server_sake_register()
Deap_server_ikev2.c171 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, plen, in eap_ikev2_build_msg()
246 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_check()
361 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_process()
555 EAP_VENDOR_IETF, EAP_TYPE_IKEV2, in eap_server_ikev2_register()
/external/wpa_supplicant_8/src/eap_common/
Deap_common.c102 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()
Deap_defs.h101 EAP_VENDOR_IETF = 0, enumerator

123