/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() 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 …]
|
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() 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 …]
|
D | eap_eke.c | 222 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 …]
|
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_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_sake.c | 289 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()
|
D | eap_sim.c | 822 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 …]
|
D | eap_aka.c | 871 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 …]
|
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_pwd.c | 254 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 …]
|
D | eap_ikev2.c | 245 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()
|
D | eap_pax.c | 334 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()
|
D | eap_mschapv2.c | 759 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()
|
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 | 241 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()
|
D | eap_tls_common.c | 920 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()
|
D | eap_wsc.c | 430 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()
|
D | eap_tls_common.h | 127 const struct wpabuf *reqData,
|
D | eap_gpsk.c | 664 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()
|
D | eap_i.h | 120 const struct wpabuf *reqData);
|
D | eap_peap.c | 1023 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()
|
D | eap_fast.c | 1539 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()
|
D | eap_ttls.c | 1675 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()
|
D | eap_teap.c | 1838 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()
|