/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp_web.c | 232 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() 454 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info() 778 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply() [all …]
|
D | ndef.c | 158 record->type_length != os_strlen(wifi_handover_type)) in wifi_filter() 161 os_strlen(wifi_handover_type)) != 0) in wifi_filter() 177 os_strlen(wifi_handover_type), NULL, 0, buf); in ndef_build_wifi() 184 record->type_length != os_strlen(p2p_handover_type)) in p2p_filter() 187 os_strlen(p2p_handover_type)) != 0) in p2p_filter() 203 os_strlen(p2p_handover_type), NULL, 0, buf); in ndef_build_p2p()
|
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(msg, os_strlen(msg), &len); in xml_get_base64_item()
|
D | http_client.c | 255 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url() 335 len = os_strlen(url) + 1 + os_strlen(base) + 1; in http_link_update() 346 os_memcpy(n + (pos - base), url, os_strlen(url) + 1); in http_link_update() 354 os_memcpy(n + (pos - base) + 1, url, os_strlen(url) + in http_link_update()
|
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() 93 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number() 163 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp_web.c | 232 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() 454 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info() 778 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply() [all …]
|
D | ndef.c | 158 record->type_length != os_strlen(wifi_handover_type)) in wifi_filter() 161 os_strlen(wifi_handover_type)) != 0) in wifi_filter() 177 os_strlen(wifi_handover_type), NULL, 0, buf); in ndef_build_wifi() 184 record->type_length != os_strlen(p2p_handover_type)) in p2p_filter() 187 os_strlen(p2p_handover_type)) != 0) in p2p_filter() 203 os_strlen(p2p_handover_type), NULL, 0, buf); in ndef_build_p2p()
|
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 | 255 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url() 335 len = os_strlen(url) + 1 + os_strlen(base) + 1; in http_link_update() 346 os_memcpy(n + (pos - base), url, os_strlen(url) + 1); in http_link_update() 354 os_memcpy(n + (pos - base) + 1, url, os_strlen(url) + in http_link_update()
|
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() 93 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number() 163 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
D | fst_ctrl_iface.c | 26 if (os_strncmp(group_id, id, os_strlen(group_id)) == 0) in get_fst_group_by_id() 418 os_strlen(FST_CTR_SEND_SETUP_REQUEST))) { in test_request() 420 p + os_strlen(FST_CTR_SEND_SETUP_REQUEST)); in test_request() 422 os_strlen(FST_CTR_SEND_SETUP_RESPONSE))) { in test_request() 424 p + os_strlen(FST_CTR_SEND_SETUP_RESPONSE)); in test_request() 426 os_strlen(FST_CTR_SEND_ACK_REQUEST))) { in test_request() 428 p + os_strlen(FST_CTR_SEND_ACK_REQUEST)); in test_request() 430 os_strlen(FST_CTR_SEND_ACK_RESPONSE))) { in test_request() 432 p + os_strlen(FST_CTR_SEND_ACK_RESPONSE)); in test_request() 434 os_strlen(FST_CTR_SEND_TEAR_DOWN))) { in test_request() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
D | fst_ctrl_iface.c | 26 if (os_strncmp(group_id, id, os_strlen(group_id)) == 0) in get_fst_group_by_id() 418 os_strlen(FST_CTR_SEND_SETUP_REQUEST))) { in test_request() 420 p + os_strlen(FST_CTR_SEND_SETUP_REQUEST)); in test_request() 422 os_strlen(FST_CTR_SEND_SETUP_RESPONSE))) { in test_request() 424 p + os_strlen(FST_CTR_SEND_SETUP_RESPONSE)); in test_request() 426 os_strlen(FST_CTR_SEND_ACK_REQUEST))) { in test_request() 428 p + os_strlen(FST_CTR_SEND_ACK_REQUEST)); in test_request() 430 os_strlen(FST_CTR_SEND_ACK_RESPONSE))) { in test_request() 432 p + os_strlen(FST_CTR_SEND_ACK_RESPONSE)); in test_request() 434 os_strlen(FST_CTR_SEND_TEAR_DOWN))) { in test_request() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | wpa_passphrase.c | 51 len = os_strlen(passphrase); in main() 61 pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | wpa_passphrase.c | 51 len = os_strlen(passphrase); in main() 61 pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 | os_internal.c | 180 cwd_len = os_strlen(cwd); in os_rel2abs_path() 181 rel_len = os_strlen(rel_path); in os_rel2abs_path() 346 len = os_strlen(s); in os_strdup() 354 size_t os_strlen(const char *s) in os_strlen() function 482 size_t len = os_strlen(needle); in os_strstr()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | config.c | 17 size_t len = os_strlen(buf); in newline_terminated() 86 end = pos + os_strlen(pos) - 1; in wpa_config_get_line()
|
D | os_internal.c | 186 cwd_len = os_strlen(cwd); in os_rel2abs_path() 187 rel_len = os_strlen(rel_path); in os_rel2abs_path() 352 len = os_strlen(s); in os_strdup() 360 size_t os_strlen(const char *s) in os_strlen() function 488 size_t len = os_strlen(needle); in os_strstr()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
D | hlr_auc_gw.c | 317 if (!pos || os_strlen(pos) >= sizeof(g->imsi)) { in read_gsm_triplets() 326 if (!pos || os_strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) { in read_gsm_triplets() 334 if (!pos || os_strlen(pos) != 8 || in read_gsm_triplets() 343 if (!pos || os_strlen(pos) != 32 || in read_gsm_triplets() 429 if (!pos || os_strlen(pos) >= sizeof(m->imsi)) { in read_milenage() 438 if (!pos || os_strlen(pos) != 32 || in read_milenage() 447 if (!pos || os_strlen(pos) != 32 || in read_milenage() 456 if (!pos || os_strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) { in read_milenage() 464 if (!pos || os_strlen(pos) != 12 || in read_milenage() 921 if (sendto(s, resp, os_strlen(resp), 0, (struct sockaddr *) &from, in process()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
D | hlr_auc_gw.c | 317 if (!pos || os_strlen(pos) >= sizeof(g->imsi)) { in read_gsm_triplets() 326 if (!pos || os_strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) { in read_gsm_triplets() 334 if (!pos || os_strlen(pos) != 8 || in read_gsm_triplets() 343 if (!pos || os_strlen(pos) != 32 || in read_gsm_triplets() 429 if (!pos || os_strlen(pos) >= sizeof(m->imsi)) { in read_milenage() 438 if (!pos || os_strlen(pos) != 32 || in read_milenage() 447 if (!pos || os_strlen(pos) != 32 || in read_milenage() 456 if (!pos || os_strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) { in read_milenage() 464 if (!pos || os_strlen(pos) != 12 || in read_milenage() 921 if (sendto(s, resp, os_strlen(resp), 0, (struct sockaddr *) &from, in process()
|
D | sae_pk_gen.c | 94 data_len = os_strlen(argv[3]) + SAE_PK_M_LEN + wpabuf_len(pub); in main() 100 os_memcpy(data, argv[3], os_strlen(argv[3])); in main() 101 m = data + os_strlen(argv[3]); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp.c | 285 end = info + os_strlen(info); in dpp_parse_uri_info() 357 wpa_hexdump_ascii(MSG_DEBUG, "DPP: URI", uri, os_strlen(uri)); in dpp_parse_uri() 611 len += 3 + os_strlen(bi->chan); /* C:...; */ in dpp_gen_uri() 617 len += os_strlen(macstr); /* M:...; */ in dpp_gen_uri() 619 len += 3 + os_strlen(bi->info); /* I:...; */ in dpp_gen_uri() 623 len += 4 + os_strlen(bi->pk); /* K:...;; */ in dpp_gen_uri() 674 json_len = os_strlen(json); in dpp_build_conf_req_attr() 832 name_len = os_strlen(dpp_name); in dpp_build_conf_req_helper() 836 len += 10 + os_strlen(mud_url); in dpp_build_conf_req_helper() 890 return os_strlen(cmp) == len && os_memcmp(val, cmp, len) == 0; in bin_str_eq() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | sha1-tlsprf.c | 46 MD5_len[1] = os_strlen(label); in tls_prf_sha1_md5() 53 SHA1_len[1] = os_strlen(label); in tls_prf_sha1_md5()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | sha1-tlsprf.c | 46 MD5_len[1] = os_strlen(label); in tls_prf_sha1_md5() 53 SHA1_len[1] = os_strlen(label); in tls_prf_sha1_md5()
|