Home
last modified time | relevance | path

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

123

/hostap-3.7.0/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.c1225 wpa_snprintf_hex(hex, sizeof(hex), in hostapd_ctrl_iface_get_config()
1267 wpa_snprintf_hex(hex, sizeof(hex), ssid->wpa_psk->psk, in hostapd_ctrl_iface_get_config()
2606 return wpa_snprintf_hex(buf, buflen, pmksa->pmk, pmksa->pmk_len); in hostapd_ctrl_get_pmksa_pmk()
2634 return wpa_snprintf_hex(buf, buflen, pmk, pmk_len); in hostapd_ctrl_get_pmk()
2929 ret = wpa_snprintf_hex(buf, buflen, wpabuf_head_u8(reply), in hostapd_ctrl_iface_vendor()
4077 wpa_snprintf_hex(reply + 7, 2 * CTRL_IFACE_COOKIE_LEN + 1, in hostapd_ctrl_iface_receive()
4639 wpa_snprintf_hex(value, HOSTAPD_CLI_DUP_VALUE_MAX_LEN, in hostapd_ctrl_iface_dup_param()
4813 wpa_snprintf_hex(reply + 7, 2 * CTRL_IFACE_COOKIE_LEN + 1, in hostapd_global_ctrl_iface_receive()
/hostap-3.7.0/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()
Dpmksa_cache_auth.c657 pos += wpa_snprintf_hex(pos, buf + len - pos, entry->pmkid, in pmksa_cache_auth_list()
713 pos += wpa_snprintf_hex(pos, end - pos, entry->pmkid, in pmksa_cache_auth_list_mesh()
721 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()
Dctrl_iface_ap.c42 len += wpa_snprintf_hex(buf + len, buflen - len, mcs_set, 10); in hostapd_write_ht_mcs_bitmask()
330 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
368 len += wpa_snprintf_hex(buf + len, buflen - len, in hostapd_ctrl_iface_sta_mib()
Ddpp_hostapd.c1080 wpa_snprintf_hex(hex, sizeof(hex), in hostapd_dpp_handle_config_obj()
1088 wpa_snprintf_hex(hex, sizeof(hex), conf->psk, PMK_LEN); in hostapd_dpp_handle_config_obj()
1099 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
1114 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
Drrm.c88 if (wpa_snprintf_hex(report, sizeof(report), pos, len) < 0) in hostapd_handle_beacon_report()
/hostap-3.7.0/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()
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()
1136 wpa_snprintf_hex(str, len * 2 + 1, id, len); in wpa_supplicant_set_anon_id()
1250 wpa_snprintf_hex(hex, hexlen, pkt, pkt_len); in wpa_supplicant_fils_hlp_rx()
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.c518 wpa_snprintf_hex(cert_hex, len, wpabuf_head(cert->cert), in eapol_test_cert_cb()
559 wpa_snprintf_hex(str, len * 2 + 1, id, len); in eapol_test_set_anon_id()
Dnotify.c824 wpa_snprintf_hex(cert_hex, len, wpabuf_head(cert->cert), in wpas_notify_certification()
Dconfig.c162 wpa_snprintf_hex(buf, 2 * len + 1, value, len); in wpa_config_write_string_hex()
1865 wpa_snprintf_hex(buf + 5, 32 + 1, ssid->eap.password, 16); in wpa_config_write_password()
1902 wpa_snprintf_hex(buf + 5, 32 + 1, ssid->eap.machine_password, 16); in wpa_config_write_machine_password()
4086 wpa_snprintf_hex(buf, buflen, cred->roaming_consortium, in wpa_config_get_cred_no_key()
4101 wpa_snprintf_hex(buf, buflen, cred->required_roaming_consortium, in wpa_config_get_cred_no_key()
4122 pos += wpa_snprintf_hex( in wpa_config_get_cred_no_key()
/hostap-3.7.0/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-3.7.0/src/common/
Dptksa_cache.c192 ret = wpa_snprintf_hex(pos, buf + len - pos, e->ptk.tk, in ptksa_cache_list()
203 ret = wpa_snprintf_hex(pos, buf + len - pos, e->ptk.kdk, in ptksa_cache_list()
/hostap-3.7.0/wlantest/
Drx_data.c312 wpa_snprintf_hex(pn_hex, sizeof(pn_hex), pn, 6); in rx_data_bss_prot_group()
313 wpa_snprintf_hex(rsc_hex, sizeof(rsc_hex), bss->rsc[keyid], 6); in rx_data_bss_prot_group()
354 wpa_snprintf_hex(gtk, sizeof(gtk), bss->gtk[keyid], in rx_data_bss_prot_group()
589 wpa_snprintf_hex(pn_hex, sizeof(pn_hex), pn, 6); in rx_data_bss_prot()
590 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-3.7.0/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-3.7.0/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()
Dcommon.h513 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len);
/hostap-3.7.0/src/radius/
Dradius_server.c868 wpa_snprintf_hex(hash_txt, sizeof(hash_txt), hash, in radius_server_sim_provisioning_session()
944 len = wpa_snprintf_hex(buf, sizeof(buf), in radius_server_encapsulate_eap()
956 len = wpa_snprintf_hex( in radius_server_encapsulate_eap()
1046 wpa_snprintf_hex((char *) pos, 2 * HS20_MOBILE_ID_HASH_LEN + 1, in radius_server_encapsulate_eap()
/hostap-3.7.0/src/eap_peer/
Deap_aka.c177 pos += wpa_snprintf_hex(pos, end - pos, data->rand, EAP_AKA_RAND_LEN); in eap_aka_ext_sim_req()
179 wpa_snprintf_hex(pos, end - pos, data->autn, EAP_AKA_AUTN_LEN); in eap_aka_ext_sim_req()

123