/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_web.c | 235 xml_data_encode(buf, s, os_strlen(s)); in format_wps_device_xml() 334 extra_len += os_strlen(iface->wps->friendly_name); in web_connection_parse_get() 336 extra_len += os_strlen(iface->wps->manufacturer_url); in web_connection_parse_get() 338 extra_len += os_strlen(iface->wps->model_description); in web_connection_parse_get() 340 extra_len += os_strlen(iface->wps->model_url); in web_connection_parse_get() 342 extra_len += os_strlen(iface->wps->upc); in web_connection_parse_get() 346 extra_len = os_strlen(wps_scpd_xml); in web_connection_parse_get() 406 os_memcpy(put_length_here, len_buf, os_strlen(len_buf)); in web_connection_parse_get() 445 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info() 706 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply() [all …]
|
D | upnp_xml.c | 164 xml_data_encode(buf, data, os_strlen(data)); in xml_add_tagged_data() 193 int match_len = os_strlen(item); in xml_get_first_item() 238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len); in xml_get_base64_item()
|
D | http_client.c | 261 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url() 341 len = os_strlen(url) + 1 + os_strlen(base) + 1; in http_link_update() 352 os_memcpy(n + (pos - base), url, os_strlen(url) + 1); in http_link_update() 360 os_memcpy(n + (pos - base) + 1, url, os_strlen(url) + in http_link_update()
|
D | ndef.c | 150 if (record->type_length != os_strlen(wifi_handover_type)) in wifi_filter() 153 os_strlen(wifi_handover_type)) != 0) in wifi_filter() 169 os_strlen(wifi_handover_type), NULL, 0, buf); in ndef_build_wifi()
|
D | wps_dev_attr.c | 21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; in wps_build_manufacturer() 45 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name() 69 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number() 94 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number() 164 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name()
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | wpa_passphrase.c | 56 if (os_strlen(passphrase) < 8 || os_strlen(passphrase) > 63) { in main() 61 pbkdf2_sha1(passphrase, ssid, os_strlen(ssid), 4096, psk, 32); in main()
|
D | wpa_cli.c | 150 flen = os_strlen(ctrl_iface_dir) + os_strlen(ifname) + 2; in wpa_cli_open_connection() 212 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 1427 len = os_strlen(cmd); in cmd_has_sensitive_data() 1430 if (os_strncasecmp(cmd, c, len) == 0 && len == os_strlen(c)) in cmd_has_sensitive_data() 1448 if (os_strncasecmp(cmd->cmd, argv[0], os_strlen(argv[0])) == 0) in wpa_request() 1466 os_strlen(argv[0])) == 0) { in wpa_request() 1477 if( os_strncasecmp( "level", argv[0], os_strlen(argv[0]) ) == 0 ) { in wpa_request() 1489 return os_strncmp(a, b, os_strlen(b)) == 0; in str_match() 1501 len = os_strlen(program) + os_strlen(arg1) + os_strlen(arg2) + 3; in wpa_cli_exec() 1651 len = os_strlen(text); in wpa_cli_cmd_gen() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_passphrase.c | 50 if (os_strlen(passphrase) < 8 || os_strlen(passphrase) > 63) { in main() 55 pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32); in main()
|
D | wpa_cli.c | 178 end = txt + os_strlen(txt); in cli_txt_list_del_word() 228 end = txt + os_strlen(txt); in cli_txt_list_add_word() 283 return os_strncmp(src, match, os_strlen(match)) == 0; in str_starts() 335 flen = os_strlen(ctrl_iface_dir) + os_strlen(ifname) + 2; in wpa_cli_open_connection() 438 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 813 buflen = 18 + os_strlen(argv[0]); in wpa_cli_cmd_wps_nfc_tag_read() 1573 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in wpa_ctrl_command_sta() 1941 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in wpa_ctrl_command_p2p_peer() 2737 len = os_strlen(cmd); in wpa_cli_edit_filter_history_cb() 2740 if (os_strncasecmp(cmd, c, len) == 0 && len == os_strlen(c)) in wpa_cli_edit_filter_history_cb() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps_upnp_web.c | 208 xml_data_encode(buf, data, os_strlen(data)); in xml_add_tagged_data() 238 int match_len = os_strlen(item); in upnp_get_first_document_item() 581 xml_data_encode(buf, s, os_strlen(s)); in format_wps_device_xml() 697 extra_len += os_strlen(sm->wps->friendly_name); in web_connection_parse_get() 699 extra_len += os_strlen(sm->wps->manufacturer_url); in web_connection_parse_get() 701 extra_len += os_strlen(sm->wps->model_description); in web_connection_parse_get() 703 extra_len += os_strlen(sm->wps->model_url); in web_connection_parse_get() 705 extra_len += os_strlen(sm->wps->upc); in web_connection_parse_get() 709 extra_len = os_strlen(wps_scpd_xml); in web_connection_parse_get() 765 os_memcpy(put_length_here, len_buf, os_strlen(len_buf)); in web_connection_parse_get() [all …]
|
D | wps_dev_attr.c | 28 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; in wps_build_manufacturer() 51 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name() 74 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number() 97 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number() 133 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name()
|
D | wps_upnp.c | 353 alloc_len = (2 * (os_strlen(url) + 1)); in subscr_addr_add_url() 360 mem += 1 + os_strlen(mem); in subscr_addr_add_url() 366 path = domain_and_port + os_strlen(domain_and_port); in subscr_addr_add_url() 518 buf_size += os_strlen(format_head); in upnp_wps_device_send_event() 519 buf_size += 50 + 2 * os_strlen("WLANEvent"); in upnp_wps_device_send_event() 521 buf_size += os_strlen(sm->wlanevent); in upnp_wps_device_send_event() 522 buf_size += os_strlen(format_tail); in upnp_wps_device_send_event() 714 buf = wpabuf_alloc(500 + os_strlen(wlan_event)); in subscription_first_event()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_cred.c | 89 plen = os_strlen(tag); in search_tag() 120 pos += os_strlen(pem_cert_begin); in tlsv1_add_cert() 144 end += os_strlen(pem_cert_end); in tlsv1_add_cert() 236 pos += os_strlen(pem_key2_begin); in tlsv1_set_key_pem() 242 pos += os_strlen(pem_key_begin); in tlsv1_set_key_pem() 277 pos += os_strlen(pem_key_enc_begin); in tlsv1_set_key_enc_pem() 447 pos += os_strlen(pem_dhparams_begin); in tlsv1_set_dhparams_blob()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_mschapv2.c | 114 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + os_strlen(name); in eap_mschapv2_build_challenge() 136 wpabuf_put_data(req, name, os_strlen(name)); in eap_mschapv2_build_challenge() 152 os_strlen(message); in eap_mschapv2_build_success_req() 177 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_success_req() 195 ms_len = sizeof(*ms) + os_strlen(message); in eap_mschapv2_build_failure_req() 210 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_failure_req() 213 (u8 *) message, os_strlen(message)); in eap_mschapv2_build_failure_req()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_mschapv2.c | 119 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + os_strlen(name); in eap_mschapv2_build_challenge() 141 wpabuf_put_data(req, name, os_strlen(name)); in eap_mschapv2_build_challenge() 157 os_strlen(message); in eap_mschapv2_build_success_req() 182 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_success_req() 200 ms_len = sizeof(*ms) + os_strlen(message); in eap_mschapv2_build_failure_req() 215 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_failure_req() 218 (u8 *) message, os_strlen(message)); in eap_mschapv2_build_failure_req()
|
/external/wpa_supplicant_8/src/utils/ |
D | edit.c | 51 for (i = 0; i < cmdbuf_len + 2 + (ps2 ? (int) os_strlen(ps2) : 0); i++) in edit_clear_line() 205 len = os_strlen(str); in history_add() 218 cmdbuf_len = cmdbuf_pos = os_strlen(history_curr->str); in history_use() 258 cmdbuf_len = cmdbuf_pos = os_strlen(currbuf); in history_next() 410 len = os_strlen(c[0]); in max_common_length() 870 size_t len = os_strlen(search_buf); in search_find() 922 cmdbuf_len = os_strlen(cmdbuf); in search_stop() 940 len = os_strlen(search_buf); in search_backspace() 960 len = os_strlen(search_buf); in search_char()
|
D | edit_readline.c | 51 len = os_strlen(text); in readline_completion_func() 131 size_t blen = os_strlen(ps) + 3; in edit_init()
|
D | os.h | 305 size_t os_strlen(const char *s); 442 #ifndef os_strlen 443 #define os_strlen(s) strlen(s) macro
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 79 if (*pos == '\0' || os_strlen(pos) > IFNAMSIZ) { in hostapd_config_read_vlan_file() 531 attr->val = wpabuf_alloc_copy(pos, os_strlen(pos)); in hostapd_parse_radius_attr() 534 len = os_strlen(pos); in hostapd_parse_radius_attr() 584 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 707 size_t len = os_strlen(val); in hostapd_config_read_wep() 1172 os_strlen(bss->nas_identifier) < 1 || in hostapd_config_check_bss() 1173 os_strlen(bss->nas_identifier) > FT_R0KH_ID_MAX_LEN)) { in hostapd_config_check_bss() 1265 size_t len = os_strlen(pos); in parse_roaming_consortium() 1306 clen = os_strlen(pos); in parse_lang_string() 1309 nlen = os_strlen(sep); in parse_lang_string() [all …]
|
D | ctrl_iface.c | 217 (u8 *) cmd, os_strlen(cmd)); in hostapd_ctrl_iface_wps_check_pin() 285 len = os_strlen(pos); in hostapd_ctrl_iface_wps_nfc_tag_read() 424 if (os_strlen(pin) > buflen) in hostapd_ctrl_iface_wps_ap_pin() 478 url_len = os_strlen(url); in hostapd_ctrl_iface_ess_disassoc() 981 len = os_strlen(hapd->conf->ctrl_interface) + in hostapd_ctrl_iface_path() 982 os_strlen(hapd->conf->iface) + 2; in hostapd_ctrl_iface_path() 1035 if (os_strlen(hapd->conf->ctrl_interface) + 1 + in hostapd_ctrl_iface_init() 1036 os_strlen(hapd->conf->iface) >= sizeof(addr.sun_path)) in hostapd_ctrl_iface_init() 1228 len = os_strlen(interface->global_iface_path) + in hostapd_global_ctrl_iface_path() 1229 os_strlen(interface->global_iface_name) + 2; in hostapd_global_ctrl_iface_path() [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | sha1-tlsprf.c | 49 MD5_len[1] = os_strlen(label); in tls_prf_sha1_md5() 56 SHA1_len[1] = os_strlen(label); in tls_prf_sha1_md5()
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | tlsv1_cred.c | 77 plen = os_strlen(tag); in search_tag() 108 pos += os_strlen(pem_cert_begin); in tlsv1_add_cert() 132 end += os_strlen(pem_cert_end); in tlsv1_add_cert() 363 pos += os_strlen(pem_dhparams_begin); in tlsv1_set_dhparams_blob()
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
D | os.h | 282 size_t os_strlen(const char *s); 412 #ifndef os_strlen 413 #define os_strlen(s) strlen(s) macro
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_util.c | 43 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { in vlan_add() 49 if ((os_strlen(vlan_if_name) + 1) > IFNAMSIZ) { in vlan_add()
|
D | accounting.c | 59 (u8 *) buf, os_strlen(buf))) { in accounting_msg() 90 len = os_strlen(sta->identity); in accounting_msg() 99 len = os_strlen(buf); in accounting_msg() 140 os_strlen(sta->radius_cui))) { in accounting_msg()
|