Home
last modified time | relevance | path

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

123

/hostap-3.6.0/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_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_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()
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()
Deap.c151 for (i = 0; m[i].vendor != EAP_VENDOR_IETF || in eap_config_allowed_method()
490 (eap_config_allowed_method(sm, config, EAP_VENDOR_IETF, in eap_get_realm()
492 eap_config_allowed_method(sm, config, EAP_VENDOR_IETF, in eap_get_realm()
494 eap_config_allowed_method(sm, config, EAP_VENDOR_IETF, in eap_get_realm()
826 msg = eap_msg_alloc(EAP_VENDOR_IETF, in eap_peer_build_erp_reauth_start()
892 if (sm->m->vendor == EAP_VENDOR_IETF && sm->m->method == EAP_TYPE_LEAP) in SM_STATE()
1411 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_EXPANDED, in eap_sm_build_expanded_nak()
1416 wpabuf_put_be24(resp, EAP_VENDOR_IETF); in eap_sm_build_expanded_nak()
1437 wpabuf_put_be24(resp, EAP_VENDOR_IETF); in eap_sm_build_expanded_nak()
1465 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_NAK, in eap_sm_buildNak()
[all …]
Deap_psk.c96 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()
Deap_mschapv2.c166 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()
Deap_fast.c170 data->phase2_type.vendor = EAP_VENDOR_IETF; in eap_fast_init()
376 (vendor != EAP_VENDOR_IETF || type != EAP_TYPE_MSCHAPV2)) { in eap_fast_select_phase2_method()
384 if (vendor == EAP_VENDOR_IETF && type == EAP_TYPE_TNC) { in eap_fast_select_phase2_method()
385 data->phase2_type.vendor = EAP_VENDOR_IETF; in eap_fast_select_phase2_method()
411 (vendor == EAP_VENDOR_IETF && type == EAP_TYPE_NONE)) in eap_fast_select_phase2_method()
429 int vendor = EAP_VENDOR_IETF; in eap_fast_phase2_request()
451 if (vendor == EAP_VENDOR_IETF && method == EAP_TYPE_IDENTITY) { in eap_fast_phase2_request()
464 data->phase2_type.vendor = EAP_VENDOR_IETF; in eap_fast_phase2_request()
468 if (data->phase2_type.vendor == EAP_VENDOR_IETF && in eap_fast_phase2_request()
697 data->phase2_method->vendor == EAP_VENDOR_IETF && in eap_fast_get_phase2_key()
[all …]
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()
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()
671 vendor = EAP_VENDOR_IETF; in eap_peap_phase2_request()
685 if (data->phase2_type.vendor == EAP_VENDOR_IETF && in eap_peap_phase2_request()
706 (vendor == EAP_VENDOR_IETF && method == EAP_TYPE_NONE)) { in eap_peap_phase2_request()
1357 EAP_VENDOR_IETF, EAP_TYPE_PEAP, "PEAP"); in eap_peer_peap_register()
/hostap-3.6.0/src/eap_server/
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()
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()
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()
206 EAP_VENDOR_IETF, EAP_TYPE_GTC, "GTC"); in eap_server_gtc_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()
133 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PAX, in eap_pax_build_std_3()
207 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_check()
318 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process_std_2()
380 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_pax_process_std_2()
383 if (sm->user->methods[i].vendor == EAP_VENDOR_IETF && in eap_pax_process_std_2()
389 sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_pax_process_std_2()
499 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process()
598 EAP_VENDOR_IETF, EAP_TYPE_PAX, "PAX"); in eap_server_pax_register()
Deap_server_mschapv2.c113 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()
Deap_server_fast.c361 data->phase2_method->vendor == EAP_VENDOR_IETF && in eap_fast_get_phase2_key()
530 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_FAST, in eap_fast_build_start()
938 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_FAST, respData, &len); in eap_fast_check()
978 int next_vendor = EAP_VENDOR_IETF; in eap_fast_process_phase2_response()
1001 if (m && m->vendor == EAP_VENDOR_IETF && in eap_fast_process_phase2_response()
1005 next_vendor = EAP_VENDOR_IETF; in eap_fast_process_phase2_response()
1022 next_vendor = EAP_VENDOR_IETF; in eap_fast_process_phase2_response()
1045 next_vendor = EAP_VENDOR_IETF; in eap_fast_process_phase2_response()
1058 next_vendor = EAP_VENDOR_IETF; in eap_fast_process_phase2_response()
1069 next_vendor = EAP_VENDOR_IETF; in eap_fast_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_peap.c215 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PEAP, 1, in eap_peap_build_start()
416 buf = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, mlen, in eap_peap_build_phase2_tlv()
608 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PEAP, respData, &len); in eap_peap_check()
699 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, in_data, &left); in eap_peap_process_phase2_tlv()
944 int next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
978 EAP_VENDOR_IETF || in eap_peap_process_phase2_response()
990 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
1018 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
1032 eap_peap_phase2_init(sm, data, EAP_VENDOR_IETF, in eap_peap_process_phase2_response()
1048 next_vendor = EAP_VENDOR_IETF; in eap_peap_process_phase2_response()
[all …]
Deap_server_teap.c468 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TEAP, in eap_teap_build_start()
555 data->phase2_method->vendor == EAP_VENDOR_IETF && in eap_teap_build_phase2_req()
989 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TEAP, respData, &len); in eap_teap_check()
1044 int next_vendor = EAP_VENDOR_IETF; in eap_teap_process_phase2_response()
1069 if (m && m->vendor == EAP_VENDOR_IETF && in eap_teap_process_phase2_response()
1073 next_vendor = EAP_VENDOR_IETF; in eap_teap_process_phase2_response()
1090 next_vendor = EAP_VENDOR_IETF; in eap_teap_process_phase2_response()
1113 next_vendor = EAP_VENDOR_IETF; in eap_teap_process_phase2_response()
1132 next_vendor = EAP_VENDOR_IETF; in eap_teap_process_phase2_response()
1143 next_vendor = EAP_VENDOR_IETF; in eap_teap_process_phase2_response()
[all …]
Deap_server.c95 msg = eap_msg_alloc(EAP_VENDOR_IETF, in eap_sm_buildInitiateReauthStart()
286 sm->m = eap_server_get_eap_method(EAP_VENDOR_IETF, in SM_STATE()
558 if (vendor == EAP_VENDOR_IETF) in SM_STATE()
730 msg = eap_msg_alloc(EAP_VENDOR_IETF, in erp_send_finish_reauth()
816 pos = eap_hdr_validate(EAP_VENDOR_IETF, in SM_STATE()
1197 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP()
1238 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP()
1245 sm->respVendor == EAP_VENDOR_IETF && in SM_STEP()
1498 sm->respVendor = EAP_VENDOR_IETF; in eap_sm_parseEapResp()
1638 (sm->user->methods[i].vendor != EAP_VENDOR_IETF || in eap_sm_process_nak()
[all …]
Deap_server_methods.c55 *vendor = EAP_VENDOR_IETF; in eap_server_get_type()
171 if (vendor == EAP_VENDOR_IETF && type == EAP_TYPE_EXPANDED) in eap_server_get_name()
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()
633 EAP_VENDOR_IETF, EAP_TYPE_GPSK, "GPSK"); in eap_server_gpsk_register()
Deap_server_ikev2.c170 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()
/hostap-3.6.0/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()

123