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.c1129 size_t i, adv_len; in p2ps_gen_hash() local
1140 adv_len = os_strlen(str); in p2ps_gen_hash()
1141 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash()
1144 for (i = 0; i < adv_len; i++) { in p2ps_gen_hash()
1151 if (sha256_vector(1, &adv_array, &adv_len, buf)) in p2ps_gen_hash()
2746 size_t adv_data_len, adv_len, info_len = 0; in p2p_service_add_asp() local
2763 adv_len = os_strlen(adv_str); in p2p_service_add_asp()
2764 adv_data_len = sizeof(struct p2ps_advertisement) + adv_len + 1 + in p2p_service_add_asp()
2776 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp()
2784 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp()