Home
last modified time | relevance | path

Searched refs:reqData (Results 1 – 25 of 25) 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()
139 const struct wpabuf *reqData) in eap_leap_process_success() argument
162 EAP_CODE_REQUEST, eap_get_id(reqData)); in eap_leap_process_success()
189 const struct wpabuf *reqData) in eap_leap_process_response() argument
204 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_LEAP, reqData, &len); in eap_leap_process_response()
225 response_len, (unsigned long) wpabuf_len(reqData)); in eap_leap_process_response()
279 const struct wpabuf *reqData) in eap_leap_process() argument
[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()
137 eap_get_id(reqData)); in eap_psk_process_1()
179 const struct wpabuf *reqData) in eap_psk_process_3() argument
194 reqData, &len); in eap_psk_process_3()
272 wpabuf_head(reqData), 5); in eap_psk_process_3()
283 wpabuf_head(reqData), in eap_psk_process_3()
316 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_psk_process_3()
371 const struct wpabuf *reqData) in eap_psk_process() argument
378 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, reqData, &len); in eap_psk_process()
[all …]
Deap_eke.c222 const struct wpabuf *reqData, in eap_eke_process_id() argument
231 u8 id = eap_get_id(reqData); in eap_eke_process_id()
337 data->msgs = wpabuf_alloc(wpabuf_len(reqData) + wpabuf_len(resp)); in eap_eke_process_id()
343 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_id()
355 const struct wpabuf *reqData, in eap_eke_process_commit() argument
367 u8 id = eap_get_id(reqData); in eap_eke_process_commit()
484 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
490 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_commit()
501 const struct wpabuf *reqData, in eap_eke_process_confirm() argument
512 u8 id = eap_get_id(reqData); in eap_eke_process_confirm()
[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_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_sake.c289 const struct wpabuf *reqData, in eap_sake_process_confirm() argument
317 wpabuf_head(reqData), wpabuf_len(reqData), in eap_sake_process_confirm()
372 const struct wpabuf *reqData) in eap_sake_process() argument
381 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, reqData, &len); in eap_sake_process()
389 id = eap_get_id(reqData); in eap_sake_process()
423 resp = eap_sake_process_confirm(sm, data, ret, id, reqData, in eap_sake_process()
Deap_sim.c822 const struct wpabuf *reqData, in eap_sim_process_challenge() argument
917 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, data->nonce_mt, in eap_sim_process_challenge()
1002 const struct wpabuf *reqData, in eap_sim_process_notification_auth() argument
1011 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_notification_auth()
1031 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_notification() argument
1049 eap_sim_process_notification_auth(data, reqData, attr)) { in eap_sim_process_notification()
1067 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_reauthentication() argument
1082 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_reauthentication()
1194 const struct wpabuf *reqData) in eap_sim_process() argument
1204 wpa_hexdump_buf(MSG_DEBUG, "EAP-SIM: EAP data", reqData); in eap_sim_process()
[all …]
Deap_aka.c871 const struct wpabuf *reqData, in eap_aka_process_identity() argument
909 if (eap_aka_add_id_msg(data, reqData, buf) < 0) { in eap_aka_process_identity()
1032 const struct wpabuf *reqData, in eap_aka_process_challenge() argument
1182 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_challenge()
1266 const struct wpabuf *reqData, in eap_aka_process_notification_auth() argument
1275 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_notification_auth()
1294 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_notification() argument
1312 eap_aka_process_notification_auth(data, reqData, attr)) { in eap_aka_process_notification()
1330 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_reauthentication() argument
1359 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_reauthentication()
[all …]
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_pwd.c254 const struct wpabuf *reqData, in eap_pwd_perform_id_exchange() argument
355 const struct wpabuf *reqData, in eap_pwd_perform_commit_exchange() argument
692 const struct wpabuf *reqData, in eap_pwd_perform_confirm_exchange() argument
886 const struct wpabuf *reqData) in eap_pwd_process() argument
895 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, reqData, &len); in eap_pwd_process()
935 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
1024 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
1045 eap_pwd_perform_id_exchange(sm, data, ret, reqData, in eap_pwd_process()
1049 eap_pwd_perform_commit_exchange(sm, data, ret, reqData, in eap_pwd_process()
1053 eap_pwd_perform_confirm_exchange(sm, data, ret, reqData, in eap_pwd_process()
[all …]
Deap_ikev2.c245 const struct wpabuf *reqData, in eap_ikev2_process_icv() argument
252 reqData, pos, *end); in eap_ikev2_process_icv()
330 const struct wpabuf *reqData) in eap_ikev2_process() argument
339 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, reqData, &len); in eap_ikev2_process()
345 id = eap_get_id(reqData); in eap_ikev2_process()
355 if (eap_ikev2_process_icv(data, reqData, flags, pos, &end, in eap_ikev2_process()
Deap_pax.c334 const struct wpabuf *reqData) in eap_pax_process() argument
344 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, reqData, &len); in eap_pax_process()
349 id = eap_get_id(reqData); in eap_pax_process()
352 mlen = wpabuf_len(reqData) - EAP_PAX_ICV_LEN; in eap_pax_process()
421 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
425 wpabuf_head(reqData), mlen, NULL, 0, NULL, 0, in eap_pax_process()
Deap_mschapv2.c759 const struct wpabuf *reqData) in eap_mschapv2_copy_challenge() argument
766 data->prev_challenge = wpabuf_dup(reqData); in eap_mschapv2_copy_challenge()
781 const struct wpabuf *reqData) in eap_mschapv2_process() argument
801 reqData = data->prev_challenge; in eap_mschapv2_process()
806 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, reqData, in eap_mschapv2_process()
819 id = eap_get_id(reqData); in eap_mschapv2_process()
826 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.c241 const struct wpabuf *reqData) in eap_tls_process() argument
278 reqData, &left, &flags); in eap_tls_process()
281 id = eap_get_id(reqData); in eap_tls_process()
Deap_tls_common.c920 const struct wpabuf *reqData, in eap_peer_tls_process_init() argument
935 EAP_VENDOR_TYPE_UNAUTH_TLS, reqData, in eap_peer_tls_process_init()
939 EAP_VENDOR_WFA_UNAUTH_TLS, reqData, in eap_peer_tls_process_init()
942 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, reqData, in eap_peer_tls_process_init()
964 "Flags 0x%02x", (unsigned long) wpabuf_len(reqData), in eap_peer_tls_process_init()
Deap_wsc.c430 const struct wpabuf *reqData) in eap_wsc_process() argument
441 pos = eap_hdr_validate(EAP_VENDOR_WFA, EAP_VENDOR_TYPE_WSC, reqData, in eap_wsc_process()
448 id = eap_get_id(reqData); in eap_wsc_process()
Deap_tls_common.h127 const struct wpabuf *reqData,
Deap_gpsk.c664 const struct wpabuf *reqData) in eap_gpsk_process() argument
672 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, reqData, &len); in eap_gpsk_process()
678 id = eap_get_id(reqData); in eap_gpsk_process()
Deap_i.h120 const struct wpabuf *reqData);
Deap_peap.c1023 const struct wpabuf *reqData) in eap_peap_process() argument
1035 reqData, &left, &flags); in eap_peap_process()
1038 req = wpabuf_head(reqData); in eap_peap_process()
Deap_fast.c1539 const struct wpabuf *reqData) in eap_fast_process() argument
1551 reqData, &left, &flags); in eap_fast_process()
1555 req = wpabuf_head(reqData); in eap_fast_process()
Deap_ttls.c1675 const struct wpabuf *reqData) in eap_ttls_process() argument
1686 reqData, &left, &flags); in eap_ttls_process()
1689 id = eap_get_id(reqData); in eap_ttls_process()
Deap_teap.c1838 const struct wpabuf *reqData) in eap_teap_process() argument
1850 reqData, &left, &flags); in eap_teap_process()
1854 req = wpabuf_head(reqData); in eap_teap_process()