Lines Matching refs:os_strlen
301 end = info + os_strlen(info); in dpp_parse_uri_info()
371 wpa_hexdump_ascii(MSG_DEBUG, "DPP: URI", uri, os_strlen(uri)); in dpp_parse_uri()
625 len += 3 + os_strlen(bi->chan); /* C:...; */ in dpp_gen_uri()
631 len += os_strlen(macstr); /* M:...; */ in dpp_gen_uri()
633 len += 3 + os_strlen(bi->info); /* I:...; */ in dpp_gen_uri()
637 len += 4 + os_strlen(bi->pk); /* K:...;; */ in dpp_gen_uri()
687 json_len = os_strlen(json); in dpp_build_conf_req_attr()
845 name_len = os_strlen(dpp_name); in dpp_build_conf_req_helper()
849 len += 10 + os_strlen(mud_url); in dpp_build_conf_req_helper()
903 return os_strlen(cmp) == len && os_memcmp(val, cmp, len) == 0; in bin_str_eq()
921 len = os_strlen(type); in dpp_configuration_alloc()
1044 conf->ssid_len = end ? (size_t) (end - pos) : os_strlen(pos); in dpp_configuration_parse_helper()
1075 pass_len = end ? (size_t) (end - pos) : os_strlen(pos); in dpp_configuration_parse_helper()
1099 group_id_len = end ? (size_t) (end - pos) : os_strlen(pos); in dpp_configuration_parse_helper()
1122 len = end ? (size_t) (end - pos) : os_strlen(pos); in dpp_configuration_parse_helper()
1215 len = os_strlen(cmd); in dpp_set_configurator()
1323 tailroom += os_strlen(auth->discovery_override); in dpp_build_conf_start()
1401 if (conf->passphrase && os_strlen(conf->passphrase) < 64) { in dpp_build_legacy_cred_params()
1403 os_strlen(conf->passphrase)); in dpp_build_legacy_cred_params()
1460 extra_len += os_strlen(auth->groups_override); in dpp_build_conf_obj_dpp()
1464 extra_len += os_strlen(conf->group_id); in dpp_build_conf_obj_dpp()
1529 tailroom += 2 * curve->prime_len * 4 / 3 + os_strlen(auth->conf->kid); in dpp_build_conf_obj_dpp()
1530 tailroom += os_strlen(signed_conn); in dpp_build_conf_obj_dpp()
1539 tailroom += os_strlen(auth->trusted_eap_server_name); in dpp_build_conf_obj_dpp()
1660 os_strlen(auth->config_obj_override)); in dpp_build_conf_obj()
1756 clear_len += 4 + os_strlen(auth->conf_sta->csrattrs); in dpp_build_conf_resp()
1830 wpabuf_put_le16(clear, os_strlen(auth->conf_sta->csrattrs)); in dpp_build_conf_resp()
2132 size_t len = os_strlen(pass->string); in dpp_parse_cred_legacy()
2146 if (os_strlen(psk_hex->string) != PMK_LEN * 2 || in dpp_parse_cred_legacy()
2259 if (os_strlen(timestamp) < 19) { in dpp_key_expired()
2537 token->string, os_strlen(token->string)); in dpp_parse_cred_dpp()
2609 os_strlen(name->string)))) { in dpp_parse_cred_dot1x()
2695 if (os_strlen(pos) < 8) in dpp_akm_from_str()
2785 token->string, os_strlen(token->string)); in dpp_parse_conf_obj()
2786 if (os_strlen(token->string) > SSID_MAX_LEN) { in dpp_parse_conf_obj()
2805 conf->ssid_len = os_strlen(token->string); in dpp_parse_conf_obj()
3903 privkey_len = os_strlen(key) / 2; in dpp_bootstrap_gen()
4190 privkey_len = os_strlen(key) / 2; in dpp_configurator_add()
4198 pp_key_len = os_strlen(ppkey) / 2; in dpp_configurator_add()