Home
last modified time | relevance | path

Searched refs:wpa_snprintf_hex (Results 1 – 25 of 61) sorted by relevance

123

/hostap-latest/hostapd/
Dhlr_auc_gw.c235 pos += wpa_snprintf_hex(pos, sizeof(val), m->sqn, 6); in db_update_milenage_sqn()
539 pos += wpa_snprintf_hex(pos, end - pos, m->ki, 16); in update_milenage_file()
541 pos += wpa_snprintf_hex(pos, end - pos, m->opc, 16); in update_milenage_file()
543 pos += wpa_snprintf_hex(pos, end - pos, m->amf, 2); in update_milenage_file()
545 pos += wpa_snprintf_hex(pos, end - pos, m->sqn, 6); in update_milenage_file()
623 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8); in sim_req_auth()
625 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4); in sim_req_auth()
627 rpos += wpa_snprintf_hex(rpos, rend - rpos, _rand, 16); in sim_req_auth()
640 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->kc, 8); in sim_req_auth()
643 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->sres, 4); in sim_req_auth()
[all …]
Dsae_pk_gen.c128 if (wpa_snprintf_hex(m_hex, sizeof(m_hex), m, SAE_PK_M_LEN) < 0 || in main()
129 wpa_snprintf_hex(hash_hex, sizeof(hash_hex), hash, hash_len) < 0) in main()
165 if (wpa_snprintf_hex(hash_hex, sizeof(hash_hex), in main()
Dctrl_iface.c1030 wpa_snprintf_hex(hex, sizeof(hex), in hostapd_ctrl_iface_get_config()
1072 wpa_snprintf_hex(hex, sizeof(hex), ssid->wpa_psk->psk, in hostapd_ctrl_iface_get_config()
1508 pos += wpa_snprintf_hex(pos, end - pos, r0kh->key, in hostapd_ctrl_iface_get_rxkhs()
1523 pos += wpa_snprintf_hex(pos, end - pos, r1kh->key, in hostapd_ctrl_iface_get_rxkhs()
2399 return wpa_snprintf_hex(buf, buflen, pmksa->pmk, pmksa->pmk_len); in hostapd_ctrl_get_pmksa_pmk()
2427 return wpa_snprintf_hex(buf, buflen, pmk, pmk_len); in hostapd_ctrl_get_pmk()
3076 ret = wpa_snprintf_hex(buf, buflen, wpabuf_head_u8(reply), in hostapd_ctrl_iface_vendor()
4653 wpa_snprintf_hex(reply + 7, 2 * CTRL_IFACE_COOKIE_LEN + 1, in hostapd_ctrl_iface_receive()
5239 wpa_snprintf_hex(value, HOSTAPD_CLI_DUP_VALUE_MAX_LEN, in hostapd_ctrl_iface_dup_param()
5413 wpa_snprintf_hex(reply + 7, 2 * CTRL_IFACE_COOKIE_LEN + 1, in hostapd_global_ctrl_iface_receive()
/hostap-latest/src/ap/
Dneighbor_db.c55 wpa_snprintf_hex(ssid, sizeof(ssid), nr->ssid.ssid, in hostapd_neighbor_show()
60 wpa_snprintf_hex(nrie, sizeof(nrie), in hostapd_neighbor_show()
66 wpa_snprintf_hex(lci, sizeof(lci), in hostapd_neighbor_show()
72 wpa_snprintf_hex(civic, sizeof(civic), in hostapd_neighbor_show()
Dnan_usd_ap.c58 wpa_snprintf_hex(ssi_hex, 2 * ssi_len + 1, ssi, ssi_len); in hostapd_nan_de_discovery_result()
81 wpa_snprintf_hex(ssi_hex, 2 * ssi_len + 1, ssi, ssi_len); in hostapd_nan_de_replied()
139 wpa_snprintf_hex(ssi_hex, 2 * ssi_len + 1, ssi, ssi_len); in hostapd_nan_de_receive()
Dctrl_iface_ap.c43 len += wpa_snprintf_hex(buf + len, buflen - len, mcs_set, 10); in hostapd_write_ht_mcs_bitmask()
362 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
384 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
398 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
419 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
442 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
469 len += wpa_snprintf_hex(buf + len, buflen - len, dpp_pkhash, in hostapd_ctrl_iface_sta_mib()
Dpmksa_cache_auth.c673 pos += wpa_snprintf_hex(pos, buf + len - pos, entry->pmkid, in pmksa_cache_auth_list()
729 pos += wpa_snprintf_hex(pos, end - pos, entry->pmkid, in pmksa_cache_auth_list_mesh()
737 pos += wpa_snprintf_hex(pos, end - pos, entry->pmk, in pmksa_cache_auth_list_mesh()
Dwps_hostapd.c150 wpa_snprintf_hex(hex, sizeof(hex), psk, psk_len); in hostapd_wps_new_psk_cb()
345 wpa_snprintf_hex(buf, blen, attr, attr_len); in hapd_new_ap_event()
1234 wpa_snprintf_hex((char *) wps->network_key, 2 * PMK_LEN + 1, in hostapd_init_wps()
1286 wpa_snprintf_hex((char *) multi_ap_netw_key, in hostapd_init_wps()
1411 wpa_snprintf_hex((char *) multi_ap_backhaul_network_key, in hostapd_wps_update_multi_ap()
1484 wpa_snprintf_hex((char *) wps->network_key, 2 * PMK_LEN + 1, in hostapd_update_wps()
Drrm.c88 if (wpa_snprintf_hex(report, sizeof(report), pos, len) < 0) in hostapd_handle_beacon_report()
375 if (wpa_snprintf_hex(report_msg, sizeof(report_msg), in hostapd_handle_link_mesr_report()
Dwnm_ap.c474 wpa_snprintf_hex(hex, hex_len, pos, end - pos); in ieee802_11_rx_bss_trans_mgmt_query()
663 wpa_snprintf_hex(hex, hex_len, buf, len); in ieee802_11_rx_wnm_coloc_intf_report()
Ddpp_hostapd.c1161 wpa_snprintf_hex(hex, sizeof(hex), in hostapd_dpp_handle_config_obj()
1169 wpa_snprintf_hex(hex, sizeof(hex), conf->psk, PMK_LEN); in hostapd_dpp_handle_config_obj()
1180 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
1195 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
2467 wpa_snprintf_hex(ssid_hex, sizeof(ssid_hex), in hostapd_dpp_pb_pkex_init()
2502 wpa_snprintf_hex(pass_hex, len, (const u8 *) password, in hostapd_dpp_pb_pkex_init()
/hostap-latest/wpa_supplicant/
Dwifi_display.c364 res = wpa_snprintf_hex(buf, buflen, wpabuf_head(ie), in wifi_display_subelem_get()
377 return wpa_snprintf_hex(buf, buflen, in wifi_display_subelem_get()
420 wpa_snprintf_hex(subelem, 2 * elen + 1, in wifi_display_subelem_hex()
Dnan_usd.c250 wpa_snprintf_hex(ssi_hex, 2 * ssi_len + 1, ssi, ssi_len); in wpas_nan_de_discovery_result()
272 wpa_snprintf_hex(ssi_hex, 2 * ssi_len + 1, ssi, ssi_len); in wpas_nan_de_replied()
330 wpa_snprintf_hex(ssi_hex, 2 * ssi_len + 1, ssi, ssi_len); in wpas_nan_de_receive()
Dctrl_iface_udp.c208 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
610 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
Dwpas_glue.c108 wpa_snprintf_hex(hex, hex_len, buf, len); in wpa_ether_send()
1158 wpa_snprintf_hex(str, len * 2 + 1, id, len); in wpa_supplicant_set_anon_id()
1290 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
Dconfig.c162 wpa_snprintf_hex(buf, 2 * len + 1, value, len); in wpa_config_write_string_hex()
1921 wpa_snprintf_hex(buf + 5, 32 + 1, ssid->eap.password, 16); in wpa_config_write_password()
1958 wpa_snprintf_hex(buf + 5, 32 + 1, ssid->eap.machine_password, 16); in wpa_config_write_machine_password()
4305 wpa_snprintf_hex(buf, buflen, cred->home_ois[0], in wpa_config_get_cred_no_key()
4321 wpa_snprintf_hex(buf, buflen, cred->required_home_ois[0], in wpa_config_get_cred_no_key()
4341 pos += wpa_snprintf_hex( in wpa_config_get_cred_no_key()
4366 pos += wpa_snprintf_hex( in wpa_config_get_cred_no_key()
4391 pos += wpa_snprintf_hex( in wpa_config_get_cred_no_key()
Dp2p_supplicant_sd.c707 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len); in wpas_sd_request()
912 wpa_snprintf_hex(buf, buf_len, tlvs, tlvs_len); in wpas_sd_response()
Deapol_test.c522 wpa_snprintf_hex(cert_hex, len, wpabuf_head(cert->cert), in eapol_test_cert_cb()
563 wpa_snprintf_hex(str, len * 2 + 1, id, len); in eapol_test_set_anon_id()
/hostap-latest/src/eap_server/
Deap_sim_db.c269 pos += wpa_snprintf_hex(pos, end - pos, mk, EAP_SIM_MK_LEN); in db_add_reauth()
275 pos += wpa_snprintf_hex(pos, end - pos, k_encr, in db_add_reauth()
282 pos += wpa_snprintf_hex(pos, end - pos, k_aut, in db_add_reauth()
289 pos += wpa_snprintf_hex(pos, end - pos, k_re, in db_add_reauth()
1027 wpa_snprintf_hex(pos, end - pos, buf, sizeof(buf)); in eap_sim_db_get_next()
1524 len += wpa_snprintf_hex(msg + len, sizeof(msg) - len, in eap_sim_db_resynchronize()
1530 len += wpa_snprintf_hex(msg + len, sizeof(msg) - len, in eap_sim_db_resynchronize()
/hostap-latest/src/common/
Dptksa_cache.c197 ret = wpa_snprintf_hex(pos, buf + len - pos, e->ptk.tk, in ptksa_cache_list()
208 ret = wpa_snprintf_hex(pos, buf + len - pos, e->ptk.kdk, in ptksa_cache_list()
/hostap-latest/wlantest/
Drx_data.c314 wpa_snprintf_hex(pn_hex, sizeof(pn_hex), pn, 6); in rx_data_bss_prot_group()
315 wpa_snprintf_hex(rsc_hex, sizeof(rsc_hex), bss->rsc[keyid], 6); in rx_data_bss_prot_group()
358 wpa_snprintf_hex(gtk, sizeof(gtk), bss->gtk[keyid], in rx_data_bss_prot_group()
616 wpa_snprintf_hex(pn_hex, sizeof(pn_hex), pn, 6); in rx_data_bss_prot()
617 wpa_snprintf_hex(rsc_hex, sizeof(rsc_hex), rsc, 6); in rx_data_bss_prot()
Dwlantest.c343 wpa_snprintf_hex(tk_hex, sizeof(tk_hex), tk, tk_len); in write_decrypted_note()
/hostap-latest/src/fst/
Dfst_ctrl_iface.c587 return wpa_snprintf_hex(buf, buflen, wpabuf_head(mbies), in get_peer_mbies()
678 ret += wpa_snprintf_hex(buf + ret, buflen - ret, in print_band()
/hostap-latest/src/utils/
Dutils_module_tests.c379 if (wpa_snprintf_hex(buf, 0, addr, ETH_ALEN) != 0 || in common_tests()
380 wpa_snprintf_hex(buf, 3, addr, ETH_ALEN) != 2) in common_tests()
/hostap-latest/src/radius/
Dradius_server.c868 wpa_snprintf_hex(hash_txt, sizeof(hash_txt), hash, in radius_server_sim_provisioning_session()
949 len = wpa_snprintf_hex(buf, sizeof(buf), in radius_server_encapsulate_eap()
961 len = wpa_snprintf_hex( in radius_server_encapsulate_eap()
1051 wpa_snprintf_hex((char *) pos, 2 * HS20_MOBILE_ID_HASH_LEN + 1, in radius_server_encapsulate_eap()

123