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

12345

/freebsd-10.2-release/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.c25 if (os_memcmp(src, wpa_s->own_addr, ETH_ALEN) == 0)
33 if (os_memcmp(wpa_s->pending_action_src,
156 if (os_memcmp(dst, wpa_s->pending_action_dst, ETH_ALEN) != 0) {
H A Dbss.c218 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 &&
220 os_memcmp(bss->ssid, ssid, ssid_len) == 0)
260 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) == 0)
271 os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) == 0 ||
272 os_memcmp(bss->bssid, wpa_s->pending_bssid, ETH_ALEN) == 0;
400 os_memcmp(old_ie, new_ie, old_ie_len) == 0);
428 os_memcmp(old + 1, new + 1, old->ie_len) == 0)
591 os_memcmp(ssid + 2, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN) == 0)
650 os_memcmp(s->ssid, bss->ssid, bss->ssid_len) ==
820 if (os_memcmp(bs
[all...]
/freebsd-10.2-release/contrib/wpa/src/ap/
H A Deap_user_db.c117 os_memcmp(argv[id], user->identity, len) == 0 &&
220 os_memcmp(identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN) == 0) {
229 os_memcmp(identity, WSC_ID_REGISTRAR, WSC_ID_REGISTRAR_LEN) == 0) {
249 os_memcmp(user->identity, identity, user->identity_len) ==
257 os_memcmp(user->identity, identity, identity_len) == 0)
H A Dwpa_auth_ft.c230 if (os_memcmp(r0->spa, spa, ETH_ALEN) == 0 &&
231 os_memcmp(r0->pmk_r0_name, pmk_r0_name, WPA_PMK_NAME_LEN)
280 if (os_memcmp(r1->spa, spa, ETH_ALEN) == 0 &&
281 os_memcmp(r1->pmk_r1_name, pmk_r1_name, WPA_PMK_NAME_LEN)
306 os_memcmp(r0kh->id, r0kh_id, r0kh_id_len) == 0)
811 os_memcmp(mdie->mobility_domain,
995 if (os_memcmp(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) != 0)
1004 os_memcmp(mdie->mobility_domain,
1017 if (os_memcmp(ftie->snonce, sm->SNonce, WPA_NONCE_LEN) != 0) {
1026 if (os_memcmp(fti
[all...]
H A Dap_list.c58 while (s != NULL && os_memcmp(s->addr, ap, ETH_ALEN) != 0)
131 if (os_memcmp(s->addr, ap->addr, ETH_ALEN) == 0) {
137 os_memcmp(s->hnext->addr, ap->addr, ETH_ALEN) != 0)
H A Dpmksa_cache_auth.c370 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)
/freebsd-10.2-release/contrib/wpa/src/utils/
H A Dip_addr.c50 if (os_memcmp(&a->u.v6, &b->u.v6, sizeof(a->u.v6)) != 0)
H A Dos_none.c141 int os_memcmp(const void *s1, const void *s2, size_t n) function
H A Dos.h281 * os_memcmp - Compare memory areas
289 int os_memcmp(const void *s1, const void *s2, size_t n);
438 #ifndef os_memcmp
439 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) macro
/freebsd-10.2-release/contrib/wpa/src/rsn_supp/
H A Dtdls.c224 if (os_memcmp(peer->addr, dest, ETH_ALEN) == 0)
366 if (os_memcmp(peer->inonce, peer->rnonce, WPA_NONCE_LEN) < 0) {
387 if (os_memcmp(own_addr, peer->addr, ETH_ALEN) < 0) {
538 if (os_memcmp(mic, ftie->mic, 16) != 0) {
565 if (os_memcmp(mic, ftie->mic, 16) != 0) {
653 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0)
737 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0)
762 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0)
786 if (os_memcmp(peer->addr, src_addr, ETH_ALEN) == 0)
1279 if (os_memcmp(s
[all...]
H A Dwpa_ft.c395 if (os_memcmp(target_ap, sm->target_ap, ETH_ALEN) != 0) {
417 os_memcmp(mdie->mobility_domain, sm->mobility_domain,
429 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
444 os_memcmp(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) {
460 os_memcmp(parse.rsn_pmkid, sm->pmk_r0_name, WPA_PMK_NAME_LEN)) {
681 os_memcmp(mdie->mobility_domain, sm->mobility_domain,
693 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
702 if (os_memcmp(ftie->anonce, sm->anonce, WPA_NONCE_LEN) != 0) {
717 os_memcmp(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) {
732 if (os_memcmp(pars
[all...]
H A Dpmksa_cache.c153 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) {
155 os_memcmp(pos->pmk, pmk, pmk_len) == 0 &&
156 os_memcmp(pos->pmkid, entry->pmkid, PMKID_LEN) ==
304 if ((aa == NULL || os_memcmp(entry->aa, aa, ETH_ALEN) == 0) &&
306 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) &&
H A Dpreauth.c62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) {
309 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
369 if (os_memcmp(pos->bssid, bssid, ETH_ALEN) == 0) {
446 os_memcmp(ssid + 2, sm->ssid, sm->ssid_len) != 0)
449 if (os_memcmp(bssid, sm->bssid, ETH_ALEN) == 0)
H A Dpeerkey.c446 if (os_memcmp(kde->smk + PMK_LEN, peerkey->pnonce, WPA_NONCE_LEN) != 0)
453 if (os_memcmp(kde->nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) {
482 if (os_memcmp(key->key_nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) {
488 if (os_memcmp(kde->smk + PMK_LEN, peerkey->inonce, WPA_NONCE_LEN) != 0)
554 if (os_memcmp(peerkey->addr, kde.mac_addr, ETH_ALEN) == 0 &&
555 os_memcmp(peerkey->initiator ? peerkey->inonce :
651 if (os_memcmp(peerkey->addr, kde.mac_addr, ETH_ALEN) ==
692 if (os_memcmp(ie.pmkid, peerkey->smkid, PMKID_LEN) != 0) {
802 if (os_memcmp(kde.pmkid, peerkey->smkid, PMKID_LEN) != 0) {
809 os_memcmp(kd
[all...]
/freebsd-10.2-release/contrib/wpa/src/eap_peer/
H A Dmschapv2.c120 os_memcmp(auth_response, recv_response,
H A Deap_gtc.c64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) {
/freebsd-10.2-release/sys/dev/hptmv/
H A Dmv.c95 os_memcmp(const void *cs, const void *ct, unsigned len) function
/freebsd-10.2-release/contrib/wpa/src/eap_server/
H A Deap_server_gpsk.c305 os_memcmp(pos, data->id_server, alen) != 0) {
330 if (os_memcmp(data->rand_server, pos, EAP_GPSK_RAND_LEN) != 0) {
357 os_memcmp(pos, data->csuite_list, alen) != 0) {
373 if (os_memcmp(csuite, &data->csuite_list[i], sizeof(*csuite))
444 if (os_memcmp(mic, pos, miclen) != 0) {
513 if (os_memcmp(mic, pos, miclen) != 0) {
H A Deap_server_gtc.c133 os_memcmp(pos, sm->identity, sm->identity_len))) {
178 os_memcmp(pos, sm->user->password, rlen) != 0) {
/freebsd-10.2-release/contrib/wpa/src/p2p/
H A Dp2p_dev_disc.c242 os_memcmp(sa, go->info.p2p_device_addr, ETH_ALEN) != 0) {
272 os_memcmp(p2p->pending_client_disc_addr,
274 os_memcmp(p2p->go_neg_peer->member_in_go_dev,
H A Dp2p_group.c512 if (os_memcmp(m->addr, addr, ETH_ALEN) == 0)
707 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0)
711 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0)
766 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0)
780 if (os_memcmp(interface_addr, m->addr, ETH_ALEN) == 0)
936 if (os_memcmp(m->dev_addr, dev_addr, ETH_ALEN) == 0)
949 if (os_memcmp(group_id, group->p2p->cfg->dev_addr, ETH_ALEN) != 0)
951 return os_memcmp(group_id + ETH_ALEN, group->cfg->ssid,
/freebsd-10.2-release/contrib/wpa/src/eap_common/
H A Deap_ikev2_common.c113 if (os_memcmp(icv, end - icv_len, icv_len) != 0) {
/freebsd-10.2-release/contrib/wpa/src/crypto/
H A Dmilenage.c295 if (os_memcmp(rx_sqn, sqn, 6) <= 0) {
315 if (os_memcmp(mac_a, autn + 8, 8) != 0) {
/freebsd-10.2-release/contrib/wpa/src/wps/
H A Dwps_attr_process.c44 if (os_memcmp(hash, authenticator, WPS_AUTHENTICATOR_LEN) != 0) {
74 if (os_memcmp(hash, key_wrap_auth, WPS_KWA_LEN) != 0) {

Completed in 235 milliseconds

12345