Searched refs:os_memcmp (Results 1 - 25 of 146) sorted by relevance

123456

/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dblacklist.c31 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0)
101 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) {
H A Doffchannel.c26 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 Dbss.c267 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 Dcrypto_internal-modexp.c23 if (os_memcmp(privkey, prime, prime_len) > 0) {
53 os_memcmp(pubkey, prime, prime_len) >= 0))
H A Dcrypto_module_tests.c101 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 Dfst_iface.c59 if (os_memcmp(addr, a, ETH_ALEN) == 0)
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dpmksa_cache_auth.c483 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 Deap_user_db.c121 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 Dap_list.c58 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 Dneighbor_db.c26 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 Dndef.c160 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 Dctrl_iface_common.c47 if (os_memcmp(&in6_a->sin6_addr, &in6_b->sin6_addr,
62 os_memcmp(u_a->sun_path, u_b->sun_path,
H A Dcommon_module_tests.c373 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 Dgas_server.c216 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 Dmv.c85 os_memcmp(const void *cs, const void *ct, unsigned len) function
H A Dglobal.h139 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 Dos_none.c159 int os_memcmp(const void *s1, const void *s2, size_t n) function
H A Dos.h363 * 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 Dp2p_dev_disc.c226 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 Dp2p_group.c582 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 Dpreauth.c62 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 Dtdls.c279 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 Dpmksa_cache.c185 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 Deap_gtc.c64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) {
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_macsec_qca.c269 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,

Completed in 301 milliseconds

123456