/third_party/wpa_supplicant/wpa_supplicant-2.9/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 | 82 wpabuf_head(auth->resp_msg), in wpas_dpp_qr_code() 107 wpabuf_head(auth->resp_msg), in wpas_dpp_auth_resp_retry_timeout() 427 wpabuf_head(auth->req_msg), in wpas_dpp_auth_init_next() 799 wpabuf_head(wpa_s->dpp_auth->resp_msg), in wpas_dpp_rx_auth_req() 862 os_memcpy(ssid->dpp_csign, wpabuf_head(auth->c_sign_key), in wpas_dpp_add_network() 873 wpabuf_head(auth->net_access_key), in wpas_dpp_add_network() 973 wpabuf_head(auth->c_sign_key), in wpas_dpp_handle_config_obj() 988 wpabuf_head(auth->net_access_key), in wpas_dpp_handle_config_obj() 1035 !(pos = wpabuf_head(adv_proto)) || in wpas_dpp_gas_resp_cb() 1083 wpabuf_head(msg), in wpas_dpp_gas_resp_cb() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | 91 wpabuf_head(auth->resp_msg), in wpas_dpp_qr_code() 205 wpabuf_head(auth->resp_msg), in wpas_dpp_auth_resp_retry_timeout() 404 wpabuf_head(msg), wpabuf_len(msg), in wpas_dpp_send_conn_status_result() 741 wpabuf_head(auth->req_msg), in wpas_dpp_auth_init_next() 1159 wpabuf_head(wpa_s->dpp_auth->resp_msg), in wpas_dpp_rx_auth_req() 1226 os_memcpy(ssid->dpp_csign, wpabuf_head(conf->c_sign_key), in wpas_dpp_add_network() 1235 os_memcpy(ssid->dpp_pp_key, wpabuf_head(conf->pp_key), in wpas_dpp_add_network() 1246 wpabuf_head(auth->net_access_key), in wpas_dpp_add_network() 1311 os_memcpy(blob->data, wpabuf_head(conf->certs), in wpas_dpp_add_network() 1346 os_memcpy(blob->data, wpabuf_head(auth->priv_key), in wpas_dpp_add_network() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_crypto.c | 304 res = dpp_bi_pubkey_hash(bi, wpabuf_head(der), wpabuf_len(der)); in dpp_bootstrap_key_hash() 340 if (dpp_bi_pubkey_hash(bi, wpabuf_head(der), wpabuf_len(der)) < 0) { in dpp_keygen() 345 base64 = base64_encode(wpabuf_head(der), wpabuf_len(der), &len); in dpp_keygen() 503 secret_buf = crypto_ecdh_set_peerkey(ecdh, 1, wpabuf_head(peer_pub), in dpp_ecdh() 516 os_memcpy(secret, wpabuf_head(secret_buf), wpabuf_len(secret_buf)); in dpp_ecdh() 679 addr[0] = wpabuf_head(uncomp); in dpp_check_pubkey_match() 687 if (os_memcmp(hash, wpabuf_head(r_hash), SHA256_MAC_LEN) != 0) { in dpp_check_pubkey_match() 910 addr[num_elem] = wpabuf_head(pix); in dpp_gen_r_auth() 914 addr[num_elem] = wpabuf_head(prx); in dpp_gen_r_auth() 919 addr[num_elem] = wpabuf_head(bix); in dpp_gen_r_auth() [all …]
|
D | dpp_pkex.c | 665 wpabuf_head(clear), wpabuf_len(clear), in dpp_pkex_build_commit_reveal_req() 842 addr[num_elem] = wpabuf_head(A_pub); in dpp_pkex_rx_exchange_resp() 845 addr[num_elem] = wpabuf_head(Y_pub); in dpp_pkex_rx_exchange_resp() 848 addr[num_elem] = wpabuf_head(X_pub); in dpp_pkex_rx_exchange_resp() 984 wpabuf_head(clear), wpabuf_len(clear), in dpp_pkex_build_commit_reveal_resp() 1116 addr[num_elem] = wpabuf_head(A_pub); in dpp_pkex_rx_commit_reveal_req() 1119 addr[num_elem] = wpabuf_head(Y_pub); in dpp_pkex_rx_commit_reveal_req() 1122 addr[num_elem] = wpabuf_head(X_pub); in dpp_pkex_rx_commit_reveal_req() 1159 addr[num_elem] = wpabuf_head(B_pub); in dpp_pkex_rx_commit_reveal_req() 1162 addr[num_elem] = wpabuf_head(X_pub); in dpp_pkex_rx_commit_reveal_req() [all …]
|
D | dpp.c | 736 wpabuf_head(clear), wpabuf_len(clear), in dpp_build_conf_req_attr() 841 csr = base64_encode_no_lf(wpabuf_head(auth->csr), in dpp_build_conf_req_helper() 880 buf = dpp_build_conf_req(auth, wpabuf_head(json)); in dpp_build_conf_req_helper() 1367 pos = wpabuf_head(pub); in dpp_build_jwk() 1513 (const char *) wpabuf_head(dppcon)); in dpp_build_conf_obj_dpp() 1553 json_add_base64(buf, "certBag", wpabuf_head(auth->certbag), in dpp_build_conf_obj_dpp() 1558 wpabuf_head(auth->cacert), in dpp_build_conf_obj_dpp() 1597 wpabuf_head(buf), wpabuf_len(buf)); in dpp_build_conf_obj_dpp() 1634 wpabuf_head(buf), wpabuf_len(buf)); in dpp_build_conf_obj_legacy() 1720 wpabuf_head(conf), wpabuf_len(conf)); in dpp_build_conf_resp() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | wpabuf.h | 78 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head() function 85 return (const u8 *) wpabuf_head(buf); in wpabuf_head_u8() 149 wpabuf_put_data(dst, wpabuf_head(src), wpabuf_len(src)); in wpabuf_put_buf()
|
D | ext_password.c | 90 if (mlock(wpabuf_head(buf), wpabuf_len(buf)) < 0) { in ext_password_alloc() 106 if (munlock(wpabuf_head(pw), wpabuf_len(pw)) < 0) { in ext_password_free()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | dpp_hostapd.c | 57 wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_qr_code() 81 wpabuf_head(auth->resp_msg), in hostapd_dpp_auth_resp_retry_timeout() 392 wpabuf_head(hapd->dpp_auth->req_msg), in hostapd_dpp_auth_init_next() 604 src, wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_rx_auth_req() 649 wpabuf_head(auth->c_sign_key), in hostapd_dpp_handle_config_obj() 664 wpabuf_head(auth->net_access_key), in hostapd_dpp_handle_config_obj() 705 !(pos = wpabuf_head(adv_proto)) || in hostapd_dpp_gas_resp_cb() 749 addr, wpabuf_head(msg), in hostapd_dpp_gas_resp_cb() 871 wpabuf_head(msg), wpabuf_len(msg)); in hostapd_dpp_rx_auth_resp() 1050 wpabuf_head(msg), wpabuf_len(msg)); in hostapd_dpp_send_peer_disc_resp() [all …]
|
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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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() 65 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() 374 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth() 424 addr[0] = wpabuf_head(pubkey); in wps_build_oob_dev_pw() 466 pos = wpabuf_head(data); in wps_ie_encapsulate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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() 930 !(pos = wpabuf_head(adv_proto)) || in hostapd_dpp_gas_resp_cb() 977 addr, wpabuf_head(msg), in hostapd_dpp_gas_resp_cb() 1092 wpabuf_head(msg), wpabuf_len(msg)); in hostapd_dpp_rx_auth_resp() 1420 wpabuf_head(auth->reconfig_req_msg), in hostapd_dpp_rx_reconfig_announcement() [all …]
|