Home
last modified time | relevance | path

Searched refs:os_memcmp (Results 1 – 25 of 40) sorted by relevance

12

/hal_espressif-latest/components/wpa_supplicant/src/common/
Dbss.c64 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in wpa_bss_get()
66 os_memcmp(bss->ssid, ssid, ssid_len) == 0) in wpa_bss_get()
115 os_memcmp(ssid->ssid, bss->ssid, ssid->len) == 0) in wpa_bss_known()
129 os_memcmp(bss->ssid, wpa_s->current_bss->ssid, in wpa_bss_in_use()
134 (os_memcmp(bss->bssid, wpa_s->current_bss->bssid, ETH_ALEN) == 0); in wpa_bss_in_use()
434 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) in wpa_bss_get_bssid()
455 if (os_memcmp(bss->bssid, prev_bss->bssid, ETH_ALEN) == 0) in wpa_bss_get_next_bss()
Dwnm_sta.c274 os_memcmp(first_candidate_bssid, in get_mbo_transition_candidate()
306 if (os_memcmp(current_bss->ssid, target_bss->ssid, current_bss->ssid_len) != 0) { in wpa_scan_res_match()
367 os_memcmp(bss->ssid, target->ssid, bss->ssid_len) != 0) { in compare_scan_neighbor_results()
436 return os_memcmp(ie_a, ie_b, ie_a[1]) == 0; in wpa_bss_ies_eq()
Drrm.c571 if (os_memcmp(data->bssid, broadcast_ether_addr, ETH_ALEN) != 0 && in wpas_add_beacon_rep()
572 os_memcmp(data->bssid, bss->bssid, ETH_ALEN) != 0) in wpas_add_beacon_rep()
577 os_memcmp(data->ssid, bss->ssid, bss->ssid_len) != 0)) in wpas_add_beacon_rep()
Dmbo.c518 if (os_memcmp(bssid, bss->bssid, ETH_ALEN) == 0) in wpas_get_disallowed_bss()
574 if (os_memcmp(bss->bssid, tmp->bssid, ETH_ALEN) == 0) { in wpa_is_bss_tmp_disallowed()
Ddpp.c2652 os_memcmp(auth->waiting_pubkey_hash, peer_bi->pubkey_hash, in dpp_notify_new_qr_code()
2906 if (os_memcmp(auth->i_nonce, i_nonce, i_nonce_len) != 0) { in dpp_auth_resp_rx_status()
2999 if (os_memcmp(r_bootstrap, auth->peer_bi->pubkey_hash, in dpp_auth_resp_rx()
3022 os_memcmp(i_bootstrap, auth->own_bi->pubkey_hash, in dpp_auth_resp_rx()
3138 if (os_memcmp(auth->i_nonce, i_nonce, i_nonce_len) != 0) { in dpp_auth_resp_rx()
3228 if (os_memcmp(r_auth, r_auth2, r_auth_len) != 0) { in dpp_auth_resp_rx()
3310 if (os_memcmp(r_nonce, auth->r_nonce, r_nonce_len) != 0) { in dpp_auth_conf_rx_failure()
3379 if (os_memcmp(r_bootstrap, auth->own_bi->pubkey_hash, in dpp_auth_conf_rx()
3402 os_memcmp(i_bootstrap, auth->peer_bi->pubkey_hash, in dpp_auth_conf_rx()
3475 if (os_memcmp(i_auth, i_auth2, i_auth_len) != 0) { in dpp_auth_conf_rx()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dsta_info.c47 while (s != NULL && os_memcmp(s->addr, sta, 6) != 0) in ap_get_sta()
86 if (os_memcmp(s->addr, sta->addr, 6) == 0) { in ap_sta_hash_del()
92 os_memcmp(s->hnext->addr, sta->addr, ETH_ALEN) != 0) in ap_sta_hash_del()
Deap_user_db.c121 os_memcmp(argv[id], user->identity, len) == 0 && in get_wildcard_cb()
239 os_memcmp(identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN) == 0) { in hostapd_get_eap_user()
248 os_memcmp(identity, WSC_ID_REGISTRAR, WSC_ID_REGISTRAR_LEN) == 0) { in hostapd_get_eap_user()
Dpmksa_cache_auth.c361 os_memcmp(entry->spa, spa, ETH_ALEN) == 0) && in pmksa_cache_auth_get()
362 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) in pmksa_cache_auth_get()
368 os_memcmp(entry->spa, spa, ETH_ALEN) == 0) in pmksa_cache_auth_get()
Dieee802_1x.c309 os_memcmp(identity, WSC_ID_ENROLLEE, in ieee802_1x_eapol_send()
312 os_memcmp(identity, WSC_ID_REGISTRAR, in ieee802_1x_eapol_send()
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dcrypto_internal-modexp.c23 if (os_memcmp(privkey, prime, prime_len) > 0) { in crypto_dh_init()
53 os_memcmp(pubkey, prime, prime_len) >= 0)) in crypto_dh_derive_secret()
Ddh_groups.c1213 if (os_memcmp(wpabuf_head(*priv), dh->prime, dh->prime_len) > 0) { in dh_init()
Daes-siv.c204 if (os_memcmp(check, iv_crypt, AES_BLOCK_SIZE) == 0) in aes_siv_decrypt()
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dpmksa_cache.c147 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) { in pmksa_cache_add()
252 os_memcmp(pmk, entry->pmk, pmk_len) == 0))) { in pmksa_cache_flush()
311 if ((aa == NULL || os_memcmp(entry->aa, aa, ETH_ALEN) == 0) && in pmksa_cache_get()
313 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0) && in pmksa_cache_get()
Dwpa_ft.c437 if (os_memcmp(target_ap, sm->target_ap, ETH_ALEN) != 0) { in wpa_ft_process_response()
458 os_memcmp(mdie->mobility_domain, sm->mobility_domain, in wpa_ft_process_response()
470 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) { in wpa_ft_process_response()
743 os_memcmp(mdie->mobility_domain, sm->mobility_domain,
755 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
764 if (os_memcmp(ftie->anonce, sm->anonce, WPA_NONCE_LEN) != 0) {
Dwpa.c378 os_memcmp(sm->pmk, entry->pmk, sm->pmk_len) == 0)) { in wpa_sm_pmksa_free_cb()
894 os_memcmp(sm->gtk.gtk, gd->gtk, sm->gtk.gtk_len) == 0) || in wpa_supplicant_install_gtk()
1032 os_memcmp(sm->igtk.igtk, igtk->igtk, sm->igtk.igtk_len) == 0) { in wpa_supplicant_install_igtk()
1190 os_memcmp(sm->ap_rsnxe, ie->rsnxe, sm->ap_rsnxe_len) != 0)))) { in wpa_supplicant_validate_ie()
1997 os_memcmp(key->replay_counter, sm->rx_replay_counter, in wpa_sm_rx_eapol()
2345 (os_memcmp(sm->bssid, bssid, ETH_ALEN) == 0) && in wpa_set_bss()
2346 (os_memcmp(sm->ssid, ssid, ssid_len) != 0)) { in wpa_set_bss()
2427 if (os_memcmp(md, sm->mobility_domain, MOBILITY_DOMAIN_ID_LEN) != 0) { in wpa_set_bss()
2898 if (os_memcmp(parsed_rsn_data->pmkid, sm->cur_pmksa->pmkid, OWE_PMKID_LEN) == 0) { in owe_process_assoc_resp()
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_registrar.c240 if (os_memcmp(reg->authorized_macs[i], addr, ETH_ALEN) == 0) { in wps_registrar_add_authorized_mac()
261 if (os_memcmp(reg->authorized_macs, addr, ETH_ALEN) == 0) in wps_registrar_remove_authorized_mac()
298 if (os_memcmp(dev->dev.mac_addr, addr, ETH_ALEN) == 0) in wps_device_get()
355 if (os_memcmp(pbc->addr, addr, ETH_ALEN) == 0 && in wps_registrar_add_pbc_session()
356 os_memcmp(pbc->uuid_e, uuid_e, WPS_UUID_LEN) == 0) { in wps_registrar_add_pbc_session()
405 if (os_memcmp(pbc->uuid_e, uuid_e, WPS_UUID_LEN) == 0 || in wps_registrar_remove_pbc_session()
407 os_memcmp(reg->p2p_dev_addr, p2p_dev_addr, ETH_ALEN) == in wps_registrar_remove_pbc_session()
458 os_memcmp(pbc->uuid_e, first->uuid_e, WPS_UUID_LEN) == 0) { in wps_registrar_pbc_overlap()
463 os_memcmp(uuid_e, pbc->uuid_e, WPS_UUID_LEN)) { in wps_registrar_pbc_overlap()
919 if (os_memcmp(pin->uuid, uuid, WPS_UUID_LEN) == 0) { in wps_registrar_invalidate_pin()
[all …]
Dwps_enrollee.c546 if (os_memcmp(wps->nonce_e, e_nonce, WPS_NONCE_LEN) != 0) { in wps_process_enrollee_nonce()
736 if (os_memcmp(wps->cred.mac_addr, wps->wps->dev.mac_addr, ETH_ALEN) != in wps_process_cred_e()
853 if (os_memcmp(cred->mac_addr, wps->wps->dev.mac_addr, ETH_ALEN) != in wps_process_ap_settings_e()
1397 os_memcmp(wps->nonce_e, attr->enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_msg()
1520 os_memcmp(wps->nonce_r, attr->registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_ack()
1528 os_memcmp(wps->nonce_e, attr->enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_ack()
1586 os_memcmp(wps->nonce_r, attr->registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_nack()
1598 os_memcmp(wps->nonce_e, attr->enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_nack()
Dwps.c373 if (os_memcmp(pos, addr, ETH_ALEN) == 0) { in wps_is_addr_authorized()
377 if (os_memcmp(pos, bcast, ETH_ALEN) == 0) { in wps_is_addr_authorized()
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dtlsv1_common.c484 os_memcmp(buf, "\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01" in tls_verify_signature()
491 os_memcmp(buf, "\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01" in tls_verify_signature()
498 os_memcmp(buf, "\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01" in tls_verify_signature()
Dtlsv1_client_ocsp.c60 return os_memcmp(hash, key_hash, SHA1_MAC_LEN) == 0; in ocsp_responder_id_match()
178 os_memcmp(name_hash, hash, hash_len) != 0) { in tls_process_ocsp_single_response()
200 os_memcmp(key_hash, hash, hash_len) != 0) { in tls_process_ocsp_single_response()
225 os_memcmp(serial_number, cert->serial_number, in tls_process_ocsp_single_response()
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Dmschapv2.c117 os_memcmp(auth_response, recv_response, in mschapv2_verify_auth_response()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_hostpad_wps.c170 if (sm && os_memcmp(sm->identity, WSC_ID_ENROLLEE, sm->identity_len) == 0) { in wifi_ap_wps_enable_internal()
228 if (sm && os_memcmp(sm->identity, WSC_ID_ENROLLEE, sm->identity_len) == 0) { in wifi_ap_wps_disable_internal()
Desp_scan.c141 (os_memcmp(wpa_s->current_bss, sender, ETH_ALEN) == 0)) { in esp_handle_beacon_probe()
/hal_espressif-latest/components/wpa_supplicant/port/include/
Dos.h262 #ifndef os_memcmp
263 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) macro
/hal_espressif-latest/components/wpa_supplicant/src/eap_server/
Deap_server_wsc.c68 os_memcmp(sm->identity, WSC_ID_REGISTRAR, WSC_ID_REGISTRAR_LEN) == in eap_wsc_init()
72 os_memcmp(sm->identity, WSC_ID_ENROLLEE, WSC_ID_ENROLLEE_LEN) in eap_wsc_init()

12