/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 | twt.c | 89 wpabuf_head(buf), wpabuf_len(buf), 0) < 0) { in wpas_twt_send_setup() 133 wpabuf_head(buf), wpabuf_len(buf), 0) < 0) { in wpas_twt_send_teardown()
|
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 | 96 wpabuf_head(auth->resp_msg), in wpas_dpp_qr_code() 210 wpabuf_head(auth->resp_msg), in wpas_dpp_auth_resp_retry_timeout() 424 wpabuf_head(msg), wpabuf_len(msg), in wpas_dpp_send_conn_status_result() 776 wpabuf_head(auth->req_msg), in wpas_dpp_auth_init_next() 1226 wpabuf_head(wpa_s->dpp_auth->resp_msg), in wpas_dpp_rx_auth_req() 1320 os_memcpy(ssid->dpp_csign, wpabuf_head(conf->c_sign_key), in wpas_dpp_add_network() 1329 os_memcpy(ssid->dpp_pp_key, wpabuf_head(conf->pp_key), in wpas_dpp_add_network() 1340 wpabuf_head(auth->net_access_key), in wpas_dpp_add_network() 1408 os_memcpy(blob->data, wpabuf_head(conf->certs), in wpas_dpp_add_network() 1443 os_memcpy(blob->data, wpabuf_head(auth->priv_key), in wpas_dpp_add_network() [all …]
|
D | sme.c | 158 os_memcpy(password, wpabuf_head(pw), wpabuf_len(pw)); in sme_auth_build_sae_commit() 433 eht_ml = wpabuf_head(mlbuf); in wpas_ml_element() 789 os_memcpy(wpa_s->sme.assoc_req_ie, wpabuf_head(wps_ie), in sme_send_authentication() 903 wpabuf_head(wpa_s->fst_ies), in sme_send_authentication() 941 wpabuf_head(wpa_s->rsnxe_override_assoc), in sme_send_authentication() 977 wpabuf_head(hs20), wpabuf_len(hs20)); in sme_send_authentication() 1014 wpabuf_head(buf), wpabuf_len(buf)); in sme_send_authentication() 1067 params.auth_data = wpabuf_head(resp); in sme_send_authentication() 1159 params.auth_data = wpabuf_head(resp); in sme_send_authentication() 1428 wpa_drv_send_mlme(wpa_s, wpabuf_head(buf), wpabuf_len(buf), 1, 0, 0); in sme_external_auth_send_sae_commit() [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/crypto/ |
D | crypto_module_tests.c | 2348 own_priv = crypto_ec_key_set_priv(test->sk_r_group, wpabuf_head(sk_r), in run_hpke_test() 2358 wpabuf_head(info), wpabuf_len(info), in run_hpke_test() 2359 wpabuf_head(aad), wpabuf_len(aad), in run_hpke_test() 2360 wpabuf_head(enc_ct), wpabuf_len(enc_ct)); in run_hpke_test() 2367 os_memcmp(wpabuf_head(res_pt), wpabuf_head(pt), in run_hpke_test() 2407 wpabuf_head(info), wpabuf_len(info), in run_hpke_test() 2408 wpabuf_head(aad), wpabuf_len(aad), in run_hpke_test() 2409 wpabuf_head(pt), wpabuf_len(pt)); in run_hpke_test() 2420 wpabuf_head(info), wpabuf_len(info), in run_hpke_test() 2421 wpabuf_head(aad), wpabuf_len(aad), in run_hpke_test() [all …]
|
D | tls_internal.c | 490 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2() 534 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data), in tls_connection_server_handshake() 564 res = tlsv1_client_encrypt(conn->client, wpabuf_head(in_data), in tls_connection_encrypt() 583 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data), in tls_connection_encrypt() 617 return tlsv1_client_decrypt(conn->client, wpabuf_head(in_data), in tls_connection_decrypt2() 629 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/common/ |
D | dpp_crypto.c | 262 addr[0] = wpabuf_head(uncomp); in dpp_get_pubkey_hash() 325 res = dpp_bi_pubkey_hash(bi, wpabuf_head(der), wpabuf_len(der)); in dpp_bootstrap_key_hash() 361 if (dpp_bi_pubkey_hash(bi, wpabuf_head(der), wpabuf_len(der)) < 0) { in dpp_keygen() 366 base64 = base64_encode(wpabuf_head(der), wpabuf_len(der), &len); in dpp_keygen() 524 secret_buf = crypto_ecdh_set_peerkey(ecdh, 1, wpabuf_head(peer_pub), in dpp_ecdh() 537 os_memcpy(secret, wpabuf_head(secret_buf), wpabuf_len(secret_buf)); in dpp_ecdh() 700 addr[0] = wpabuf_head(uncomp); in dpp_check_pubkey_match() 708 if (os_memcmp(hash, wpabuf_head(r_hash), SHA256_MAC_LEN) != 0) { in dpp_check_pubkey_match() 931 addr[num_elem] = wpabuf_head(pix); in dpp_gen_r_auth() 935 addr[num_elem] = wpabuf_head(prx); in dpp_gen_r_auth() [all …]
|
D | dpp_pkex.c | 672 wpabuf_head(clear), wpabuf_len(clear), in dpp_pkex_build_commit_reveal_req() 851 addr[num_elem] = wpabuf_head(A_pub); in dpp_pkex_rx_exchange_resp() 854 addr[num_elem] = wpabuf_head(Y_pub); in dpp_pkex_rx_exchange_resp() 857 addr[num_elem] = wpabuf_head(X_pub); in dpp_pkex_rx_exchange_resp() 993 wpabuf_head(clear), wpabuf_len(clear), in dpp_pkex_build_commit_reveal_resp() 1125 addr[num_elem] = wpabuf_head(A_pub); in dpp_pkex_rx_commit_reveal_req() 1128 addr[num_elem] = wpabuf_head(Y_pub); in dpp_pkex_rx_commit_reveal_req() 1131 addr[num_elem] = wpabuf_head(X_pub); in dpp_pkex_rx_commit_reveal_req() 1168 addr[num_elem] = wpabuf_head(B_pub); in dpp_pkex_rx_commit_reveal_req() 1171 addr[num_elem] = wpabuf_head(X_pub); in dpp_pkex_rx_commit_reveal_req() [all …]
|
D | dpp.c | 892 wpabuf_head(clear), wpabuf_len(clear), in dpp_build_conf_req_attr() 1003 csr = base64_encode_no_lf(wpabuf_head(auth->csr), in dpp_build_conf_req_helper() 1044 buf = dpp_build_conf_req(auth, wpabuf_head(json)); in dpp_build_conf_req_helper() 1573 pos = wpabuf_head(pub); in dpp_build_jwk() 1792 (const char *) wpabuf_head(dppcon)); in dpp_build_conf_obj_dpp() 1835 json_add_base64(buf, "certBag", wpabuf_head(auth->certbag), in dpp_build_conf_obj_dpp() 1840 wpabuf_head(auth->cacert), in dpp_build_conf_obj_dpp() 1884 wpabuf_head(buf), wpabuf_len(buf)); in dpp_build_conf_obj_dpp() 1944 wpabuf_head(buf), wpabuf_len(buf)); in dpp_build_conf_obj_legacy() 2058 wpabuf_head(conf), wpabuf_len(conf)); in dpp_build_conf_resp() [all …]
|
/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() 176 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 | 93 wpa_hexdump(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf() 115 wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf_key()
|
/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/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 | 75 wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_qr_code() 186 wpabuf_head(auth->resp_msg), in hostapd_dpp_auth_resp_retry_timeout() 413 wpabuf_head(msg), wpabuf_len(msg)); in hostapd_dpp_pkex_init() 458 wpabuf_head(pkex->exchange_req), in hostapd_dpp_pkex_retry_timeout() 804 wpabuf_head(hapd->dpp_auth->req_msg), in hostapd_dpp_auth_init_next() 1127 src, wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_rx_auth_req() 1174 wpabuf_head(conf->c_sign_key), in hostapd_dpp_handle_config_obj() 1189 wpabuf_head(auth->net_access_key), in hostapd_dpp_handle_config_obj() 1274 !(pos = wpabuf_head(adv_proto)) || in hostapd_dpp_gas_resp_cb() 1330 addr, wpabuf_head(msg), in hostapd_dpp_gas_resp_cb() [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 | 61 wpabuf_head(nr->nr), in hostapd_neighbor_show() 67 wpabuf_head(nr->lci), in hostapd_neighbor_show() 73 wpabuf_head(nr->civic), in hostapd_neighbor_show()
|
/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/pasn/ |
D | pasn_initiator.c | 254 ret = fils_pmkid_erp(pasn->akmp, wpabuf_head(erp_msg), in wpas_pasn_fils_build_auth() 309 data = wpabuf_head(wd); in wpas_pasn_wd_fils_rx() 390 eapol_sm_process_erp_finish(pasn->eapol, wpabuf_head(fils_wd), in wpas_pasn_wd_fils_rx() 915 wpabuf_head(frame), wpabuf_len(frame), 0, in wpas_pasn_send_auth_1() 1221 wpabuf_head(secret), wpabuf_len(secret), in wpa_pasn_auth_rx() 1259 wpabuf_head(pasn->beacon_rsne_rsnxe), in wpa_pasn_auth_rx() 1320 wpabuf_head(frame), wpabuf_len(frame), 0, in wpa_pasn_auth_rx()
|
/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()
|