/hostap-latest/src/utils/ |
D | uuid.c | 50 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) in uuid_bin2str() argument 53 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-" in uuid_bin2str() 59 if (os_snprintf_error(max_len, len)) in uuid_bin2str()
|
D | json.c | 68 size_t max_len, buf_len; in json_parse_string() local 73 max_len = end - pos + 1; in json_parse_string() 74 buf_len = max_len > 10 ? 10 : max_len; in json_parse_string() 82 if (buf_len < max_len && s_end - spos < 3) { in json_parse_string() 88 if (buf_len > max_len) in json_parse_string() 89 buf_len = max_len; in json_parse_string()
|
D | uuid.h | 15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
|
D | ip_addr.h | 19 u8 max_len[16]; member
|
/hostap-latest/src/common/ |
D | gas_server.c | 96 size_t max_len = (response->freq > 56160) ? 928 : 1400; in gas_server_send_resp() local 111 } else if (hdr_len + wpabuf_len(query_resp) > max_len) { in gas_server_send_resp() 272 size_t max_len = (response->freq > 56160) ? 928 : 1400; in gas_server_handle_rx_comeback_req() local 303 if (hdr_len + remaining > max_len) in gas_server_handle_rx_comeback_req() 304 resp_frag_len = max_len - hdr_len; in gas_server_handle_rx_comeback_req()
|
/hostap-latest/src/p2p/ |
D | p2p_sd.c | 426 size_t max_len; in p2p_sd_response() local 433 max_len = (freq > 56160) ? 928 : 1400; in p2p_sd_response() 436 if (wpabuf_len(resp_tlvs) > max_len) { in p2p_sd_response() 633 size_t frag_len, max_len; in p2p_rx_gas_comeback_req() local 662 max_len = (rx_freq > 56160) ? 928 : 1400; in p2p_rx_gas_comeback_req() 664 if (frag_len > max_len) { in p2p_rx_gas_comeback_req() 665 frag_len = max_len; in p2p_rx_gas_comeback_req()
|
D | p2p_utils.c | 460 unsigned int max_len) in p2p_channels_to_freqs() argument 464 if (!channels || max_len == 0) in p2p_channels_to_freqs() 471 if (idx + 1 == max_len) in p2p_channels_to_freqs() 477 if (idx + 1 == max_len) in p2p_channels_to_freqs()
|
D | p2p.h | 2077 int *freq_list, unsigned int max_len);
|
/hostap-latest/src/crypto/ |
D | ms_funcs.c | 113 size_t len, max_len; in nt_password_hash() local 115 max_len = sizeof(buf); in nt_password_hash() 116 if (utf8_to_ucs2(password, password_len, buf, max_len, &len) < 0) in nt_password_hash()
|
D | tls_wolfssl.c | 1708 size_t max_len) in wolfssl_get_appl_data() argument 1711 struct wpabuf *appl_data = wpabuf_alloc(max_len + 100); in wolfssl_get_appl_data() 2228 int tls_get_tls_unique(struct tls_connection *conn, u8 *buf, size_t max_len) in tls_get_tls_unique() argument 2236 len = wolfSSL_get_peer_finished(conn->ssl, buf, max_len); in tls_get_tls_unique() 2238 len = wolfSSL_get_finished(conn->ssl, buf, max_len); in tls_get_tls_unique() 2240 if (len == 0 || len > max_len) in tls_get_tls_unique()
|
D | tls.h | 672 int tls_get_tls_unique(struct tls_connection *conn, u8 *buf, size_t max_len);
|
D | tls_openssl.c | 4626 openssl_get_appl_data(struct tls_connection *conn, size_t max_len) in openssl_get_appl_data() argument 4631 appl_data = wpabuf_alloc(max_len + 100); in openssl_get_appl_data() 5259 size_t max_len = 0; in max_str_len() local 5264 if (len > max_len) in max_str_len() 5265 max_len = len; in max_str_len() 5268 return max_len; in max_str_len() 5983 int tls_get_tls_unique(struct tls_connection *conn, u8 *buf, size_t max_len) in tls_get_tls_unique() argument 5990 len = SSL_get_peer_finished(conn->ssl, buf, max_len); in tls_get_tls_unique() 5992 len = SSL_get_finished(conn->ssl, buf, max_len); in tls_get_tls_unique() 5994 if (len == 0 || len > max_len) in tls_get_tls_unique()
|
/hostap-latest/src/eap_peer/ |
D | eap_teap_pac.h | 44 size_t max_len);
|
D | eap_fast_pac.h | 44 size_t max_len);
|
D | eap_teap_pac.c | 674 size_t max_len) in eap_teap_pac_list_truncate() argument 685 if (count > max_len) in eap_teap_pac_list_truncate() 691 if (count <= max_len || !prev) in eap_teap_pac_list_truncate()
|
D | eap_fast_pac.c | 670 size_t max_len) in eap_fast_pac_list_truncate() argument 681 if (count > max_len) in eap_fast_pac_list_truncate() 687 if (count <= max_len || prev == NULL) in eap_fast_pac_list_truncate()
|
D | eap.c | 176 size_t max_len, size_t *imsi_len, in eap_sm_append_3gpp_realm() argument 181 if (*imsi_len + 36 > max_len) { in eap_sm_append_3gpp_realm() 201 pos += os_snprintf(pos, imsi + max_len - pos, in eap_sm_append_3gpp_realm() 1867 int max_len; in eap_peer_finish() local 1935 max_len = end - start; in eap_peer_finish() 1937 if (max_len < 1 + (int) hash_len) { in eap_peer_finish()
|
/hostap-latest/src/ap/ |
D | wpa_auth.h | 543 size_t max_len, int auth_alg, 599 size_t current_len, size_t max_len, 623 u8 *pos, size_t max_len, 626 u8 *pos, size_t max_len,
|
D | wpa_auth_ie.c | 1416 u8 *pos, size_t max_len, in wpa_auth_write_assoc_resp_owe() argument 1428 if (max_len < conf->own_ie_override_len) in wpa_auth_write_assoc_resp_owe() 1438 res = wpa_write_rsn_ie(conf, pos, max_len, in wpa_auth_write_assoc_resp_owe() 1450 u8 *pos, size_t max_len, in wpa_auth_write_assoc_resp_fils() argument 1460 res = wpa_write_rsn_ie(&sm->wpa_auth->conf, pos, max_len, NULL); in wpa_auth_write_assoc_resp_fils()
|
D | beacon.c | 261 int max_len) in hostapd_eid_country() argument 264 u8 *end = eid + max_len; in hostapd_eid_country() 266 if (!hapd->iconf->ieee80211d || max_len < 6 || in hostapd_eid_country()
|
/hostap-latest/src/radius/ |
D | radius.c | 713 size_t buf_needed, max_len; in radius_msg_add_attr() local 740 max_len = 4096; in radius_msg_add_attr() 746 max_len = RADIUS_MAX_EXT_ATTR_LEN; in radius_msg_add_attr() 749 max_len = RADIUS_MAX_ATTR_LEN; in radius_msg_add_attr() 752 if (data_len > max_len) { in radius_msg_add_attr() 755 __func__, data_len, max_len); in radius_msg_add_attr()
|
/hostap-latest/src/eap_server/ |
D | eap_server.c | 806 int max_len; in SM_STATE() local 898 max_len = end - start; in SM_STATE() 899 if (max_len < in SM_STATE() 940 if (!hash_len && max_len >= 1 + 32 && in SM_STATE()
|
/hostap-latest/hostapd/ |
D | ctrl_iface.c | 268 size_t max_len) in hostapd_ctrl_iface_wps_nfc_config_token() argument 285 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in hostapd_ctrl_iface_wps_nfc_config_token() 297 char *reply, size_t max_len, in hostapd_ctrl_iface_wps_nfc_token_gen() argument 307 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in hostapd_ctrl_iface_wps_nfc_token_gen() 320 size_t max_len) in hostapd_ctrl_iface_wps_nfc_token() argument 324 max_len, 0); in hostapd_ctrl_iface_wps_nfc_token() 328 max_len, 1); in hostapd_ctrl_iface_wps_nfc_token() 344 size_t max_len) in hostapd_ctrl_iface_nfc_get_handover_sel() argument 370 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in hostapd_ctrl_iface_nfc_get_handover_sel()
|
/hostap-latest/wpa_supplicant/ |
D | ctrl_iface.c | 1551 struct wpa_supplicant *wpa_s, char *cmd, char *reply, size_t max_len) in wpa_supplicant_ctrl_iface_wps_nfc_config_token() argument 1572 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in wpa_supplicant_ctrl_iface_wps_nfc_config_token() 1584 struct wpa_supplicant *wpa_s, char *cmd, char *reply, size_t max_len) in wpa_supplicant_ctrl_iface_wps_nfc_token() argument 1601 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in wpa_supplicant_ctrl_iface_wps_nfc_token() 1649 char *reply, size_t max_len, in wpas_ctrl_nfc_get_handover_req_wps() argument 1659 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in wpas_ctrl_nfc_get_handover_req_wps() 1672 char *reply, size_t max_len, in wpas_ctrl_nfc_get_handover_req_p2p() argument 1684 res = wpa_snprintf_hex_uppercase(reply, max_len, wpabuf_head(buf), in wpas_ctrl_nfc_get_handover_req_p2p() 1698 size_t max_len) in wpas_ctrl_nfc_get_handover_req() argument 1719 wpa_s, reply, max_len, ndef); in wpas_ctrl_nfc_get_handover_req() [all …]
|
D | wnm_sta.c | 1703 const size_t max_len = 1000; in wnm_send_bss_transition_mgmt_query() local 1705 ret = wpabuf_resize(&buf, max_len); in wnm_send_bss_transition_mgmt_query() 1713 max_len); in wnm_send_bss_transition_mgmt_query()
|