/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_sake.c | 251 struct wpabuf *respData) in eap_sake_check() argument 259 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_check() 304 const struct wpabuf *respData, in eap_sake_process_identity() argument 318 const struct wpabuf *respData, in eap_sake_process_challenge() argument 367 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_challenge() 381 const struct wpabuf *respData, in eap_sake_process_confirm() argument 404 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_confirm() 416 const struct wpabuf *respData, in eap_sake_process_auth_reject() argument 425 struct wpabuf *respData) in eap_sake_process() argument 433 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_process() [all …]
|
D | eap_server_mschapv2.c | 241 struct wpabuf *respData) in eap_mschapv2_check() argument 248 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check() 284 struct wpabuf *respData) in eap_mschapv2_process_response() argument 295 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_response() 308 respData); in eap_mschapv2_process_response() 431 struct wpabuf *respData) in eap_mschapv2_process_success_resp() argument 437 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp() 458 struct wpabuf *respData) in eap_mschapv2_process_failure_resp() argument 464 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp() 484 struct wpabuf *respData) in eap_mschapv2_process() argument [all …]
|
D | eap_server_pax.c | 184 struct wpabuf *respData) in eap_pax_check() argument 192 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_check() 265 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN; in eap_pax_check() 268 wpabuf_mhead(respData), in eap_pax_check() 269 wpabuf_len(respData) - EAP_PAX_ICV_LEN, in eap_pax_check() 285 struct wpabuf *respData) in eap_pax_process_std_2() argument 298 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process_std_2() 417 wpabuf_head(respData), in eap_pax_process_std_2() 418 wpabuf_len(respData) - EAP_PAX_ICV_LEN, NULL, 0, NULL, 0, in eap_pax_process_std_2() 440 struct wpabuf *respData) in eap_pax_process_ack() argument [all …]
|
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 107 if (eap_identity_check(sm, data, respData)) { in eap_identity_process() 117 respData, &len); in eap_identity_process()
|
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_sim.c | 322 struct wpabuf *respData) in eap_sim_check() argument 329 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SIM, respData, &len); in eap_sim_check() 386 struct wpabuf *respData, in eap_sim_process_start() argument 505 struct wpabuf *respData, in eap_sim_process_challenge() argument 512 eap_sim_verify_mac(data->k_aut, respData, attr->mac, in eap_sim_process_challenge() 555 struct wpabuf *respData, in eap_sim_process_reauth() argument 564 eap_sim_verify_mac(data->k_aut, respData, attr->mac, data->nonce_s, in eap_sim_process_reauth() 646 struct wpabuf *respData, in eap_sim_process_client_error() argument 660 struct wpabuf *respData, in eap_sim_process_notification() argument 672 struct wpabuf *respData) in eap_sim_process() argument [all …]
|
D | eap_server_psk.c | 177 struct wpabuf *respData) in eap_psk_check() argument 184 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_check() 217 struct wpabuf *respData) in eap_psk_process_2() argument 230 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, in eap_psk_process_2() 333 struct wpabuf *respData) in eap_psk_process_4() argument 345 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); in eap_psk_process_4() 382 wpabuf_head(respData), 22, decrypted, left, in eap_psk_process_4() 412 struct wpabuf *respData) in eap_psk_process() argument 425 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_process() 431 eap_psk_process_2(sm, data, respData); in eap_psk_process() [all …]
|
D | eap_server_aka.c | 540 struct wpabuf *respData) in eap_aka_check() argument 546 pos = eap_hdr_validate(EAP_VENDOR_IETF, data->eap_method, respData, in eap_aka_check() 750 struct wpabuf *respData, in eap_aka_process_identity() argument 774 if (eap_get_id(respData) == data->pending_id) { in eap_aka_process_identity() 776 eap_aka_add_id_msg(data, respData); in eap_aka_process_identity() 795 struct wpabuf *respData, in eap_aka_process_challenge() argument 838 eap_aka_verify_mac(data, respData, attr->mac, NULL, 0)) { in eap_aka_process_challenge() 911 struct wpabuf *respData, in eap_aka_process_sync_failure() argument 945 struct wpabuf *respData, in eap_aka_process_reauth() argument 956 eap_aka_verify_mac(data, respData, attr->mac, data->nonce_s, in eap_aka_process_reauth() [all …]
|
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 | 147 struct wpabuf *respData) in eap_tls_check() argument 152 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLS, respData, &len); in eap_tls_check() 163 const struct wpabuf *respData) in eap_tls_process_msg() argument 177 struct wpabuf *respData) in eap_tls_process() argument 180 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()
|
D | eap_server_ikev2.c | 238 struct wpabuf *respData) in eap_ikev2_check() argument 243 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_check() 255 const struct wpabuf *respData, in eap_ikev2_process_icv() argument 261 respData, pos, *end); in eap_ikev2_process_icv() 342 struct wpabuf *respData) in eap_ikev2_process() argument 351 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_process() 365 if (eap_ikev2_process_icv(data, respData, flags, pos, &end) < 0) { in eap_ikev2_process()
|
D | eap_server_tls_common.c | 351 struct wpabuf *respData, void *priv, int eap_type, in eap_server_tls_process() argument 355 const struct wpabuf *respData)) in eap_server_tls_process() argument 362 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, respData, &left); in eap_server_tls_process() 368 (unsigned long) wpabuf_len(respData), flags); in eap_server_tls_process() 382 proc_msg(sm, priv, respData); in eap_server_tls_process()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_sake.c | 256 struct wpabuf *respData) in eap_sake_check() argument 264 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_check() 309 const struct wpabuf *respData, in eap_sake_process_identity() argument 323 const struct wpabuf *respData, in eap_sake_process_challenge() argument 372 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_challenge() 386 const struct wpabuf *respData, in eap_sake_process_confirm() argument 409 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_confirm() 421 const struct wpabuf *respData, in eap_sake_process_auth_reject() argument 430 struct wpabuf *respData) in eap_sake_process() argument 438 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_process() [all …]
|
D | eap_mschapv2.c | 246 struct wpabuf *respData) in eap_mschapv2_check() argument 253 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check() 289 struct wpabuf *respData) in eap_mschapv2_process_response() argument 299 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_response() 312 respData); in eap_mschapv2_process_response() 427 struct wpabuf *respData) in eap_mschapv2_process_success_resp() argument 433 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp() 454 struct wpabuf *respData) in eap_mschapv2_process_failure_resp() argument 460 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp() 480 struct wpabuf *respData) in eap_mschapv2_process() argument [all …]
|
D | eap_pax.c | 189 struct wpabuf *respData) in eap_pax_check() argument 197 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_check() 270 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN; in eap_pax_check() 273 wpabuf_mhead(respData), in eap_pax_check() 274 wpabuf_len(respData) - EAP_PAX_ICV_LEN, in eap_pax_check() 290 struct wpabuf *respData) in eap_pax_process_std_2() argument 303 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PAX, respData, &len); in eap_pax_process_std_2() 422 wpabuf_head(respData), in eap_pax_process_std_2() 423 wpabuf_len(respData) - EAP_PAX_ICV_LEN, NULL, 0, NULL, 0, in eap_pax_process_std_2() 445 struct wpabuf *respData) in eap_pax_process_ack() argument [all …]
|
D | eap_identity.c | 89 struct wpabuf *respData) in eap_identity_check() argument 95 respData, &len); in eap_identity_check() 106 struct wpabuf *respData) in eap_identity_process() argument 113 if (eap_identity_check(sm, data, respData)) { in eap_identity_process() 123 respData, &len); in eap_identity_process()
|
D | eap_md5.c | 82 struct wpabuf *respData) in eap_md5_check() argument 87 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &len); in eap_md5_check() 104 struct wpabuf *respData) in eap_md5_process() argument 119 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &plen); in eap_md5_process() 126 id = eap_get_id(respData); in eap_md5_process()
|
D | eap_sim.c | 327 struct wpabuf *respData) in eap_sim_check() argument 334 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SIM, respData, &len); in eap_sim_check() 391 struct wpabuf *respData, in eap_sim_process_start() argument 510 struct wpabuf *respData, in eap_sim_process_challenge() argument 517 eap_sim_verify_mac(data->k_aut, respData, attr->mac, in eap_sim_process_challenge() 560 struct wpabuf *respData, in eap_sim_process_reauth() argument 569 eap_sim_verify_mac(data->k_aut, respData, attr->mac, data->nonce_s, in eap_sim_process_reauth() 651 struct wpabuf *respData, in eap_sim_process_client_error() argument 665 struct wpabuf *respData, in eap_sim_process_notification() argument 677 struct wpabuf *respData) in eap_sim_process() argument [all …]
|
D | eap_psk.c | 180 struct wpabuf *respData) in eap_psk_check() argument 187 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_check() 220 struct wpabuf *respData) in eap_psk_process_2() argument 233 cpos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, in eap_psk_process_2() 336 struct wpabuf *respData) in eap_psk_process_4() argument 348 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); in eap_psk_process_4() 385 wpabuf_head(respData), 22, decrypted, left, in eap_psk_process_4() 415 struct wpabuf *respData) in eap_psk_process() argument 428 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_process() 434 eap_psk_process_2(sm, data, respData); in eap_psk_process() [all …]
|
D | eap_aka.c | 547 struct wpabuf *respData) in eap_aka_check() argument 553 pos = eap_hdr_validate(EAP_VENDOR_IETF, data->eap_method, respData, in eap_aka_check() 757 struct wpabuf *respData, in eap_aka_process_identity() argument 781 if (eap_get_id(respData) == data->pending_id) { in eap_aka_process_identity() 783 eap_aka_add_id_msg(data, respData); in eap_aka_process_identity() 802 struct wpabuf *respData, in eap_aka_process_challenge() argument 845 eap_aka_verify_mac(data, respData, attr->mac, NULL, 0)) { in eap_aka_process_challenge() 918 struct wpabuf *respData, in eap_aka_process_sync_failure() argument 952 struct wpabuf *respData, in eap_aka_process_reauth() argument 963 eap_aka_verify_mac(data, respData, attr->mac, data->nonce_s, in eap_aka_process_reauth() [all …]
|
D | eap_vendor_test.c | 98 struct wpabuf *respData) in eap_vendor_test_check() argument 103 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); in eap_vendor_test_check() 114 struct wpabuf *respData) in eap_vendor_test_process() argument 120 pos = eap_hdr_validate(EAP_VENDOR_ID, EAP_VENDOR_TYPE, respData, &len); in eap_vendor_test_process()
|
D | eap_tls.c | 153 struct wpabuf *respData) in eap_tls_check() argument 158 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLS, respData, &len); in eap_tls_check() 169 const struct wpabuf *respData) in eap_tls_process_msg() argument 183 struct wpabuf *respData) in eap_tls_process() argument 186 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_tls_process()
|
D | eap_gtc.c | 84 struct wpabuf *respData) in eap_gtc_check() argument 89 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); in eap_gtc_check() 100 struct wpabuf *respData) in eap_gtc_process() argument 106 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); in eap_gtc_process()
|
D | eap_ikev2.c | 243 struct wpabuf *respData) in eap_ikev2_check() argument 248 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_check() 260 const struct wpabuf *respData, in eap_ikev2_process_icv() argument 266 respData, pos, *end); in eap_ikev2_process_icv() 347 struct wpabuf *respData) in eap_ikev2_process() argument 356 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_process() 370 if (eap_ikev2_process_icv(data, respData, flags, pos, &end) < 0) { in eap_ikev2_process()
|