/external/wpa_supplicant_8/wpa_supplicant/ |
blacklist.c | 31 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) 101 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) {
|
offchannel.c | 26 if (os_memcmp(src, wpa_s->own_addr, ETH_ALEN) == 0) 34 if (os_memcmp(wpa_s->pending_action_src, 158 if (os_memcmp(dst, wpa_s->pending_action_dst, ETH_ALEN) != 0) { 166 os_memcmp(data + 24, wpabuf_head(wpa_s->pending_action_tx),
|
bss.c | 220 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && 222 os_memcmp(bss->ssid, ssid, ssid_len) == 0) 272 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) == 0) 283 os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) == 0 || 284 os_memcmp(bss->bssid, wpa_s->pending_bssid, ETH_ALEN) == 0; 414 os_memcmp(old_ie, new_ie, old_ie_len) == 0); 442 os_memcmp(old + 1, new + 1, old->ie_len) == 0) 639 os_memcmp(ssid + 2, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN) == 0) 709 os_memcmp(s->ssid, bss->ssid, bss->ssid_len) == 863 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 [all...] |
gas_query.c | 185 if (os_memcmp(q->addr, addr, ETH_ALEN) == 0 && 228 if (os_memcmp(dst, query->addr, ETH_ALEN) != 0) { 250 os_memcmp(addr, wpa_s->bssid, ETH_ALEN) != 0) 376 os_memcmp(adv_proto, wpabuf_head(query->adv_proto), 587 if (os_memcmp(dst, q->addr, ETH_ALEN) == 0 &&
|
bgscan_learn.c | 60 if (os_memcmp(array + i * ETH_ALEN, bssid, ETH_ALEN) == 0) 73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) 94 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) 477 os_memcmp(data->ssid->ssid, ie + 2, ie[1]) != 0)
|
ctrl_iface_udp.c | 107 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr, 154 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr, 273 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) { 591 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) {
|
/external/wpa_supplicant_8/src/ap/ |
eap_user_db.c | 119 os_memcmp(argv[id], user->identity, len) == 0 && 224 os_memcmp(identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN) == 0) { 233 os_memcmp(identity, WSC_ID_REGISTRAR, WSC_ID_REGISTRAR_LEN) == 0) { 253 os_memcmp(user->identity, identity, user->identity_len) == 261 os_memcmp(user->identity, identity, identity_len) == 0)
|
ap_list.c | 58 while (s != NULL && os_memcmp(s->addr, ap, ETH_ALEN) != 0) 103 if (os_memcmp(s->addr, ap->addr, ETH_ALEN) == 0) { 109 os_memcmp(s->hnext->addr, ap->addr, ETH_ALEN) != 0)
|
pmksa_cache_auth.c | 370 os_memcmp(entry->spa, spa, ETH_ALEN) == 0) && 372 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0)) 399 if (os_memcmp(entry->spa, spa, ETH_ALEN) != 0) 403 if (os_memcmp(new_pmkid, pmkid, PMKID_LEN) == 0)
|
wpa_auth_ft.c | 237 if (os_memcmp(r0->spa, spa, ETH_ALEN) == 0 && 287 if (os_memcmp(r1->spa, spa, ETH_ALEN) == 0 && 829 os_memcmp(mdie->mobility_domain, 1026 os_memcmp(mdie->mobility_domain, 1039 if (os_memcmp(ftie->snonce, sm->SNonce, WPA_NONCE_LEN) != 0) { 1048 if (os_memcmp(ftie->anonce, sm->ANonce, WPA_NONCE_LEN) != 0) { 1170 if (os_memcmp(sta_addr, sm->addr, ETH_ALEN) != 0) { 1183 os_memcmp(target_ap, sm->wpa_auth->addr, ETH_ALEN) == 0) { [all...] |
/external/wpa_supplicant_8/src/wps/ |
ndef.c | 154 if (os_memcmp(record->type, wifi_handover_type, 180 if (os_memcmp(record->type, p2p_handover_type,
|
wps_enrollee.c | 494 if (os_memcmp(wps->nonce_e, e_nonce, WPS_NONCE_LEN) != 0) { 677 if (os_memcmp(wps->cred.mac_addr, wps->wps->dev.mac_addr, ETH_ALEN) != 776 if (os_memcmp(cred.mac_addr, wps->wps->dev.mac_addr, ETH_ALEN) != [all...] |
/external/wpa_supplicant_8/src/utils/ |
os_none.c | 147 int os_memcmp(const void *s1, const void *s2, size_t n) function
|
utils_module_tests.c | 55 os_memcmp(bin, test->data, binlen) != 0) { 63 os_memcmp(bin, test->data, binlen) != 0) { 198 else if (os_memcmp(test3, test3_res, len * sizeof(int)) != 0)
|
os.h | 356 * os_memcmp - Compare memory areas 364 int os_memcmp(const void *s1, const void *s2, size_t n); 504 #ifndef os_memcmp 505 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) macro 597 * does not behave like os_memcmp(), i.e., os_memcmp_const() cannot be used to 598 * sort items into a defined order. Unlike os_memcmp(), execution time of
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_dev_disc.c | 226 os_memcmp(sa, go->info.p2p_device_addr, ETH_ALEN) != 0) { 252 os_memcmp(p2p->pending_client_disc_addr, 254 os_memcmp(p2p->go_neg_peer->member_in_go_dev,
|
p2p_group.c | 579 if (os_memcmp(m->addr, addr, ETH_ALEN) == 0) 785 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0) 789 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0) 844 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0) 858 if (os_memcmp(interface_addr, m->addr, ETH_ALEN) == 0) 1011 if (os_memcmp(m->dev_addr, dev_addr, ETH_ALEN) == 0) 1024 if (os_memcmp(group_id, group->p2p->cfg->dev_addr, ETH_ALEN) != 0) 1026 return os_memcmp(group_id + ETH_ALEN, group->cfg->ssid,
|
/external/wpa_supplicant_8/src/drivers/ |
driver_roboswitch.c | 176 os_memcmp(buf, drv->own_addr, ETH_ALEN) == 0) 267 os_memcmp(read1, read2, 6) != 0) 301 if (os_memcmp(addr_read, addr_be16, 6) == 0 && ports_read == ports) { 307 if (os_memcmp(addr_read, addr_be16, 6) == 0 && 333 if (os_memcmp(addr_read, addr_be16, 6) == 0 &&
|
/external/wpa_supplicant_8/src/rsn_supp/ |
preauth.c | 62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 311 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && 371 if (os_memcmp(pos->bssid, bssid, ETH_ALEN) == 0) { 448 os_memcmp(ssid + 2, sm->ssid, sm->ssid_len) != 0) 451 if (os_memcmp(bssid, sm->bssid, ETH_ALEN) == 0)
|
tdls.c | 253 if (os_memcmp(peer->addr, dest, ETH_ALEN) == 0) 395 if (os_memcmp(peer->inonce, peer->rnonce, WPA_NONCE_LEN) < 0) { 416 if (os_memcmp(own_addr, peer->addr, ETH_ALEN) < 0) { 731 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 811 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 844 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 878 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 905 if (os_memcmp(peer->addr, src_addr, ETH_ALEN) == 0) 993 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) { [all...] |
pmksa_cache.c | 153 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) { 259 os_memcmp(pmk, entry->pmk, pmk_len) == 0))) { 317 if ((aa == NULL || os_memcmp(entry->aa, aa, ETH_ALEN) == 0) && 319 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) &&
|
peerkey.c | 440 if (os_memcmp(kde->smk + PMK_LEN, peerkey->pnonce, WPA_NONCE_LEN) != 0) 447 if (os_memcmp(kde->nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { 476 if (os_memcmp(key->key_nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) { 482 if (os_memcmp(kde->smk + PMK_LEN, peerkey->inonce, WPA_NONCE_LEN) != 0) 542 if (os_memcmp(peerkey->addr, kde.mac_addr, ETH_ALEN) == 0 && 543 os_memcmp(peerkey->initiator ? peerkey->inonce : 637 if (os_memcmp(peerkey->addr, kde.mac_addr, ETH_ALEN) == 788 os_memcmp(kde.rsn_ie, peerkey->rsnie_p, kde.rsn_ie_len) != 0) { 831 os_memcmp(kde.rsn_ie, peerkey->rsnie_i, kde.rsn_ie_len) != 0) { 843 if (os_memcmp(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN) != 0) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_gtc.c | 64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) {
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gpsk.c | 297 os_memcmp(pos, sm->server_id, alen) != 0) { 322 if (os_memcmp(data->rand_server, pos, EAP_GPSK_RAND_LEN) != 0) { 349 os_memcmp(pos, data->csuite_list, alen) != 0) { 365 if (os_memcmp(csuite, &data->csuite_list[i], sizeof(*csuite))
|
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_key.c | 23 if (os_memcmp(mac1, mac2, ETH_ALEN) < 0) {
|