/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_leap.c | 61 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 …]
|
D | eap_eke.c | 223 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 …]
|
D | eap_psk.c | 85 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 …]
|
D | eap_otp.c | 30 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()
|
D | eap_md5.c | 31 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()
|
D | eap_sim.c | 700 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 …]
|
D | eap_gtc.c | 46 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()
|
D | eap_aka.c | 737 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 …]
|
D | eap_sake.c | 287 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()
|
D | eap_vendor_test.c | 69 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()
|
D | eap_ikev2.c | 247 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()
|
D | eap_pwd.c | 219 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 …]
|
D | eap_pax.c | 328 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()
|
D | eap_mschapv2.c | 755 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()
|
D | eap_tnc.c | 203 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()
|
D | eap_tls.c | 211 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()
|
D | eap_tls_common.c | 819 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()
|
D | eap_wsc.c | 427 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()
|
D | eap_tls_common.h | 114 const struct wpabuf *reqData,
|
D | eap_gpsk.c | 667 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()
|
D | eap_i.h | 118 const struct wpabuf *reqData);
|
D | eap_peap.c | 966 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()
|
D | eap_ttls.c | 1587 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()
|
D | eap_fast.c | 1528 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()
|