Home
last modified time | relevance | path

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

12

/freebsd/contrib/wpa/src/eap_server/
H A 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
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 …]
H A Deap_server_mschapv2.c245 struct wpabuf *respData) in eap_mschapv2_check() argument
252 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_check()
288 struct wpabuf *respData) in eap_mschapv2_process_response() argument
300 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_response()
313 respData); in eap_mschapv2_process_response()
459 struct wpabuf *respData) in eap_mschapv2_process_success_resp() argument
465 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_success_resp()
486 struct wpabuf *respData) in eap_mschapv2_process_failure_resp() argument
492 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, respData, in eap_mschapv2_process_failure_resp()
512 struct wpabuf *respData) in eap_mschapv2_process() argument
[all …]
H A Deap_server_pax.c199 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 …]
H A 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()
H A 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()
H A Deap_server_eke.c385 struct wpabuf *respData) in eap_eke_check() argument
392 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_EKE, respData, &len); in eap_eke_check()
422 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
665 const struct wpabuf *respData, in eap_eke_process_failure() argument
[all …]
H A 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()
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 …]
H A Deap_server_aka.c708 struct wpabuf *respData) in eap_aka_check() argument
714 pos = eap_hdr_validate(EAP_VENDOR_IETF, data->eap_method, respData, in eap_aka_check()
981 struct wpabuf *respData, in eap_aka_process_identity() argument
1020 if (eap_get_id(respData) == data->pending_id) { in eap_aka_process_identity()
1022 eap_aka_add_id_msg(data, respData); in eap_aka_process_identity()
1041 struct wpabuf *respData, in eap_aka_process_challenge() argument
1081 eap_aka_verify_mac(data, respData, attr->mac, NULL, 0)) { in eap_aka_process_challenge()
1146 struct wpabuf *respData, in eap_aka_process_sync_failure() argument
1179 struct wpabuf *respData, in eap_aka_process_reauth() argument
1188 eap_aka_verify_mac(data, respData, attr->mac, data->nonce_s, in eap_aka_process_reauth()
[all …]
H A Deap_server_sim.c382 struct wpabuf *respData) in eap_sim_check() argument
387 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_SIM, respData, &len); in eap_sim_check()
450 struct wpabuf *respData, in eap_sim_process_start() argument
707 struct wpabuf *respData, in eap_sim_process_challenge() argument
711 eap_sim_verify_mac(data->k_aut, respData, attr->mac, in eap_sim_process_challenge()
747 struct wpabuf *respData, in eap_sim_process_reauth() argument
754 eap_sim_verify_mac(data->k_aut, respData, attr->mac, data->nonce_s, in eap_sim_process_reauth()
828 struct wpabuf *respData, in eap_sim_process_client_error() argument
842 struct wpabuf *respData, in eap_sim_process_notification() argument
854 struct wpabuf *respData) in eap_sim_process() argument
[all …]
H A 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()
H A Deap_server_tls.c230 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()
H A 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()
H A Deap_server_tls_common.c529 struct wpabuf *respData, void *priv, int eap_type, in eap_server_tls_process() argument
533 const struct wpabuf *respData)) in eap_server_tls_process() argument
542 EAP_VENDOR_TYPE_UNAUTH_TLS, respData, in eap_server_tls_process()
546 EAP_VENDOR_WFA_UNAUTH_TLS, respData, in eap_server_tls_process()
549 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, respData, in eap_server_tls_process()
556 (unsigned long) wpabuf_len(respData), flags); in eap_server_tls_process()
570 proc_msg(sm, priv, respData); in eap_server_tls_process()
H A Deap_server_ikev2.c240 struct wpabuf *respData) in eap_ikev2_check() argument
245 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_check()
257 const struct wpabuf *respData, in eap_ikev2_process_icv() argument
264 respData, pos, *end); in eap_ikev2_process_icv()
351 struct wpabuf *respData) in eap_ikev2_process() argument
360 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IKEV2, respData, in eap_ikev2_process()
374 if (eap_ikev2_process_icv(data, respData, flags, pos, &end, in eap_ikev2_process()
H A Deap_tls_common.h97 struct wpabuf *respData, void *priv, int eap_type,
101 const struct wpabuf *respData));
H A Deap_i.h35 bool (*check)(struct eap_sm *sm, void *priv, struct wpabuf *respData);
37 struct wpabuf *respData);
H A Deap_server_wsc.c276 struct wpabuf *respData) in eap_wsc_check() argument
282 respData, &len); in eap_wsc_check()
351 struct wpabuf *respData) in eap_wsc_process() argument
368 respData, &len); in eap_wsc_process()
H A 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()
H A Deap_server_peap.c621 struct wpabuf *respData) in eap_peap_check() argument
626 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PEAP, respData, &len); in eap_peap_check()
1109 const struct wpabuf *respData, in eap_peap_process_phase2() argument
1152 resp = wpabuf_head(respData); in eap_peap_process_phase2()
1235 const struct wpabuf *respData) in eap_peap_process_msg() argument
1256 eap_peap_process_phase2(sm, data, respData, data->ssl.tls_in); in eap_peap_process_msg()
1274 struct wpabuf *respData) in eap_peap_process() argument
1281 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_peap_process()
H A 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()
H A Deap_server_teap.c1007 struct wpabuf *respData) in eap_teap_check() argument
1012 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TEAP, respData, &len); in eap_teap_check()
1865 const struct wpabuf *respData) in eap_teap_process_msg() argument
1903 struct wpabuf *respData) in eap_teap_process() argument
1908 struct wpabuf *resp = respData; in eap_teap_process()
1911 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TEAP, respData, &len); in eap_teap_process()
1974 if (wpabuf_len(respData) < 4 + outer_tlv_len || in eap_teap_process()
1977 resp = wpabuf_alloc(wpabuf_len(respData) - 4 - outer_tlv_len); in eap_teap_process()
1980 hdr = wpabuf_head(respData); in eap_teap_process()
2021 if (resp != respData) in eap_teap_process()
H A Deap_server_ttls.c514 struct wpabuf *respData) in eap_ttls_check() argument
519 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TTLS, respData, &len); in eap_ttls_check()
1156 const struct wpabuf *respData) in eap_ttls_process_msg() argument
1200 struct wpabuf *respData) in eap_ttls_process() argument
1207 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_ttls_process()
H A Deap_server_pwd.c545 struct wpabuf *respData) in eap_pwd_check() argument
551 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, respData, &len); in eap_pwd_check()
866 struct wpabuf *respData) in eap_pwd_process() argument
874 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, respData, &len); in eap_pwd_process()
H A Deap_server_fast.c922 struct wpabuf *respData) in eap_fast_check() argument
927 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_FAST, respData, &len); in eap_fast_check()
1518 const struct wpabuf *respData) in eap_fast_process_msg() argument
1546 struct wpabuf *respData) in eap_fast_process() argument
1549 if (eap_server_tls_process(sm, &data->ssl, respData, data, in eap_fast_process()
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sas/ini/
H A Ditdcb.c115 bit8 respData[128]; in itdssTaskCompleted() local
204 respData, respLen); in itdssTaskCompleted()
205 TI_DBG6(("itdssTaskCompleted: res code %d. should be 0\n", respData[3])); in itdssTaskCompleted()
413 if (respData[3] == AGSA_TASK_MANAGEMENT_FUNCTION_COMPLETE || in itdssTaskCompleted()
414 respData[3] == AGSA_TASK_MANAGEMENT_FUNCTION_SUCCEEDED) in itdssTaskCompleted()
505 bit8 respData[128]; in itdssQueryTaskCompleted() local
559 respData, respLen); in itdssQueryTaskCompleted()
561 TI_DBG6(("itdssQueryTaskCompleted: res code %d. should be 0\n", respData[3])); in itdssQueryTaskCompleted()
631 if (respData[3] == AGSA_TASK_MANAGEMENT_FUNCTION_SUCCEEDED) in itdssQueryTaskCompleted()
635 else if (respData[3] == AGSA_TASK_MANAGEMENT_FUNCTION_COMPLETE) in itdssQueryTaskCompleted()
[all …]

12