Home
last modified time | relevance | path

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

123

/freebsd/contrib/wpa/hostapd/
H A 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()
640 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->kc, 8); in sim_req_auth()
690 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8); in gsm_auth_req()
692 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4); in gsm_auth_req()
[all …]
H A 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()
H A 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()
2604 return wpa_snprintf_hex(buf, buflen, pmksa->pmk, pmksa->pmk_len); in hostapd_ctrl_get_pmksa_pmk()
2632 return wpa_snprintf_hex(buf, buflen, pmk, pmk_len); in hostapd_ctrl_get_pmk()
2927 ret = wpa_snprintf_hex(buf, buflen, wpabuf_head_u8(reply), in hostapd_ctrl_iface_vendor()
4071 wpa_snprintf_hex(reply + 7, 2 * CTRL_IFACE_COOKIE_LEN + 1, in hostapd_ctrl_iface_receive()
4633 wpa_snprintf_hex(value, HOSTAPD_CLI_DUP_VALUE_MAX_LEN, in hostapd_ctrl_iface_dup_param()
4807 wpa_snprintf_hex(reply + 7, 2 * CTRL_IFACE_COOKIE_LEN + 1, in hostapd_global_ctrl_iface_receive()
/freebsd/contrib/wpa/src/ap/
H A 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()
H A 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()
H A 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()
1233 wpa_snprintf_hex((char *) wps->network_key, 2 * PMK_LEN + 1, in hostapd_init_wps()
1285 wpa_snprintf_hex((char *) multi_ap_netw_key, in hostapd_init_wps()
1410 wpa_snprintf_hex((char *) multi_ap_backhaul_network_key, in hostapd_wps_update_multi_ap()
1483 wpa_snprintf_hex((char *) wps->network_key, 2 * PMK_LEN + 1, in hostapd_update_wps()
H A 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()
H A Ddpp_hostapd.c826 wpa_snprintf_hex(hex, sizeof(hex), in hostapd_dpp_handle_config_obj()
834 wpa_snprintf_hex(hex, sizeof(hex), conf->psk, PMK_LEN); in hostapd_dpp_handle_config_obj()
845 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
860 wpa_snprintf_hex(hex, hexlen, in hostapd_dpp_handle_config_obj()
H A Drrm.c88 if (wpa_snprintf_hex(report, sizeof(report), pos, len) < 0) in hostapd_handle_beacon_report()
/freebsd/contrib/wpa/wpa_supplicant/
H A 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()
H A Dctrl_iface_udp.c209 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
611 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
H A 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()
H A 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()
H A Ddpp_supplicant.c1467 wpa_snprintf_hex(hex, sizeof(hex), in wpas_dpp_handle_config_obj()
1475 wpa_snprintf_hex(hex, sizeof(hex), conf->psk, PMK_LEN); in wpas_dpp_handle_config_obj()
1486 wpa_snprintf_hex(hex, hexlen, in wpas_dpp_handle_config_obj()
1501 wpa_snprintf_hex(hex, hexlen, in wpas_dpp_handle_config_obj()
1515 wpa_snprintf_hex(hex, hexlen, in wpas_dpp_handle_config_obj()
H A 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()
H A Dnotify.c820 wpa_snprintf_hex(cert_hex, len, wpabuf_head(cert->cert), in wpas_notify_certification()
H A 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()
4085 wpa_snprintf_hex(buf, buflen, cred->roaming_consortium, in wpa_config_get_cred_no_key()
4100 wpa_snprintf_hex(buf, buflen, cred->required_roaming_consortium, in wpa_config_get_cred_no_key()
4121 pos += wpa_snprintf_hex( in wpa_config_get_cred_no_key()
/freebsd/contrib/wpa/src/eap_server/
H A 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()
/freebsd/contrib/wpa/src/common/
H A 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()
/freebsd/contrib/wpa/src/fst/
H A 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()
/freebsd/contrib/wpa/src/utils/
H A 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()
H A Dcommon.h489 int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len);
/freebsd/contrib/wpa/src/radius/
H A 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()
/freebsd/contrib/wpa/src/eap_peer/
H A 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()
/freebsd/contrib/wpa/src/rsn_supp/
H A Dpmksa_cache.c656 pos += wpa_snprintf_hex(pos, buf + len - pos, entry->pmkid, in pmksa_cache_list()

123