Home
last modified time | relevance | path

Searched refs:respData (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_server_sake.c236 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
352 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_challenge()
366 const struct wpabuf *respData, in eap_sake_process_confirm() argument
389 wpabuf_head(respData), wpabuf_len(respData), in eap_sake_process_confirm()
401 const struct wpabuf *respData, in eap_sake_process_auth_reject() argument
410 struct wpabuf *respData) in eap_sake_process() argument
418 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SAKE, respData, &len); in eap_sake_process()
[all …]
Deap_server_mschapv2.c240 struct wpabuf *respData) in eap_mschapv2_check() argument
247 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check()
283 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()
454 struct wpabuf *respData) in eap_mschapv2_process_success_resp() argument
460 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp()
481 struct wpabuf *respData) in eap_mschapv2_process_failure_resp() argument
487 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp()
507 struct wpabuf *respData) in eap_mschapv2_process() argument
[all …]
Deap_server_pax.c184 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()
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 …]
Deap_server_md5.c77 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()
Deap_server_identity.c83 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()
Deap_server_eke.c384 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
505 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_identity()
509 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_identity()
517 const struct wpabuf *respData, in eap_eke_process_commit() argument
578 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_commit()
582 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_commit()
590 const struct wpabuf *respData, in eap_eke_process_confirm() argument
664 const struct wpabuf *respData, in eap_eke_process_failure() argument
[all …]
Deap_server_sim.c347 struct wpabuf *respData) in eap_sim_check() argument
352 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SIM, respData, &len); in eap_sim_check()
415 struct wpabuf *respData, in eap_sim_process_start() argument
566 struct wpabuf *respData, in eap_sim_process_challenge() argument
570 eap_sim_verify_mac(data->k_aut, respData, attr->mac, in eap_sim_process_challenge()
605 struct wpabuf *respData, in eap_sim_process_reauth() argument
612 eap_sim_verify_mac(data->k_aut, respData, attr->mac, data->nonce_s, in eap_sim_process_reauth()
685 struct wpabuf *respData, in eap_sim_process_client_error() argument
699 struct wpabuf *respData, in eap_sim_process_notification() argument
711 struct wpabuf *respData) in eap_sim_process() argument
[all …]
Deap_server_aka.c651 struct wpabuf *respData) in eap_aka_check() argument
657 pos = eap_hdr_validate(EAP_VENDOR_IETF, data->eap_method, respData, in eap_aka_check()
852 struct wpabuf *respData, in eap_aka_process_identity() argument
891 if (eap_get_id(respData) == data->pending_id) { in eap_aka_process_identity()
893 eap_aka_add_id_msg(data, respData); in eap_aka_process_identity()
912 struct wpabuf *respData, in eap_aka_process_challenge() argument
952 eap_aka_verify_mac(data, respData, attr->mac, NULL, 0)) { in eap_aka_process_challenge()
1016 struct wpabuf *respData, in eap_aka_process_sync_failure() argument
1049 struct wpabuf *respData, in eap_aka_process_reauth() argument
1058 eap_aka_verify_mac(data, respData, attr->mac, data->nonce_s, in eap_aka_process_reauth()
[all …]
Deap_server_psk.c175 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()
331 struct wpabuf *respData) in eap_psk_process_4() argument
343 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); in eap_psk_process_4()
380 wpabuf_head(respData), 22, decrypted, left, in eap_psk_process_4()
410 struct wpabuf *respData) in eap_psk_process() argument
423 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &len); in eap_psk_process()
429 eap_psk_process_2(sm, data, respData); in eap_psk_process()
[all …]
Deap_server_vendor_test.c92 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()
Deap_server_tls.c212 struct wpabuf *respData) in eap_tls_check() argument
220 EAP_VENDOR_TYPE_UNAUTH_TLS, respData, in eap_tls_check()
224 EAP_VENDOR_WFA_UNAUTH_TLS, respData, in eap_tls_check()
228 respData, &len); in eap_tls_check()
239 const struct wpabuf *respData) in eap_tls_process_msg() argument
253 struct wpabuf *respData) in eap_tls_process() argument
259 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_tls_process()
Deap_server_tls_common.c427 struct wpabuf *respData, void *priv, int eap_type, in eap_server_tls_process() argument
431 const struct wpabuf *respData)) in eap_server_tls_process() argument
440 EAP_VENDOR_TYPE_UNAUTH_TLS, respData, in eap_server_tls_process()
444 EAP_VENDOR_WFA_UNAUTH_TLS, respData, in eap_server_tls_process()
447 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, respData, in eap_server_tls_process()
454 (unsigned long) wpabuf_len(respData), flags); in eap_server_tls_process()
468 proc_msg(sm, priv, respData); in eap_server_tls_process()
Deap_server_gtc.c78 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()
Deap_server_ikev2.c241 struct wpabuf *respData) in eap_ikev2_check() argument
246 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_check()
258 const struct wpabuf *respData, in eap_ikev2_process_icv() argument
265 respData, pos, *end); in eap_ikev2_process_icv()
352 struct wpabuf *respData) in eap_ikev2_process() argument
361 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_process()
375 if (eap_ikev2_process_icv(data, respData, flags, pos, &end, in eap_ikev2_process()
Deap_tls_common.h88 struct wpabuf *respData, void *priv, int eap_type,
92 const struct wpabuf *respData));
Deap_i.h36 struct wpabuf *respData);
38 struct wpabuf *respData);
Deap_server_wsc.c274 struct wpabuf *respData) in eap_wsc_check() argument
280 respData, &len); in eap_wsc_check()
349 struct wpabuf *respData) in eap_wsc_process() argument
366 respData, &len); in eap_wsc_process()
Deap_server_tnc.c324 struct wpabuf *respData) in eap_tnc_check() argument
330 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData, in eap_tnc_check()
447 struct wpabuf *respData) in eap_tnc_process() argument
456 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, respData, &len); in eap_tnc_process()
Deap_server_peap.c568 struct wpabuf *respData) in eap_peap_check() argument
573 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PEAP, respData, &len); in eap_peap_check()
1056 const struct wpabuf *respData, in eap_peap_process_phase2() argument
1099 resp = wpabuf_head(respData); in eap_peap_process_phase2()
1182 const struct wpabuf *respData) in eap_peap_process_msg() argument
1203 eap_peap_process_phase2(sm, data, respData, data->ssl.tls_in); in eap_peap_process_msg()
1221 struct wpabuf *respData) in eap_peap_process() argument
1228 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_peap_process()
Deap_server_gpsk.c212 struct wpabuf *respData) in eap_gpsk_check() argument
218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len); in eap_gpsk_check()
542 struct wpabuf *respData) in eap_gpsk_process() argument
548 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len); in eap_gpsk_process()
Deap_server_ttls.c513 struct wpabuf *respData) in eap_ttls_check() argument
518 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TTLS, respData, &len); in eap_ttls_check()
1146 const struct wpabuf *respData) in eap_ttls_process_msg() argument
1190 struct wpabuf *respData) in eap_ttls_process() argument
1197 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_ttls_process()
Deap_server_fast.c932 struct wpabuf *respData) in eap_fast_check() argument
937 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_FAST, respData, &len); in eap_fast_check()
1512 const struct wpabuf *respData) in eap_fast_process_msg() argument
1540 struct wpabuf *respData) in eap_fast_process() argument
1543 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_fast_process()
Deap_server_pwd.c552 struct wpabuf *respData) in eap_pwd_check() argument
558 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, respData, &len); in eap_pwd_check()
911 struct wpabuf *respData) in eap_pwd_process() argument
919 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, respData, &len); in eap_pwd_process()