/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_sake.c | 236 struct wpabuf *respData) in eap_sake_check() argument 244 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_check() 289 const struct wpabuf *respData, in eap_sake_process_identity() argument 303 const struct wpabuf *respData, in eap_sake_process_challenge() argument 356 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_challenge() 374 const struct wpabuf *respData, in eap_sake_process_confirm() argument 397 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_confirm() 412 const struct wpabuf *respData, in eap_sake_process_auth_reject() argument 421 struct wpabuf *respData) in eap_sake_process() argument 429 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_process() [all …]
|
D | eap_server_mschapv2.c | 239 struct wpabuf *respData) in eap_mschapv2_check() argument 246 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check() 282 struct wpabuf *respData) in eap_mschapv2_process_response() argument 294 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_response() 307 respData); in eap_mschapv2_process_response() 453 struct wpabuf *respData) in eap_mschapv2_process_success_resp() argument 459 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp() 480 struct wpabuf *respData) in eap_mschapv2_process_failure_resp() argument 486 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp() 506 struct wpabuf *respData) in eap_mschapv2_process() argument [all …]
|
D | eap_server_pax.c | 199 struct wpabuf *respData) in eap_pax_check() argument 207 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_check() 280 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN; in eap_pax_check() 283 wpabuf_mhead(respData), in eap_pax_check() 284 wpabuf_len(respData) - EAP_PAX_ICV_LEN, in eap_pax_check() 305 struct wpabuf *respData) in eap_pax_process_std_2() argument 318 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process_std_2() 446 wpabuf_head(respData), in eap_pax_process_std_2() 447 wpabuf_len(respData) - EAP_PAX_ICV_LEN, NULL, 0, in eap_pax_process_std_2() 473 struct wpabuf *respData) in eap_pax_process_ack() argument [all …]
|
D | eap_server_aka.c | 668 struct wpabuf *respData) in eap_aka_check() argument 674 pos = eap_hdr_validate(EAP_VENDOR_IETF, data->eap_method, respData, in eap_aka_check() 873 struct wpabuf *respData, in eap_aka_process_identity() argument 912 if (eap_get_id(respData) == data->pending_id) { in eap_aka_process_identity() 914 eap_aka_add_id_msg(data, respData); in eap_aka_process_identity() 933 struct wpabuf *respData, in eap_aka_process_challenge() argument 973 eap_aka_verify_mac(data, respData, attr->mac, NULL, 0)) { in eap_aka_process_challenge() 1037 struct wpabuf *respData, in eap_aka_process_sync_failure() argument 1070 struct wpabuf *respData, in eap_aka_process_reauth() argument 1079 eap_aka_verify_mac(data, respData, attr->mac, data->nonce_s, in eap_aka_process_reauth() [all …]
|
D | eap_server_sim.c | 364 struct wpabuf *respData) in eap_sim_check() argument 369 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SIM, respData, &len); in eap_sim_check() 432 struct wpabuf *respData, in eap_sim_process_start() argument 586 struct wpabuf *respData, in eap_sim_process_challenge() argument 590 eap_sim_verify_mac(data->k_aut, respData, attr->mac, in eap_sim_process_challenge() 625 struct wpabuf *respData, in eap_sim_process_reauth() argument 632 eap_sim_verify_mac(data->k_aut, respData, attr->mac, data->nonce_s, in eap_sim_process_reauth() 705 struct wpabuf *respData, in eap_sim_process_client_error() argument 719 struct wpabuf *respData, in eap_sim_process_notification() argument 731 struct wpabuf *respData) in eap_sim_process() argument [all …]
|
D | eap_server_eke.c | 384 struct wpabuf *respData) in eap_eke_check() argument 391 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_EKE, respData, &len); in eap_eke_check() 421 const struct wpabuf *respData, in eap_eke_process_identity() argument 504 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_identity() 508 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_identity() 516 const struct wpabuf *respData, in eap_eke_process_commit() argument 577 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_commit() 581 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_commit() 589 const struct wpabuf *respData, in eap_eke_process_confirm() argument 663 const struct wpabuf *respData, in eap_eke_process_failure() argument [all …]
|
D | eap_server_psk.c | 175 struct wpabuf *respData) in eap_psk_check() argument 182 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_check() 215 struct wpabuf *respData) in eap_psk_process_2() argument 228 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, in eap_psk_process_2() 330 struct wpabuf *respData) in eap_psk_process_4() argument 342 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); in eap_psk_process_4() 378 wpabuf_head(respData), 22, decrypted, left, in eap_psk_process_4() 408 struct wpabuf *respData) in eap_psk_process() argument 421 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_process() 427 eap_psk_process_2(sm, data, respData); in eap_psk_process() [all …]
|
D | eap_server_md5.c | 77 struct wpabuf *respData) in eap_md5_check() argument 82 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &len); in eap_md5_check() 99 struct wpabuf *respData) in eap_md5_process() argument 114 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &plen); in eap_md5_process() 121 id = eap_get_id(respData); in eap_md5_process()
|
D | eap_server_identity.c | 83 struct wpabuf *respData) in eap_identity_check() argument 89 respData, &len); in eap_identity_check() 100 struct wpabuf *respData) in eap_identity_process() argument 108 if (eap_identity_check(sm, data, respData)) { in eap_identity_process() 118 respData, &len); in eap_identity_process()
|
D | eap_server_vendor_test.c | 92 struct wpabuf *respData) in eap_vendor_test_check() argument 97 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); in eap_vendor_test_check() 108 struct wpabuf *respData) in eap_vendor_test_process() argument 114 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); in eap_vendor_test_process()
|
D | eap_server_tls_common.c | 466 struct wpabuf *respData, void *priv, int eap_type, in eap_server_tls_process() argument 470 const struct wpabuf *respData)) in eap_server_tls_process() argument 479 EAP_VENDOR_TYPE_UNAUTH_TLS, respData, in eap_server_tls_process() 483 EAP_VENDOR_WFA_UNAUTH_TLS, respData, in eap_server_tls_process() 486 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, respData, in eap_server_tls_process() 493 (unsigned long) wpabuf_len(respData), flags); in eap_server_tls_process() 507 proc_msg(sm, priv, respData); in eap_server_tls_process()
|
D | eap_server_tls.c | 229 struct wpabuf *respData) in eap_tls_check() argument 237 EAP_VENDOR_TYPE_UNAUTH_TLS, respData, in eap_tls_check() 241 EAP_VENDOR_WFA_UNAUTH_TLS, respData, in eap_tls_check() 245 respData, &len); in eap_tls_check() 256 const struct wpabuf *respData) in eap_tls_process_msg() argument 305 struct wpabuf *respData) in eap_tls_process() argument 311 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_tls_process()
|
D | eap_server_gtc.c | 78 struct wpabuf *respData) in eap_gtc_check() argument 83 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); in eap_gtc_check() 94 struct wpabuf *respData) in eap_gtc_process() argument 100 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); in eap_gtc_process()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_sake.c | 236 struct wpabuf *respData) in eap_sake_check() argument 244 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_check() 289 const struct wpabuf *respData, in eap_sake_process_identity() argument 303 const struct wpabuf *respData, in eap_sake_process_challenge() argument 356 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_challenge() 374 const struct wpabuf *respData, in eap_sake_process_confirm() argument 397 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_confirm() 412 const struct wpabuf *respData, in eap_sake_process_auth_reject() argument 421 struct wpabuf *respData) in eap_sake_process() argument 429 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_process() [all …]
|
D | eap_server_mschapv2.c | 239 struct wpabuf *respData) in eap_mschapv2_check() argument 246 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check() 282 struct wpabuf *respData) in eap_mschapv2_process_response() argument 294 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_response() 307 respData); in eap_mschapv2_process_response() 453 struct wpabuf *respData) in eap_mschapv2_process_success_resp() argument 459 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp() 480 struct wpabuf *respData) in eap_mschapv2_process_failure_resp() argument 486 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp() 506 struct wpabuf *respData) in eap_mschapv2_process() argument [all …]
|
D | eap_server_pax.c | 199 struct wpabuf *respData) in eap_pax_check() argument 207 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_check() 280 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN; in eap_pax_check() 283 wpabuf_mhead(respData), in eap_pax_check() 284 wpabuf_len(respData) - EAP_PAX_ICV_LEN, in eap_pax_check() 305 struct wpabuf *respData) in eap_pax_process_std_2() argument 318 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process_std_2() 446 wpabuf_head(respData), in eap_pax_process_std_2() 447 wpabuf_len(respData) - EAP_PAX_ICV_LEN, NULL, 0, in eap_pax_process_std_2() 473 struct wpabuf *respData) in eap_pax_process_ack() argument [all …]
|
D | eap_server_aka.c | 668 struct wpabuf *respData) in eap_aka_check() argument 674 pos = eap_hdr_validate(EAP_VENDOR_IETF, data->eap_method, respData, in eap_aka_check() 873 struct wpabuf *respData, in eap_aka_process_identity() argument 912 if (eap_get_id(respData) == data->pending_id) { in eap_aka_process_identity() 914 eap_aka_add_id_msg(data, respData); in eap_aka_process_identity() 933 struct wpabuf *respData, in eap_aka_process_challenge() argument 973 eap_aka_verify_mac(data, respData, attr->mac, NULL, 0)) { in eap_aka_process_challenge() 1038 struct wpabuf *respData, in eap_aka_process_sync_failure() argument 1071 struct wpabuf *respData, in eap_aka_process_reauth() argument 1080 eap_aka_verify_mac(data, respData, attr->mac, data->nonce_s, in eap_aka_process_reauth() [all …]
|
D | eap_server_eke.c | 384 struct wpabuf *respData) in eap_eke_check() argument 391 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_EKE, respData, &len); in eap_eke_check() 421 const struct wpabuf *respData, in eap_eke_process_identity() argument 504 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_identity() 508 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_identity() 516 const struct wpabuf *respData, in eap_eke_process_commit() argument 577 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_commit() 581 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_commit() 589 const struct wpabuf *respData, in eap_eke_process_confirm() argument 664 const struct wpabuf *respData, in eap_eke_process_failure() argument [all …]
|
D | eap_server_sim.c | 364 struct wpabuf *respData) in eap_sim_check() argument 369 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SIM, respData, &len); in eap_sim_check() 432 struct wpabuf *respData, in eap_sim_process_start() argument 586 struct wpabuf *respData, in eap_sim_process_challenge() argument 590 eap_sim_verify_mac(data->k_aut, respData, attr->mac, in eap_sim_process_challenge() 626 struct wpabuf *respData, in eap_sim_process_reauth() argument 633 eap_sim_verify_mac(data->k_aut, respData, attr->mac, data->nonce_s, in eap_sim_process_reauth() 707 struct wpabuf *respData, in eap_sim_process_client_error() argument 721 struct wpabuf *respData, in eap_sim_process_notification() argument 733 struct wpabuf *respData) in eap_sim_process() argument [all …]
|
D | eap_server_psk.c | 175 struct wpabuf *respData) in eap_psk_check() argument 182 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_check() 215 struct wpabuf *respData) in eap_psk_process_2() argument 228 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, in eap_psk_process_2() 330 struct wpabuf *respData) in eap_psk_process_4() argument 342 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); in eap_psk_process_4() 378 wpabuf_head(respData), 22, decrypted, left, in eap_psk_process_4() 408 struct wpabuf *respData) in eap_psk_process() argument 421 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_process() 427 eap_psk_process_2(sm, data, respData); in eap_psk_process() [all …]
|
D | eap_server_md5.c | 77 struct wpabuf *respData) in eap_md5_check() argument 82 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &len); in eap_md5_check() 99 struct wpabuf *respData) in eap_md5_process() argument 114 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &plen); in eap_md5_process() 121 id = eap_get_id(respData); in eap_md5_process()
|
D | eap_server_identity.c | 83 struct wpabuf *respData) in eap_identity_check() argument 89 respData, &len); in eap_identity_check() 100 struct wpabuf *respData) in eap_identity_process() argument 108 if (eap_identity_check(sm, data, respData)) { in eap_identity_process() 118 respData, &len); in eap_identity_process()
|
D | eap_server_vendor_test.c | 92 struct wpabuf *respData) in eap_vendor_test_check() argument 97 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); in eap_vendor_test_check() 108 struct wpabuf *respData) in eap_vendor_test_process() argument 114 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); in eap_vendor_test_process()
|
D | eap_server_tls.c | 230 struct wpabuf *respData) in eap_tls_check() argument 238 EAP_VENDOR_TYPE_UNAUTH_TLS, respData, in eap_tls_check() 242 EAP_VENDOR_WFA_UNAUTH_TLS, respData, in eap_tls_check() 246 respData, &len); in eap_tls_check() 257 const struct wpabuf *respData) in eap_tls_process_msg() argument 273 struct wpabuf *respData) in eap_tls_process() argument 279 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_tls_process()
|
D | eap_server_gtc.c | 78 struct wpabuf *respData) in eap_gtc_check() argument 83 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); in eap_gtc_check() 94 struct wpabuf *respData) in eap_gtc_process() argument 100 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); in eap_gtc_process()
|