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.c1138 size_t i, adv_len; in p2ps_gen_hash() local
1149 adv_len = os_strlen(str); in p2ps_gen_hash()
1150 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash()
1153 for (i = 0; i < adv_len; i++) { in p2ps_gen_hash()
1160 if (sha256_vector(1, &adv_array, &adv_len, buf)) in p2ps_gen_hash()
2761 size_t adv_data_len, adv_len, info_len = 0; in p2p_service_add_asp() local
2778 adv_len = os_strlen(adv_str); in p2p_service_add_asp()
2779 adv_data_len = sizeof(struct p2ps_advertisement) + adv_len + 1 + in p2p_service_add_asp()
2791 os_memcpy(adv_data->svc_name, adv_str, adv_len); in p2p_service_add_asp()
2799 adv_data->svc_info = &adv_data->svc_name[adv_len + 1]; in p2p_service_add_asp()