Home
last modified time | relevance | path

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

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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_sim.c720 const struct wpabuf *reqData, in eap_sim_process_challenge() argument
815 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, data->nonce_mt, in eap_sim_process_challenge()
900 const struct wpabuf *reqData, in eap_sim_process_notification_auth() argument
909 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_notification_auth()
929 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_notification() argument
947 eap_sim_process_notification_auth(data, reqData, attr)) { in eap_sim_process_notification()
965 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_reauthentication() argument
980 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_reauthentication()
1092 const struct wpabuf *reqData) in eap_sim_process() argument
1102 wpa_hexdump_buf(MSG_DEBUG, "EAP-SIM: EAP data", reqData); in eap_sim_process()
[all …]
Deap_aka.c773 const struct wpabuf *reqData, in eap_aka_process_identity() argument
811 if (eap_aka_add_id_msg(data, reqData, buf) < 0) { in eap_aka_process_identity()
934 const struct wpabuf *reqData, in eap_aka_process_challenge() argument
1084 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_challenge()
1168 const struct wpabuf *reqData, in eap_aka_process_notification_auth() argument
1177 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_notification_auth()
1196 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_notification() argument
1214 eap_aka_process_notification_auth(data, reqData, attr)) { in eap_aka_process_notification()
1232 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_reauthentication() argument
1261 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_reauthentication()
[all …]
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_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_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_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
689 const struct wpabuf *reqData, in eap_pwd_perform_confirm_exchange() argument
867 const struct wpabuf *reqData) in eap_pwd_process() argument
876 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, reqData, &len); in eap_pwd_process()
916 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
1005 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
1026 eap_pwd_perform_id_exchange(sm, data, ret, reqData, in eap_pwd_process()
1030 eap_pwd_perform_commit_exchange(sm, data, ret, reqData, in eap_pwd_process()
1034 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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_sim.c715 const struct wpabuf *reqData, in eap_sim_process_challenge() argument
803 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, data->nonce_mt, in eap_sim_process_challenge()
888 const struct wpabuf *reqData, in eap_sim_process_notification_auth() argument
897 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_notification_auth()
917 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_notification() argument
935 eap_sim_process_notification_auth(data, reqData, attr)) { in eap_sim_process_notification()
953 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_sim_process_reauthentication() argument
968 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, (u8 *) "", 0)) in eap_sim_process_reauthentication()
1080 const struct wpabuf *reqData) in eap_sim_process() argument
1090 wpa_hexdump_buf(MSG_DEBUG, "EAP-SIM: EAP data", reqData); in eap_sim_process()
[all …]
Deap_aka.c764 const struct wpabuf *reqData, in eap_aka_process_identity() argument
802 eap_aka_add_id_msg(data, reqData); in eap_aka_process_identity()
920 const struct wpabuf *reqData, in eap_aka_process_challenge() argument
1070 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_challenge()
1154 const struct wpabuf *reqData, in eap_aka_process_notification_auth() argument
1163 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_notification_auth()
1182 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_notification() argument
1200 eap_aka_process_notification_auth(data, reqData, attr)) { in eap_aka_process_notification()
1218 const struct wpabuf *reqData, struct eap_sim_attrs *attr) in eap_aka_process_reauthentication() argument
1247 if (eap_aka_verify_mac(data, reqData, attr->mac, (u8 *) "", 0)) { in eap_aka_process_reauthentication()
[all …]
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_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
689 const struct wpabuf *reqData, in eap_pwd_perform_confirm_exchange() argument
867 const struct wpabuf *reqData) in eap_pwd_process() argument
876 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, reqData, &len); in eap_pwd_process()
916 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
1005 EAP_CODE_RESPONSE, eap_get_id(reqData)); in eap_pwd_process()
1026 eap_pwd_perform_id_exchange(sm, data, ret, reqData, in eap_pwd_process()
1030 eap_pwd_perform_commit_exchange(sm, data, ret, reqData, in eap_pwd_process()
1034 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()
/third_party/node/benchmark/http/
Dupgrade.js10 const reqData = 'GET / HTTP/1.1\r\n' + constant
45 conn.write(reqData);

123