/external/wpa_supplicant_8/wpa_supplicant/ |
D | nfc_pw_token.c | 28 pos = wpabuf_head(buf); in print_bin() 61 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(buf), in main() 65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef), in main()
|
D | offchannel.c | 149 wpabuf_head(wpa_s->pending_action_tx), in wpas_send_action_cb() 161 wpabuf_head(wpa_s->pending_action_tx), in wpas_send_action_cb() 197 os_memcmp(data + 24, wpabuf_head(wpa_s->pending_action_tx), in offchannel_send_action_tx_status() 320 wpabuf_head(wpa_s->pending_action_tx), in offchannel_send_action()
|
D | dpp_supplicant.c | 92 wpabuf_head(auth->resp_msg), in wpas_dpp_qr_code() 206 wpabuf_head(auth->resp_msg), in wpas_dpp_auth_resp_retry_timeout() 405 wpabuf_head(msg), wpabuf_len(msg), in wpas_dpp_send_conn_status_result() 744 wpabuf_head(auth->req_msg), in wpas_dpp_auth_init_next() 1161 wpabuf_head(wpa_s->dpp_auth->resp_msg), in wpas_dpp_rx_auth_req() 1228 os_memcpy(ssid->dpp_csign, wpabuf_head(conf->c_sign_key), in wpas_dpp_add_network() 1237 os_memcpy(ssid->dpp_pp_key, wpabuf_head(conf->pp_key), in wpas_dpp_add_network() 1248 wpabuf_head(auth->net_access_key), in wpas_dpp_add_network() 1313 os_memcpy(blob->data, wpabuf_head(conf->certs), in wpas_dpp_add_network() 1348 os_memcpy(blob->data, wpabuf_head(auth->priv_key), in wpas_dpp_add_network() [all …]
|
D | pasn_supplicant.c | 310 ret = fils_pmkid_erp(pasn->akmp, wpabuf_head(erp_msg), in wpas_pasn_fils_build_auth() 411 data = wpabuf_head(wd); in wpas_pasn_wd_fils_rx() 492 eapol_sm_process_erp_finish(wpa_s->eapol, wpabuf_head(fils_wd), in wpas_pasn_wd_fils_rx() 1025 ret = wpa_drv_send_mlme(wpa_s, wpabuf_head(frame), wpabuf_len(frame), 0, in wpas_pasn_start() 1375 wpabuf_head(secret), wpabuf_len(secret), in wpas_pasn_auth_rx() 1391 wpabuf_head(pasn->beacon_rsne_rsnxe), in wpas_pasn_auth_rx() 1413 ret = wpa_drv_send_mlme(wpa_s, wpabuf_head(frame), wpabuf_len(frame), 0, in wpas_pasn_auth_rx()
|
D | sme.c | 498 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie), in sme_send_authentication() 612 wpabuf_head(wpa_s->fst_ies), in sme_send_authentication() 650 wpabuf_head(wpa_s->rsnxe_override_assoc), in sme_send_authentication() 682 wpabuf_head(hs20), wpabuf_len(hs20)); in sme_send_authentication() 719 wpabuf_head(buf), wpabuf_len(buf)); in sme_send_authentication() 766 params.auth_data = wpabuf_head(resp); in sme_send_authentication() 856 params.auth_data = wpabuf_head(resp); in sme_send_authentication() 1077 wpa_drv_send_mlme(wpa_s, wpabuf_head(buf), wpabuf_len(buf), 1, 0, 0); in sme_external_auth_send_sae_commit() 1147 wpa_drv_send_mlme(wpa_s, wpabuf_head(buf), wpabuf_len(buf), 1, 0, 0); in sme_external_auth_send_sae_confirm() 1210 pos = wpabuf_head(groups); in sme_check_sae_rejected_groups() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_common.c | 33 hdr = wpabuf_head(msg); in eap_hdr_len_valid() 76 hdr = wpabuf_head(msg); in eap_hdr_validate() 189 eap = wpabuf_head(msg); in eap_get_id() 204 return ((const u8 *) wpabuf_head(msg))[sizeof(struct eap_hdr)]; in eap_get_type()
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.h | 93 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head() function 100 return (const u8 *) wpabuf_head(buf); in wpabuf_head_u8() 164 wpabuf_put_data(dst, wpabuf_head(src), wpabuf_len(src)); in wpabuf_put_buf()
|
D | ext_password.c | 93 if (mlock(wpabuf_head(buf), wpabuf_len(buf)) < 0) { in ext_password_alloc() 109 if (munlock(wpabuf_head(pw), wpabuf_len(pw)) < 0) { in ext_password_free()
|
D | wpa_debug.h | 92 wpa_hexdump(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf() 114 wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf_key()
|
D | ext_password_test.c | 69 wpabuf_head(buf), in ext_password_test_get()
|
/external/wpa_supplicant_8/src/common/ |
D | dpp_pkex.c | 660 wpabuf_head(clear), wpabuf_len(clear), in dpp_pkex_build_commit_reveal_req() 822 addr[1] = wpabuf_head(A_pub); in dpp_pkex_rx_exchange_resp() 824 addr[2] = wpabuf_head(Y_pub); in dpp_pkex_rx_exchange_resp() 826 addr[3] = wpabuf_head(X_pub); in dpp_pkex_rx_exchange_resp() 961 wpabuf_head(clear), wpabuf_len(clear), in dpp_pkex_build_commit_reveal_resp() 1088 addr[1] = wpabuf_head(A_pub); in dpp_pkex_rx_commit_reveal_req() 1090 addr[2] = wpabuf_head(Y_pub); in dpp_pkex_rx_commit_reveal_req() 1092 addr[3] = wpabuf_head(X_pub); in dpp_pkex_rx_commit_reveal_req() 1123 addr[1] = wpabuf_head(B_pub); in dpp_pkex_rx_commit_reveal_req() 1125 addr[2] = wpabuf_head(X_pub); in dpp_pkex_rx_commit_reveal_req() [all …]
|
D | dpp_crypto.c | 709 res = dpp_bi_pubkey_hash(bi, wpabuf_head(der), wpabuf_len(der)); in dpp_bootstrap_key_hash() 745 if (dpp_bi_pubkey_hash(bi, wpabuf_head(der), wpabuf_len(der)) < 0) { in dpp_keygen() 750 base64 = base64_encode(wpabuf_head(der), wpabuf_len(der), &len); in dpp_keygen() 1208 addr[0] = wpabuf_head(uncomp); in dpp_check_pubkey_match() 1216 if (os_memcmp(hash, wpabuf_head(r_hash), SHA256_MAC_LEN) != 0) { in dpp_check_pubkey_match() 1463 addr[num_elem] = wpabuf_head(pix); in dpp_gen_r_auth() 1467 addr[num_elem] = wpabuf_head(prx); in dpp_gen_r_auth() 1472 addr[num_elem] = wpabuf_head(bix); in dpp_gen_r_auth() 1477 addr[num_elem] = wpabuf_head(brx); in dpp_gen_r_auth() 1546 addr[num_elem] = wpabuf_head(prx); in dpp_gen_i_auth() [all …]
|
D | dpp.c | 749 wpabuf_head(clear), wpabuf_len(clear), in dpp_build_conf_req_attr() 854 csr = base64_encode_no_lf(wpabuf_head(auth->csr), in dpp_build_conf_req_helper() 893 buf = dpp_build_conf_req(auth, wpabuf_head(json)); in dpp_build_conf_req_helper() 1379 pos = wpabuf_head(pub); in dpp_build_jwk() 1521 (const char *) wpabuf_head(dppcon)); in dpp_build_conf_obj_dpp() 1561 json_add_base64(buf, "certBag", wpabuf_head(auth->certbag), in dpp_build_conf_obj_dpp() 1566 wpabuf_head(auth->cacert), in dpp_build_conf_obj_dpp() 1605 wpabuf_head(buf), wpabuf_len(buf)); in dpp_build_conf_obj_dpp() 1642 wpabuf_head(buf), wpabuf_len(buf)); in dpp_build_conf_obj_legacy() 1728 wpabuf_head(conf), wpabuf_len(conf)); in dpp_build_conf_resp() [all …]
|
D | sae_pk.c | 587 if (sae_hash(hash_len, wpabuf_head(sig_data), wpabuf_len(sig_data), in sae_pk_hash_sig_data() 644 if (sae_pk_hash_sig_data(sae, hash_len, true, wpabuf_head(pk->m), in sae_write_confirm_pk() 645 wpabuf_len(pk->m), wpabuf_head(pk->pubkey), in sae_write_confirm_pk() 689 wpabuf_head(pk->m), wpabuf_len(pk->m), in sae_write_confirm_pk()
|
/external/wpa_supplicant_8/src/ap/ |
D | hs20.c | 146 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification() 181 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification_deauth_req() 227 wpabuf_head(buf), wpabuf_len(buf)); in hs20_send_wnm_notification_t_c()
|
D | dpp_hostapd.c | 67 wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_qr_code() 178 wpabuf_head(auth->resp_msg), in hostapd_dpp_auth_resp_retry_timeout() 527 wpabuf_head(hapd->dpp_auth->req_msg), in hostapd_dpp_auth_init_next() 799 src, wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_rx_auth_req() 846 wpabuf_head(conf->c_sign_key), in hostapd_dpp_handle_config_obj() 861 wpabuf_head(auth->net_access_key), in hostapd_dpp_handle_config_obj() 929 !(pos = wpabuf_head(adv_proto)) || in hostapd_dpp_gas_resp_cb() 976 addr, wpabuf_head(msg), in hostapd_dpp_gas_resp_cb() 1091 wpabuf_head(msg), wpabuf_len(msg)); in hostapd_dpp_rx_auth_resp() 1418 wpabuf_head(auth->reconfig_req_msg), in hostapd_dpp_rx_reconfig_announcement() [all …]
|
D | rrm.c | 273 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_nei_report_resp() 426 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_lci_req() 545 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_range_req() 587 pos = wpabuf_head(req); in hostapd_send_beacon_req() 656 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_beacon_req()
|
D | neighbor_db.c | 60 wpabuf_head(nr->nr), in hostapd_neighbor_show() 66 wpabuf_head(nr->lci), in hostapd_neighbor_show() 72 wpabuf_head(nr->civic), in hostapd_neighbor_show()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_process.c | 38 addr[0] = wpabuf_head(wps->last_msg); in wps_process_authenticator() 40 addr[1] = wpabuf_head(msg); in wps_process_authenticator() 66 head = wpabuf_head(msg); in wps_process_key_wrap_auth()
|
D | wps_attr_build.c | 174 addr[0] = wpabuf_head(wps->last_msg); in wps_build_authenticator() 176 addr[1] = wpabuf_head(msg); in wps_build_authenticator() 382 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth() 433 addr[0] = wpabuf_head(pubkey); in wps_build_oob_dev_pw() 475 pos = wpabuf_head(data); in wps_ie_encapsulate()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_internal.c | 498 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2() 542 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data), in tls_connection_server_handshake() 572 res = tlsv1_client_encrypt(conn->client, wpabuf_head(in_data), in tls_connection_encrypt() 591 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data), in tls_connection_encrypt() 625 return tlsv1_client_decrypt(conn->client, wpabuf_head(in_data), in tls_connection_decrypt2() 637 res = tlsv1_server_decrypt(conn->server, wpabuf_head(in_data), in tls_connection_decrypt2()
|
D | dh_groups.c | 1253 wpabuf_head(own_private), in dh_derive_shared() 1255 wpabuf_head(peer_public), in dh_derive_shared()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_sd.c | 28 pos = wpabuf_head(wfd); in wfd_wsd_supported() 205 wpabuf_head(req), wpabuf_len(req), 200) < 0) in p2p_send_gas_comeback_req() 317 wpabuf_head(req), wpabuf_len(req), wait_time) < 0) { in p2p_start_sd() 475 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_sd_response() 687 wpabuf_head(resp), wpabuf_len(resp), wait_time) < 0) in p2p_rx_gas_comeback_req() 863 wpabuf_head(p2p->sd_rx_resp), in p2p_rx_gas_comeback_resp()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pax.c | 218 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN, in eap_pax_process_std_1() 316 wpabuf_head(resp), wpabuf_len(resp) - EAP_PAX_ICV_LEN, in eap_pax_process_std_3() 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()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tnc.c | 168 wpabuf_head(req), wpabuf_len(req)); in eap_tnc_build() 364 res = tncs_process_if_tnccs(data->tncs, wpabuf_head(inbuf), in tncs_process() 531 wpabuf_head(data->in_buf), wpabuf_len(data->in_buf)); in eap_tnc_process()
|