Home
last modified time | relevance | path

Searched refs:reqData (Results 1 – 24 of 24) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_leap.c61 const struct wpabuf *reqData) in eap_leap_process_request() argument
77 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_LEAP, reqData, &len); in eap_leap_process_request()
98 challenge_len, (unsigned long) wpabuf_len(reqData)); in eap_leap_process_request()
111 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_leap_process_request()
135 const struct wpabuf *reqData) in eap_leap_process_success() argument
158 EAP_CODE_REQUEST, eap_get_id(reqData)); in eap_leap_process_success()
185 const struct wpabuf *reqData) in eap_leap_process_response() argument
200 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_LEAP, reqData, &len); in eap_leap_process_response()
221 response_len, (unsigned long) wpabuf_len(reqData)); in eap_leap_process_response()
272 const struct wpabuf *reqData) in eap_leap_process() argument
[all …]
Deap_eke.c223 const struct wpabuf *reqData, in eap_eke_process_id() argument
232 u8 id = eap_get_id(reqData); in eap_eke_process_id()
339 data->msgs = wpabuf_alloc(wpabuf_len(reqData) + wpabuf_len(resp)); in eap_eke_process_id()
345 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_id()
357 const struct wpabuf *reqData, in eap_eke_process_commit() argument
369 u8 id = eap_get_id(reqData); in eap_eke_process_commit()
486 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
492 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_commit()
503 const struct wpabuf *reqData, in eap_eke_process_confirm() argument
514 u8 id = eap_get_id(reqData); in eap_eke_process_confirm()
[all …]
Deap_psk.c85 const struct wpabuf *reqData) in eap_psk_process_1() argument
96 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process_1()
138 eap_get_id(reqData)); in eap_psk_process_1()
180 const struct wpabuf *reqData) in eap_psk_process_3() argument
195 reqData, &len); in eap_psk_process_3()
273 wpabuf_head(reqData), 5); in eap_psk_process_3()
285 wpabuf_head(reqData), in eap_psk_process_3()
318 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_psk_process_3()
373 const struct wpabuf *reqData) in eap_psk_process() argument
380 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process()
[all …]
Deap_otp.c30 const struct wpabuf *reqData) in eap_otp_process() argument
37 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len); in eap_otp_process()
67 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_otp_process()
Deap_md5.c31 const struct wpabuf *reqData) in eap_md5_process() argument
46 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, reqData, &len); in eap_md5_process()
77 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_md5_process()
Deap_sim.c700 const struct wpabuf *reqData, in eap_sim_process_challenge() argument
777 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, data->nonce_mt, in eap_sim_process_challenge()
857 const struct wpabuf *reqData, in eap_sim_process_notification_auth() argument
866 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_notification_auth()
886 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_notification() argument
904 eap_sim_process_notification_auth(data, reqData, attr)) { in eap_sim_process_notification()
921 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_reauthentication() argument
936 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_reauthentication()
1028 const struct wpabuf *reqData) in eap_sim_process() argument
1038 wpa_hexdump_buf(MSG_DEBUG, "EAP-SIM: EAP data", reqData); in eap_sim_process()
[all …]
Deap_gtc.c46 const struct wpabuf *reqData) in eap_gtc_process() argument
55 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, reqData, &len); in eap_gtc_process()
60 id = eap_get_id(reqData); in eap_gtc_process()
Deap_aka.c737 const struct wpabuf *reqData, in eap_aka_process_identity() argument
775 eap_aka_add_id_msg(data, reqData); in eap_aka_process_identity()
883 const struct wpabuf *reqData, in eap_aka_process_challenge() argument
1014 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_challenge()
1093 const struct wpabuf *reqData, in eap_aka_process_notification_auth() argument
1102 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_notification_auth()
1121 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_notification() argument
1139 eap_aka_process_notification_auth(data, reqData, attr)) { in eap_aka_process_notification()
1156 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_reauthentication() argument
1180 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_reauthentication()
[all …]
Deap_sake.c287 const struct wpabuf *reqData, in eap_sake_process_confirm() argument
315 wpabuf_head(reqData), wpabuf_len(reqData), in eap_sake_process_confirm()
361 const struct wpabuf *reqData) in eap_sake_process() argument
370 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, reqData, &len); in eap_sake_process()
378 id = eap_get_id(reqData); in eap_sake_process()
412 resp = eap_sake_process_confirm(sm, data, ret, id, reqData, in eap_sake_process()
Deap_vendor_test.c69 const struct wpabuf *reqData) in eap_vendor_test_process() argument
76 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, reqData, &len); in eap_vendor_test_process()
121 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_vendor_test_process()
Deap_ikev2.c247 const struct wpabuf *reqData, in eap_ikev2_process_icv() argument
254 reqData, pos, *end); in eap_ikev2_process_icv()
332 const struct wpabuf *reqData) in eap_ikev2_process() argument
341 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, reqData, &len); in eap_ikev2_process()
347 id = eap_get_id(reqData); in eap_ikev2_process()
357 if (eap_ikev2_process_icv(data, reqData, flags, pos, &end, in eap_ikev2_process()
Deap_pwd.c219 const struct wpabuf *reqData, in eap_pwd_perform_id_exchange() argument
358 const struct wpabuf *reqData, in eap_pwd_perform_commit_exchange() argument
571 const struct wpabuf *reqData, in eap_pwd_perform_confirm_exchange() argument
793 const struct wpabuf *reqData) in eap_pwd_process() argument
802 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, reqData, &len); in eap_pwd_process()
842 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
924 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
945 eap_pwd_perform_id_exchange(sm, data, ret, reqData, in eap_pwd_process()
949 eap_pwd_perform_commit_exchange(sm, data, ret, reqData, in eap_pwd_process()
953 eap_pwd_perform_confirm_exchange(sm, data, ret, reqData, in eap_pwd_process()
[all …]
Deap_pax.c328 const struct wpabuf *reqData) in eap_pax_process() argument
338 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, reqData, &len); in eap_pax_process()
343 id = eap_get_id(reqData); in eap_pax_process()
346 mlen = wpabuf_len(reqData) - EAP_PAX_ICV_LEN; in eap_pax_process()
415 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
419 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
Deap_mschapv2.c755 const struct wpabuf *reqData) in eap_mschapv2_copy_challenge() argument
762 data->prev_challenge = wpabuf_dup(reqData); in eap_mschapv2_copy_challenge()
777 const struct wpabuf *reqData) in eap_mschapv2_process() argument
797 reqData = data->prev_challenge; in eap_mschapv2_process()
802 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, reqData, in eap_mschapv2_process()
815 id = eap_get_id(reqData); in eap_mschapv2_process()
822 eap_mschapv2_copy_challenge(data, reqData); in eap_mschapv2_process()
Deap_tnc.c203 const struct wpabuf *reqData) in eap_tnc_process() argument
218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, reqData, &len); in eap_tnc_process()
226 id = eap_get_id(reqData); in eap_tnc_process()
355 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_tnc_process()
Deap_tls.c211 const struct wpabuf *reqData) in eap_tls_process() argument
248 reqData, &left, &flags); in eap_tls_process()
251 id = eap_get_id(reqData); in eap_tls_process()
Deap_tls_common.c819 const struct wpabuf *reqData, in eap_peer_tls_process_init() argument
834 EAP_VENDOR_TYPE_UNAUTH_TLS, reqData, in eap_peer_tls_process_init()
838 EAP_VENDOR_WFA_UNAUTH_TLS, reqData, in eap_peer_tls_process_init()
841 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, reqData, in eap_peer_tls_process_init()
863 "Flags 0x%02x", (unsigned long) wpabuf_len(reqData), in eap_peer_tls_process_init()
Deap_wsc.c427 const struct wpabuf *reqData) in eap_wsc_process() argument
438 pos = eap_hdr_validate(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, reqData, in eap_wsc_process()
445 id = eap_get_id(reqData); in eap_wsc_process()
Deap_tls_common.h114 const struct wpabuf *reqData,
Deap_gpsk.c667 const struct wpabuf *reqData) in eap_gpsk_process() argument
675 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, reqData, &len); in eap_gpsk_process()
681 id = eap_get_id(reqData); in eap_gpsk_process()
Deap_i.h118 const struct wpabuf *reqData);
Deap_peap.c966 const struct wpabuf *reqData) in eap_peap_process() argument
978 reqData, &left, &flags); in eap_peap_process()
981 req = wpabuf_head(reqData); in eap_peap_process()
Deap_ttls.c1587 const struct wpabuf *reqData) in eap_ttls_process() argument
1598 reqData, &left, &flags); in eap_ttls_process()
1601 id = eap_get_id(reqData); in eap_ttls_process()
Deap_fast.c1528 const struct wpabuf *reqData) in eap_fast_process() argument
1540 reqData, &left, &flags); in eap_fast_process()
1544 req = wpabuf_head(reqData); in eap_fast_process()