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_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_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_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.c718 const struct wpabuf *reqData, in eap_sim_process_challenge() argument
804 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, data->nonce_mt, in eap_sim_process_challenge()
884 const struct wpabuf *reqData, in eap_sim_process_notification_auth() argument
893 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_notification_auth()
913 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_notification() argument
931 eap_sim_process_notification_auth(data, reqData, attr)) { in eap_sim_process_notification()
949 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_reauthentication() argument
964 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_reauthentication()
1056 const struct wpabuf *reqData) in eap_sim_process() argument
1066 wpa_hexdump_buf(MSG_DEBUG, "EAP-SIM: EAP data", reqData); in eap_sim_process()
[all …]
Deap_aka.c767 const struct wpabuf *reqData, in eap_aka_process_identity() argument
805 eap_aka_add_id_msg(data, reqData); in eap_aka_process_identity()
923 const struct wpabuf *reqData, in eap_aka_process_challenge() argument
1066 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_challenge()
1145 const struct wpabuf *reqData, in eap_aka_process_notification_auth() argument
1154 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_notification_auth()
1173 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_notification() argument
1191 eap_aka_process_notification_auth(data, reqData, attr)) { in eap_aka_process_notification()
1209 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_reauthentication() argument
1233 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_reauthentication()
[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_sake.c285 const struct wpabuf *reqData, in eap_sake_process_confirm() argument
313 wpabuf_head(reqData), wpabuf_len(reqData), in eap_sake_process_confirm()
368 const struct wpabuf *reqData) in eap_sake_process() argument
377 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, reqData, &len); in eap_sake_process()
385 id = eap_get_id(reqData); in eap_sake_process()
419 resp = eap_sake_process_confirm(sm, data, ret, id, reqData, in eap_sake_process()
Deap_pwd.c209 const struct wpabuf *reqData, in eap_pwd_perform_id_exchange() argument
308 const struct wpabuf *reqData, in eap_pwd_perform_commit_exchange() argument
642 const struct wpabuf *reqData, in eap_pwd_perform_confirm_exchange() argument
820 const struct wpabuf *reqData) in eap_pwd_process() argument
829 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, reqData, &len); in eap_pwd_process()
869 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
958 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
979 eap_pwd_perform_id_exchange(sm, data, ret, reqData, in eap_pwd_process()
983 eap_pwd_perform_commit_exchange(sm, data, ret, reqData, in eap_pwd_process()
987 eap_pwd_perform_confirm_exchange(sm, data, ret, reqData, in eap_pwd_process()
[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_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_mschapv2.c753 const struct wpabuf *reqData) in eap_mschapv2_copy_challenge() argument
760 data->prev_challenge = wpabuf_dup(reqData); in eap_mschapv2_copy_challenge()
775 const struct wpabuf *reqData) in eap_mschapv2_process() argument
795 reqData = data->prev_challenge; in eap_mschapv2_process()
800 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, reqData, in eap_mschapv2_process()
813 id = eap_get_id(reqData); in eap_mschapv2_process()
820 eap_mschapv2_copy_challenge(data, reqData); in eap_mschapv2_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_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.c229 const struct wpabuf *reqData) in eap_tls_process() argument
266 reqData, &left, &flags); in eap_tls_process()
269 id = eap_get_id(reqData); in eap_tls_process()
Deap_tls_common.c894 const struct wpabuf *reqData, in eap_peer_tls_process_init() argument
909 EAP_VENDOR_TYPE_UNAUTH_TLS, reqData, in eap_peer_tls_process_init()
913 EAP_VENDOR_WFA_UNAUTH_TLS, reqData, in eap_peer_tls_process_init()
916 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, reqData, in eap_peer_tls_process_init()
938 "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.h120 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.c970 const struct wpabuf *reqData) in eap_peap_process() argument
982 reqData, &left, &flags); in eap_peap_process()
985 req = wpabuf_head(reqData); in eap_peap_process()
Deap_ttls.c1606 const struct wpabuf *reqData) in eap_ttls_process() argument
1617 reqData, &left, &flags); in eap_ttls_process()
1620 id = eap_get_id(reqData); in eap_ttls_process()
Deap_fast.c1529 const struct wpabuf *reqData) in eap_fast_process() argument
1541 reqData, &left, &flags); in eap_fast_process()
1545 req = wpabuf_head(reqData); in eap_fast_process()
/external/syzkaller/pkg/ipc/
Dipc.go592 reqData := (*[unsafe.Sizeof(*req)]byte)(unsafe.Pointer(req))[:]
593 if _, err := c.outwp.Write(reqData); err != nil {
660 reqData := (*[unsafe.Sizeof(*req)]byte)(unsafe.Pointer(req))[:]
661 if _, err := c.outwp.Write(reqData); err != nil {