Searched refs:P2PS_HASH_LEN (Results 1 – 5 of 5) sorted by relevance
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_build.c | 394 wpabuf_put_le16(buf, p2p->p2ps_seek_count * P2PS_HASH_LEN); in p2p_buf_add_service_hash() 396 p2p->p2ps_seek_count * P2PS_HASH_LEN); in p2p_buf_add_service_hash() 398 p2p->p2ps_seek_hash, p2p->p2ps_seek_count * P2PS_HASH_LEN); in p2p_buf_add_service_hash() 453 if (os_memcmp(test, p2p->wild_card_hash, P2PS_HASH_LEN) == 0) in p2ps_wildcard_hash() 455 test += P2PS_HASH_LEN; in p2ps_wildcard_hash() 608 hash, hash_count * P2PS_HASH_LEN); in p2p_buf_add_service_instance() 613 tmp_buf = wpabuf_alloc(MAX_SVC_ADV_IE_LEN + 256 + P2PS_HASH_LEN); in p2p_buf_add_service_instance() 645 if (os_memcmp(test, adv->hash, P2PS_HASH_LEN) == 0 && in p2p_buf_add_service_instance() 655 test += P2PS_HASH_LEN; in p2p_buf_add_service_instance()
|
D | p2p_parse.c | 296 if (len < P2PS_HASH_LEN) { in p2p_parse_attribute() 302 msg->service_hash_count = len / P2PS_HASH_LEN; in p2p_parse_attribute()
|
D | p2p_i.h | 532 u8 wild_card_hash[P2PS_HASH_LEN]; 534 u8 p2ps_seek_hash[P2P_MAX_QUERY_HASH * P2PS_HASH_LEN];
|
D | p2p.c | 1135 os_memcpy(hash, p2p->wild_card_hash, P2PS_HASH_LEN); in p2ps_gen_hash() 1154 os_memcpy(hash, buf, P2PS_HASH_LEN); in p2ps_gen_hash() 1201 u8 buf[P2PS_HASH_LEN]; in p2p_find() 1210 os_memcpy(&p2p->p2ps_seek_hash[count * P2PS_HASH_LEN], in p2p_find() 1211 buf, P2PS_HASH_LEN); in p2p_find() 1226 P2PS_HASH_LEN); in p2p_find() 2317 any_wfa = os_memcmp(hash, p2p->wild_card_hash, P2PS_HASH_LEN) == 0; in p2p_service_find_asp() 2321 if (os_memcmp(hash, adv_data->hash, P2PS_HASH_LEN) == 0) in p2p_service_find_asp() 2419 hash += P2PS_HASH_LEN; in p2p_reply_probe() 2745 u8 buf[P2PS_HASH_LEN]; in p2p_service_add_asp() [all …]
|
D | p2p.h | 22 #define P2PS_HASH_LEN 6 macro 284 u8 hash[P2PS_HASH_LEN];
|