HomeSort by relevance Sort by last modified time
    Searched refs:os_memcmp (Results 1 - 25 of 131) sorted by null

1 2 3 4 5 6

  /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) {
bss.c 260 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 &&
262 os_memcmp(bss->ssid, ssid, ssid_len) == 0)
314 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) == 0)
329 os_memcmp(bss->ssid, wpa_s->current_bss->ssid,
334 (os_memcmp(bss->bssid, wpa_s->bssid, ETH_ALEN) == 0 ||
335 os_memcmp(bss->bssid, wpa_s->pending_bssid, ETH_ALEN) == 0);
466 os_memcmp(old_ie, new_ie, old_ie_len) == 0);
494 os_memcmp(old + 1, new_res + 1, old->ie_len) == 0)
697 os_memcmp(ssid + 2, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN) == 0)
772 os_memcmp(s->ssid, bss->ssid, bss->ssid_len) =
    [all...]
offchannel.c 26 if (os_memcmp(src, wpa_s->own_addr, ETH_ALEN) == 0)
34 if (os_memcmp(src, iface->own_addr, ETH_ALEN) == 0)
168 if (os_memcmp(dst, wpa_s->pending_action_dst, ETH_ALEN) != 0) {
176 os_memcmp(data + 24, wpabuf_head(wpa_s->pending_action_tx),
mesh_rsn.c 367 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) {
393 if (os_memcmp(sta->my_nonce, sta->peer_nonce, nonce_len) < 0) {
419 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) {
549 if (chosen_pmk && os_memcmp(chosen_pmk, sta->sae->pmkid, PMKID_LEN)) {
598 if (os_memcmp(ampe->peer_nonce, null_nonce, 32) != 0 &&
599 os_memcmp(ampe->peer_nonce, sta->my_nonce, 32) != 0) {
gas_query.c 194 if (os_memcmp(q->addr, addr, ETH_ALEN) == 0 &&
237 if (os_memcmp(dst, query->addr, ETH_ALEN) != 0) {
266 os_memcmp(addr, wpa_s->bssid, ETH_ALEN) != 0)
429 os_memcmp(adv_proto, wpabuf_head(query->adv_proto),
641 if (os_memcmp(dst, q->addr, ETH_ALEN) == 0 &&
  /external/wpa_supplicant_8/src/crypto/
crypto_module_tests.c 99 if (os_memcmp(out, iv_c, sizeof(iv_c)) != 0) {
109 if (os_memcmp(out, plaintext, sizeof(plaintext)) != 0) {
128 if (os_memcmp(out, iv_c_2, sizeof(iv_c_2)) != 0) {
138 if (os_memcmp(out, plaintext_2, sizeof(plaintext_2)) != 0) {
226 os_memcmp(result, tv->tag, 16) != 0) {
239 os_memcmp(result, tv->tag, 16) != 0) {
254 os_memcmp(result, tv->tag, 16) != 0) {
270 os_memcmp(result, result2, 16) != 0) {
314 if (os_memcmp(data, cipher, sizeof(data)) != 0) {
319 if (os_memcmp(tag, cipher + sizeof(data), AES_BLOCK_SIZE) != 0)
    [all...]
  /external/wpa_supplicant_8/src/fst/
fst_iface.c 59 if (os_memcmp(addr, a, ETH_ALEN) == 0)
  /external/wpa_supplicant_8/src/ap/
eap_user_db.c 119 os_memcmp(argv[id], user->identity, len) == 0 &&
232 os_memcmp(identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN) == 0) {
241 os_memcmp(identity, WSC_ID_REGISTRAR, WSC_ID_REGISTRAR_LEN) == 0) {
261 os_memcmp(user->identity, identity, user->identity_len) ==
269 os_memcmp(user->identity, identity, identity_len) == 0)
pmksa_cache_auth.c 428 os_memcmp(entry->spa, spa, ETH_ALEN) == 0) &&
429 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0)
435 os_memcmp(entry->spa, spa, ETH_ALEN) == 0)
462 if (os_memcmp(entry->spa, spa, ETH_ALEN) != 0)
466 if (os_memcmp(new_pmkid, pmkid, PMKID_LEN) == 0)
501 if (os_memcmp(attr->sta_addr, entry->spa, ETH_ALEN) != 0)
513 if (os_memcmp(attr->acct_multi_session_id, buf, 16) != 0)
521 os_memcmp(attr->cui, wpabuf_head(entry->cui),
530 os_memcmp(attr->user_name, entry->identity,
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)
wpa_auth_ft.c 238 if (os_memcmp(r0->spa, spa, ETH_ALEN) == 0 &&
288 if (os_memcmp(r1->spa, spa, ETH_ALEN) == 0 &&
829 os_memcmp(mdie->mobility_domain,
1025 os_memcmp(mdie->mobility_domain,
1038 if (os_memcmp(ftie->snonce, sm->SNonce, WPA_NONCE_LEN) != 0) {
1047 if (os_memcmp(ftie->anonce, sm->ANonce, WPA_NONCE_LEN) != 0) {
1171 if (os_memcmp(sta_addr, sm->addr, ETH_ALEN) != 0) {
1184 os_memcmp(target_ap, sm->wpa_auth->addr, ETH_ALEN) == 0) {
    [all...]
  /external/wpa_supplicant_8/src/common/
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,
  /external/wpa_supplicant_8/src/wps/
ndef.c 160 if (os_memcmp(record->type, wifi_handover_type,
186 if (os_memcmp(record->type, p2p_handover_type,
  /external/wpa_supplicant_8/src/utils/
os_none.c 153 int os_memcmp(const void *s1, const void *s2, size_t n) function
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
  /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 580 if (os_memcmp(m->addr, addr, ETH_ALEN) == 0)
786 if (os_memcmp(msg.device_id, group->p2p->cfg->dev_addr, ETH_ALEN) == 0)
790 if (os_memcmp(msg.device_id, m->dev_addr, ETH_ALEN) == 0)
845 if (os_memcmp(dev_id, m->dev_addr, ETH_ALEN) == 0)
859 if (os_memcmp(interface_addr, m->addr, ETH_ALEN) == 0)
1024 if (os_memcmp(m->dev_addr, dev_addr, ETH_ALEN) == 0)
1037 if (os_memcmp(group_id, group->p2p->cfg->dev_addr, ETH_ALEN) != 0)
1039 return os_memcmp(group_id + ETH_ALEN, group->cfg->ssid,
  /external/wpa_supplicant_8/src/drivers/
driver_roboswitch.c 178 os_memcmp(buf, drv->own_addr, ETH_ALEN) == 0)
269 os_memcmp(read1, read2, 6) != 0)
303 if (os_memcmp(addr_read, addr_be16, 6) == 0 && ports_read == ports) {
309 if (os_memcmp(addr_read, addr_be16, 6) == 0 &&
335 if (os_memcmp(addr_read, addr_be16, 6) == 0 &&
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_linux.c 170 os_memcmp(hash, l2->last_hash, SHA1_MAC_LEN) == 0) {
176 os_memcmp(hash, l2->last_hash_prev, SHA1_MAC_LEN) == 0) {
218 if (os_memcmp(ll.sll_addr, l2->own_addr, ETH_ALEN) == 0) {
227 os_memcmp(hash, l2->last_hash, SHA1_MAC_LEN) == 0) {
232 os_memcmp(hash, l2->last_hash_prev, SHA1_MAC_LEN) == 0) {
  /external/wpa_supplicant_8/src/rsn_supp/
preauth.c 62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) {
327 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 &&
387 if (os_memcmp(pos->bssid, bssid, ETH_ALEN) == 0) {
476 os_memcmp(ssid + 2, sm->ssid, sm->ssid_len) != 0)
479 if (os_memcmp(bssid, sm->bssid, ETH_ALEN) == 0)
tdls.c 260 if (os_memcmp(peer->addr, dest, ETH_ALEN) == 0)
403 if (os_memcmp(peer->inonce, peer->rnonce, WPA_NONCE_LEN) < 0) {
424 if (os_memcmp(own_addr, peer->addr, ETH_ALEN) < 0) {
746 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0)
833 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0)
866 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0)
902 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0)
929 if (os_memcmp(peer->addr, src_addr, ETH_ALEN) == 0)
1024 if (os_memcmp(peer->addr, addr, ETH_ALEN) == 0) {
    [all...]
pmksa_cache.c 167 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) {
273 os_memcmp(pmk, entry->pmk, pmk_len) == 0))) {
331 if ((aa == NULL || os_memcmp(entry->aa, aa, ETH_ALEN) == 0) &&
333 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) &&
peerkey.c 441 if (os_memcmp(kde->smk + PMK_LEN, peerkey->pnonce, WPA_NONCE_LEN) != 0)
448 if (os_memcmp(kde->nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) {
477 if (os_memcmp(key->key_nonce, peerkey->inonce, WPA_NONCE_LEN) != 0) {
483 if (os_memcmp(kde->smk + PMK_LEN, peerkey->inonce, WPA_NONCE_LEN) != 0)
543 if (os_memcmp(peerkey->addr, kde.mac_addr, ETH_ALEN) == 0 &&
544 os_memcmp(peerkey->initiator ? peerkey->inonce :
638 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/tls/
tlsv1_common.c 482 os_memcmp(buf, "\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01"
489 os_memcmp(buf, "\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01"
496 os_memcmp(buf, "\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01"

Completed in 397 milliseconds

1 2 3 4 5 6