Searched refs:P2PS_HASH_LEN (Results 1 – 5 of 5) sorted by relevance
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_build.c | 355 wpabuf_put_le16(buf, p2p->p2ps_seek_count * P2PS_HASH_LEN); in p2p_buf_add_service_hash() 357 p2p->p2ps_seek_count * P2PS_HASH_LEN); in p2p_buf_add_service_hash() 359 p2p->p2ps_seek_hash, p2p->p2ps_seek_count * P2PS_HASH_LEN); in p2p_buf_add_service_hash() 414 if (os_memcmp(test, p2p->wild_card_hash, P2PS_HASH_LEN) == 0) in p2ps_wildcard_hash() 416 test += P2PS_HASH_LEN; in p2ps_wildcard_hash() 569 hash, hash_count * P2PS_HASH_LEN); in p2p_buf_add_service_instance() 574 tmp_buf = wpabuf_alloc(MAX_SVC_ADV_IE_LEN + 256 + P2PS_HASH_LEN); in p2p_buf_add_service_instance() 606 if (os_memcmp(test, adv->hash, P2PS_HASH_LEN) == 0 && in p2p_buf_add_service_instance() 616 test += P2PS_HASH_LEN; in p2p_buf_add_service_instance()
|
D | p2p_i.h | 516 u8 wild_card_hash[P2PS_HASH_LEN]; 518 u8 p2ps_seek_hash[P2P_MAX_QUERY_HASH * P2PS_HASH_LEN];
|
D | p2p.c | 1136 os_memcpy(hash, p2p->wild_card_hash, P2PS_HASH_LEN); in p2ps_gen_hash() 1155 os_memcpy(hash, buf, P2PS_HASH_LEN); in p2ps_gen_hash() 1203 u8 buf[P2PS_HASH_LEN]; in p2p_find() 1212 os_memcpy(&p2p->p2ps_seek_hash[count * P2PS_HASH_LEN], in p2p_find() 1213 buf, P2PS_HASH_LEN); in p2p_find() 1228 P2PS_HASH_LEN); in p2p_find() 2234 any_wfa = os_memcmp(hash, p2p->wild_card_hash, P2PS_HASH_LEN) == 0; in p2p_service_find_asp() 2238 if (os_memcmp(hash, adv_data->hash, P2PS_HASH_LEN) == 0) in p2p_service_find_asp() 2338 hash += P2PS_HASH_LEN; in p2p_reply_probe() 2695 u8 buf[P2PS_HASH_LEN]; in p2p_service_add_asp() [all …]
|
D | p2p.h | 22 #define P2PS_HASH_LEN 6 macro 235 u8 hash[P2PS_HASH_LEN];
|
D | p2p_parse.c | 285 if (len < P2PS_HASH_LEN) { in p2p_parse_attribute() 291 msg->service_hash_count = len / P2PS_HASH_LEN; in p2p_parse_attribute()
|