Home
last modified time | relevance | path

Searched refs:os_snprintf (Results 1 – 20 of 20) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_fast_pac.c509 ret = os_snprintf(*pos, end - *pos, "%s=", field); in eap_fast_write()
514 ret = os_snprintf(*pos, end - *pos, "\n"); in eap_fast_write()
520 ret = os_snprintf(*pos, end - *pos, "%s-txt=", field); in eap_fast_write()
525 ret = os_snprintf(*pos, end - *pos, "%c", data[i]); in eap_fast_write()
530 ret = os_snprintf(*pos, end - *pos, "\n"); in eap_fast_write()
583 ret = os_snprintf(*pos, *buf + *buf_len - *pos, in eap_fast_add_pac_data()
606 ret = os_snprintf(*pos, *buf + *buf_len - *pos, "END\n"); in eap_fast_add_pac_data()
638 ret = os_snprintf(pos, buf + buf_len - pos, "%s\n", pac_file_hdr); in eap_fast_save_pac()
Deap_ttls.c1584 ret = os_snprintf(buf + len, buflen - len, "EAP-%s\n", in eap_ttls_get_status()
1592 ret = os_snprintf(buf + len, buflen - len, "MSCHAP\n"); in eap_ttls_get_status()
1595 ret = os_snprintf(buf + len, buflen - len, "PAP\n"); in eap_ttls_get_status()
1598 ret = os_snprintf(buf + len, buflen - len, "CHAP\n"); in eap_ttls_get_status()
Deap_tls_common.c722 ret = os_snprintf(buf + len, buflen - len, in eap_peer_tls_status()
Deap_fast.c1712 ret = os_snprintf(buf + len, buflen - len, in eap_fast_get_status()
/hal_espressif-latest/components/wpa_supplicant/port/include/
Dos.h308 #ifndef os_snprintf
310 #define os_snprintf _snprintf macro
312 #define os_snprintf snprintf macro
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dpmksa_cache_auth.c417 ret = os_snprintf(pos, buf + len - pos, in pmksa_cache_auth_list()
425 ret = os_snprintf(pos, buf + len - pos, "%d " MACSTR " ", in pmksa_cache_auth_list()
432 ret = os_snprintf(pos, buf + len - pos, " %d %d\n", in pmksa_cache_auth_list()
Deap_user_db.c187 res = os_snprintf(cmd, sizeof(cmd), in eap_user_sqlite_get()
203 os_snprintf(cmd, sizeof(cmd), in eap_user_sqlite_get()
Dwps_hostapd.c482 os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%08u", pin); in hostapd_wps_ap_pin_random()
500 ret = os_snprintf(data.pin_txt, sizeof(data.pin_txt), "%s", pin); in hostapd_wps_ap_pin_set()
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dpmksa_cache.c465 ret = os_snprintf(pos, buf + len - pos, in pmksa_cache_list()
476 ret = os_snprintf(pos, buf + len - pos, "%d " MACSTR " ", in pmksa_cache_list()
483 ret = os_snprintf(pos, buf + len - pos, " %d %d\n", in pmksa_cache_list()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c1114 os_snprintf(s_factory_info->manufacturer, WPS_MAX_MANUFACTURER_LEN, "ESPRESSIF"); in wps_set_default_factory()
1115 os_snprintf(s_factory_info->model_name, WPS_MAX_MODEL_NUMBER_LEN, "ESPRESSIF IOT"); in wps_set_default_factory()
1116 os_snprintf(s_factory_info->model_number, WPS_MAX_MODEL_NAME_LEN, "%s", CONFIG_SOC_SERIES); in wps_set_default_factory()
1117os_snprintf(s_factory_info->device_name, WPS_MAX_DEVICE_NAME_LEN, "%s STATION", CONFIG_SOC_SERIES); in wps_set_default_factory()
1194 os_snprintf(dev->manufacturer, WPS_MAX_MANUFACTURER_LEN, "%s", s_factory_info->manufacturer); in wps_dev_init()
1201 os_snprintf(dev->model_name, WPS_MAX_MODEL_NAME_LEN, "%s", s_factory_info->model_name); in wps_dev_init()
1208 os_snprintf(dev->model_number, WPS_MAX_MODEL_NAME_LEN, "%s", s_factory_info->model_number); in wps_dev_init()
1215 os_snprintf(dev->device_name, WPS_MAX_DEVICE_NAME_LEN, "%s", s_factory_info->device_name); in wps_dev_init()
1222 os_snprintf(dev->serial_number, 16, "%02x%02x%02x%02x%02x%02x", in wps_dev_init()
1404 os_snprintf((char *)cfg->pin, 9, "%08d", spin); in wps_init_cfg_pin()
Desp_eap_client.c1162os_snprintf((char *) &config_for_supplicant, PHASE1_PARAM_STRING_LEN, "fast_provisioning=%d ", con… in esp_eap_client_set_fast_params()
1167 os_snprintf((char *) &config_for_supplicant + strlen(config_for_supplicant), in esp_eap_client_set_fast_params()
Desp_dpp.c638 os_snprintf(command, 1200, "type=qrcode mac=" MACSTR "%s%s%s%s%s", in esp_supp_dpp_bootstrap_gen()
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Djson.c53 txt += os_snprintf(txt, end - txt, "\\u%04x", in json_escape_string()
562 ret = os_snprintf(buf + len, buflen - len, "[%d:%s:%s]", in json_print_token()
Dcommon.c185 txt += os_snprintf(txt, end - txt, "\\x%02x", in printf_encode()
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dasn1.c363 ret = os_snprintf(pos, buf + len - pos, in asn1_oid_to_str()
Dx509v3.c505 ret = os_snprintf(pos, end - pos, "%s=%s, ", in x509_name_string()
521 ret = os_snprintf(pos, end - pos, "/emailAddress=%s", in x509_name_string()
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dtls_internal.c787 return os_snprintf(buf, buf_len, "internal"); in tls_get_library_version()
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_common.c506 ret = os_snprintf(buf, buf_len, "%u-%08X-%u", in wps_dev_type_bin2str()
Dwps_registrar.c3624 ret = os_snprintf(buf + len, buflen - len, in wps_registrar_get_info()
/hal_espressif-latest/components/wpa_supplicant/src/common/
Ddpp.c1461 res = os_snprintf(pos, end - pos, " %u", auth->freq[i]); in dpp_prepare_channel_list()
1496 os_snprintf(bi->uri, len + 1, "DPP:K:%s;;", pk); in dpp_autogen_bootstrap_key()
4070 os_snprintf(expiry, sizeof(expiry), in dpp_build_conf_obj_dpp()
6145 os_snprintf(bi->uri, len + 1, "DPP:%s%s%s%s%s%s%s%s%sK:%s;;", in dpp_bootstrap_gen()
6220 return os_snprintf(reply, reply_size, "type=%s\n" in dpp_get_bootstrap_info()