Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/p2p/
Dp2p.c1130 size_t i, adv_len; in p2ps_gen_hash() local
1141 adv_len = os_strlen(str); in p2ps_gen_hash()
1142 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash()
1145 for (i = 0; str[i] && i < adv_len; i++) { in p2ps_gen_hash()
1152 if (sha256_vector(1, &adv_array, &adv_len, buf)) in p2ps_gen_hash()
2696 size_t adv_data_len, adv_len, info_len = 0; in p2p_service_add_asp() local
2712 adv_len = os_strlen(adv_str); in p2p_service_add_asp()
2713 adv_data_len = sizeof(struct p2ps_advertisement) + adv_len + 1 + in p2p_service_add_asp()
2725 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp()
2728 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp()