/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | blacklist.c | 31 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) 101 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) {
|
H A D | offchannel.c | 26 if (os_memcmp(src, wpa_s->own_addr, ETH_ALEN) == 0) { 30 os_memcmp(wpa_s->parent->own_addr, 55 if (os_memcmp(src, iface->own_addr, ETH_ALEN) == 0) 189 if (os_memcmp(dst, wpa_s->pending_action_dst, ETH_ALEN) != 0) { 197 os_memcmp(data + 24, wpabuf_head(wpa_s->pending_action_tx),
|
H A D | bss.c | 267 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && 269 os_memcmp(bss->ssid, ssid, ssid_len) == 0) 337 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) != 0)) 362 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) == 0) 377 os_memcmp(bss->ssid, wpa_s->current_bss->ssid, 382 (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) == 0 || 383 os_memcmp(bss->bssid, wpa_s->pending_bssid, ETH_ALEN) == 0); 521 os_memcmp(old_ie, new_ie, old_ie_len) == 0); 549 os_memcmp(old + 1, new_res + 1, old->ie_len) == 0) 788 os_memcmp(ssi [all...] |
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | crypto_internal-modexp.c | 23 if (os_memcmp(privkey, prime, prime_len) > 0) { 53 os_memcmp(pubkey, prime, prime_len) >= 0))
|
H A D | crypto_module_tests.c | 101 if (os_memcmp(out, iv_c, sizeof(iv_c)) != 0) { 112 if (os_memcmp(out, plaintext, sizeof(plaintext)) != 0) { 132 if (os_memcmp(out, iv_c_2, sizeof(iv_c_2)) != 0) { 143 if (os_memcmp(out, plaintext_2, sizeof(plaintext_2)) != 0) { 231 os_memcmp(result, tv->tag, 16) != 0) { 244 os_memcmp(result, tv->tag, 16) != 0) { 259 os_memcmp(result, tv->tag, 16) != 0) { 275 os_memcmp(result, result2, 16) != 0) { 319 if (os_memcmp(data, cipher, sizeof(data)) != 0) { 324 if (os_memcmp(ta [all...] |
/freebsd-11-stable/contrib/wpa/src/fst/ |
H A D | fst_iface.c | 59 if (os_memcmp(addr, a, ETH_ALEN) == 0)
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | pmksa_cache_auth.c | 483 os_memcmp(entry->spa, spa, ETH_ALEN) == 0) && 484 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) 490 os_memcmp(entry->spa, spa, ETH_ALEN) == 0) 517 if (os_memcmp(entry->spa, spa, ETH_ALEN) != 0) 521 if (os_memcmp(new_pmkid, pmkid, PMKID_LEN) == 0) 556 if (os_memcmp(attr->sta_addr, entry->spa, ETH_ALEN) != 0) 568 if (os_memcmp(attr->acct_multi_session_id, buf, 16) != 0) 576 os_memcmp(attr->cui, wpabuf_head(entry->cui), 585 os_memcmp(attr->user_name, entry->identity, 698 if (addr && os_memcmp(entr [all...] |
H A D | eap_user_db.c | 121 os_memcmp(argv[id], user->identity, len) == 0 && 240 os_memcmp(identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN) == 0) { 249 os_memcmp(identity, WSC_ID_REGISTRAR, WSC_ID_REGISTRAR_LEN) == 0) { 269 os_memcmp(user->identity, identity, user->identity_len) == 277 os_memcmp(user->identity, identity, identity_len) == 0)
|
H A D | 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)
|
H A D | neighbor_db.c | 26 if (os_memcmp(bssid, nr->bssid, ETH_ALEN) == 0 && 29 os_memcmp(ssid->ssid, nr->ssid.ssid,
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | ndef.c | 160 if (os_memcmp(record->type, wifi_handover_type, 186 if (os_memcmp(record->type, p2p_handover_type,
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | ctrl_iface_common.c | 47 if (os_memcmp(&in6_a->sin6_addr, &in6_b->sin6_addr, 62 os_memcmp(u_a->sun_path, u_b->sun_path,
|
H A D | common_module_tests.c | 373 os_memcmp(wpabuf_head(buf), local_commit, 384 if (os_memcmp(kck, sae.tmp->kck, SAE_KCK_LEN) != 0) { 389 if (os_memcmp(pmk, sae.pmk, SAE_PMK_LEN) != 0) { 394 if (os_memcmp(pmkid, sae.pmkid, SAE_PMKID_LEN) != 0) { 405 os_memcmp(wpabuf_head(buf), local_confirm,
|
H A D | gas_server.c | 216 os_memcmp(adv_proto + 1, handler->adv_proto_id, 297 os_memcmp(sa, response->dst, ETH_ALEN) != 0) 408 os_memcmp(dst, response->dst, ETH_ALEN) != 0)
|
/freebsd-11-stable/sys/dev/hptmv/ |
H A D | mv.c | 85 os_memcmp(const void *cs, const void *ct, unsigned len) function
|
H A D | global.h | 139 int HPTLIBAPI os_memcmp(const void *cs, const void *ct, unsigned len); 145 #define memcmp os_memcmp
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | os_none.c | 159 int os_memcmp(const void *s1, const void *s2, size_t n) function
|
H A D | os.h | 363 * os_memcmp - Compare memory areas 371 int os_memcmp(const void *s1, const void *s2, size_t n); 511 #ifndef os_memcmp 512 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) macro 610 * does not behave like os_memcmp(), i.e., os_memcmp_const() cannot be used to 611 * sort items into a defined order. Unlike os_memcmp(), execution time of
|
/freebsd-11-stable/contrib/wpa/src/p2p/ |
H A D | 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,
|
H A D | p2p_group.c | 582 if (os_memcmp(m->addr, addr, ETH_ALEN) == 0) 788 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0) 792 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0) 847 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0) 875 if (os_memcmp(interface_addr, m->addr, ETH_ALEN) == 0) 1041 if (os_memcmp(m->dev_addr, dev_addr, ETH_ALEN) == 0) 1054 if (os_memcmp(group_id, group->p2p->cfg->dev_addr, ETH_ALEN) != 0) 1056 return os_memcmp(group_id + ETH_ALEN, group->cfg->ssid,
|
/freebsd-11-stable/contrib/wpa/src/rsn_supp/ |
H A D | preauth.c | 62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 327 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && 388 if (os_memcmp(pos->bssid, bssid, ETH_ALEN) == 0) { 477 os_memcmp(ssid + 2, sm->ssid, sm->ssid_len) != 0) 480 if (os_memcmp(bssid, sm->bssid, ETH_ALEN) == 0)
|
H A D | tdls.c | 279 if (os_memcmp(peer->addr, dest, ETH_ALEN) == 0) 422 if (os_memcmp(peer->inonce, peer->rnonce, WPA_NONCE_LEN) < 0) { 440 if (os_memcmp(own_addr, peer->addr, ETH_ALEN) < 0) { 762 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 849 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 882 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 918 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) 945 if (os_memcmp(peer->addr, src_addr, ETH_ALEN) == 0) 1040 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) { 1560 if (os_memcmp(s [all...] |
H A D | pmksa_cache.c | 185 if (os_memcmp(entry->aa, pos->aa, ETH_ALEN) == 0) { 295 os_memcmp(pmk, entry->pmk, pmk_len) == 0))) { 355 if ((aa == NULL || os_memcmp(entry->aa, aa, ETH_ALEN) == 0) && 357 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) && 439 os_memcmp(cache_id, entry->fils_cache_id,
|
/freebsd-11-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_gtc.c | 64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) {
|
/freebsd-11-stable/contrib/wpa/src/drivers/ |
H A D | driver_macsec_qca.c | 269 if (os_memcmp("eth2", ifname, 4) == 0) 271 else if (os_memcmp("eth3", ifname, 4) == 0) 307 if (os_memcmp("eth2", params->ifname, 4) == 0) 309 else if (os_memcmp("eth3", params->ifname, 4) == 0) 311 else if (os_memcmp("eth4", params->ifname, 4) == 0) 313 else if (os_memcmp("eth5", params->ifname, 4) == 0) 503 if (os_memcmp(&map[i].sci, sci,
|