Searched refs:P2PS_HASH_LEN (Results 1 – 10 of 10) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/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.c | 1130 os_memcpy(hash, p2p->wild_card_hash, P2PS_HASH_LEN); in p2ps_gen_hash() 1149 os_memcpy(hash, buf, P2PS_HASH_LEN); in p2ps_gen_hash() 1196 u8 buf[P2PS_HASH_LEN]; in p2p_find() 1205 os_memcpy(&p2p->p2ps_seek_hash[count * P2PS_HASH_LEN], in p2p_find() 1206 buf, P2PS_HASH_LEN); in p2p_find() 1221 P2PS_HASH_LEN); in p2p_find() 2301 any_wfa = os_memcmp(hash, p2p->wild_card_hash, P2PS_HASH_LEN) == 0; in p2p_service_find_asp() 2305 if (os_memcmp(hash, adv_data->hash, P2PS_HASH_LEN) == 0) in p2p_service_find_asp() 2403 hash += P2PS_HASH_LEN; in p2p_reply_probe() 2729 u8 buf[P2PS_HASH_LEN]; in p2p_service_add_asp() [all …]
|
D | p2p_i.h | 521 u8 wild_card_hash[P2PS_HASH_LEN]; 523 u8 p2ps_seek_hash[P2P_MAX_QUERY_HASH * P2PS_HASH_LEN];
|
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.h | 22 #define P2PS_HASH_LEN 6 macro 282 u8 hash[P2PS_HASH_LEN];
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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_i.h | 521 u8 wild_card_hash[P2PS_HASH_LEN]; 523 u8 p2ps_seek_hash[P2P_MAX_QUERY_HASH * P2PS_HASH_LEN];
|
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.h | 22 #define P2PS_HASH_LEN 6 macro 284 u8 hash[P2PS_HASH_LEN];
|
D | p2p.c | 1134 os_memcpy(hash, p2p->wild_card_hash, P2PS_HASH_LEN); in p2ps_gen_hash() 1153 os_memcpy(hash, buf, P2PS_HASH_LEN); in p2ps_gen_hash() 1200 u8 buf[P2PS_HASH_LEN]; in p2p_find() 1209 os_memcpy(&p2p->p2ps_seek_hash[count * P2PS_HASH_LEN], in p2p_find() 1210 buf, P2PS_HASH_LEN); in p2p_find() 1225 P2PS_HASH_LEN); in p2p_find() 2321 any_wfa = os_memcmp(hash, p2p->wild_card_hash, P2PS_HASH_LEN) == 0; in p2p_service_find_asp() 2325 if (os_memcmp(hash, adv_data->hash, P2PS_HASH_LEN) == 0) in p2p_service_find_asp() 2423 hash += P2PS_HASH_LEN; in p2p_reply_probe() 2749 u8 buf[P2PS_HASH_LEN]; in p2p_service_add_asp() [all …]
|