HomeSort by: relevance | last modified time | path
    Searched refs:os_memcmp (Results 1 - 25 of 141) sorted by relevancy

1 2 3 4 5 6

  /src/external/bsd/wpa/dist/src/crypto/
crypto_internal-modexp.c 23 if (os_memcmp(privkey, prime, prime_len) > 0) {
53 os_memcmp(pubkey, prime, prime_len) >= 0))
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(tag, cipher + sizeof(data), AES_BLOCK_SIZE) != 0)
    [all...]
  /src/external/bsd/wpa/dist/src/utils/
ip_addr.c 67 os_memcmp(&a->u.v6, &b->u.v6, sizeof(a->u.v6)) == 0)
os_none.c 159 int os_memcmp(const void *s1, const void *s2, size_t n) function
os.h 383 * os_memcmp - Compare memory areas
391 int os_memcmp(const void *s1, const void *s2, size_t n);
531 #ifndef os_memcmp
532 #define os_memcmp(s1, s2, n) memcmp((s1), (s2), (n)) macro
630 * does not behave like os_memcmp(), i.e., os_memcmp_const() cannot be used to
631 * sort items into a defined order. Unlike os_memcmp(), execution time of
wpabuf.h 84 return os_memcmp(a->buf, b->buf, wpabuf_size(a));
  /src/external/bsd/wpa/dist/src/ap/
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)
pmksa_cache_auth.c 491 os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0)
528 if (os_memcmp(entry->pmkid, pmkid, PMKID_LEN) == 0)
543 if (os_memcmp(new_pmkid, pmkid, PMKID_LEN) == 0)
590 if (os_memcmp(attr->acct_multi_session_id, buf, 16) != 0)
598 os_memcmp(attr->cui, wpabuf_head(entry->cui),
607 os_memcmp(attr->user_name, entry->identity,
eth_p_oui.c 68 if (os_memcmp(buf, global_oui, sizeof(global_oui)) != 0)
  /src/external/bsd/wpa/dist/src/common/
common_module_tests.c 424 os_memcmp(wpabuf_head(buf), local_commit,
435 if (os_memcmp(kck, sae.tmp->kck, SAE_KCK_LEN) != 0) {
440 if (os_memcmp(pmk, sae.pmk, SAE_PMK_LEN) != 0) {
445 if (os_memcmp(pmkid, sae.pmkid, SAE_PMKID_LEN) != 0) {
469 os_memcmp(pwe_19_x, bin, prime_len) != 0 ||
470 os_memcmp(pwe_19_y, bin + prime_len,
493 os_memcmp(pwe_15, bin, prime_len) != 0) {
570 if (res_len != bytes || os_memcmp(val, res, res_len) != 0) {
660 os_memcmp(kck, ptk.kck, sizeof(kck)) != 0) {
666 os_memcmp(tk, ptk.tk, sizeof(tk)) != 0)
    [all...]
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,
dpp_auth.c 940 os_memcmp(auth->waiting_pubkey_hash, peer_bi->pubkey_hash,
1364 if (os_memcmp(auth->i_nonce, i_nonce, i_nonce_len) != 0) {
1461 if (os_memcmp(r_bootstrap, auth->peer_bi->pubkey_hash,
1484 os_memcmp(i_bootstrap, auth->own_bi->pubkey_hash,
1622 if (os_memcmp(auth->i_nonce, i_nonce, i_nonce_len) != 0) {
1712 if (os_memcmp(r_auth, r_auth2, r_auth_len) != 0) {
1794 if (os_memcmp(r_nonce, auth->r_nonce, r_nonce_len) != 0) {
1868 if (os_memcmp(r_bootstrap, auth->own_bi->pubkey_hash,
1891 os_memcmp(i_bootstrap, auth->peer_bi->pubkey_hash,
1964 if (os_memcmp(i_auth, i_auth2, i_auth_len) != 0)
    [all...]
  /src/external/bsd/wpa/dist/src/wps/
ndef.c 166 if (os_memcmp(record->type, wifi_handover_type,
192 if (os_memcmp(record->type, p2p_handover_type,
  /src/external/bsd/wpa/dist/src/drivers/
driver_roboswitch.c 269 os_memcmp(read1, read2, 6) != 0)
305 if (os_memcmp(addr_read, addr_be16, 6) == 0 && ports_read == ports) {
314 if (os_memcmp(addr_read, addr_be16, 6) == 0 &&
343 if (os_memcmp(addr_read, addr_be16, 6) == 0 &&
  /src/external/bsd/wpa/dist/src/eap_peer/
eap_gtc.c 64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) {
eap_vendor_test.c 45 os_memcmp(password, "pending", 7) == 0;
  /src/external/bsd/wpa/dist/src/l2_packet/
l2_packet_linux.c 196 os_memcmp(hash, l2->last_hash, SHA1_MAC_LEN) == 0) {
202 os_memcmp(hash, l2->last_hash_prev, SHA1_MAC_LEN) == 0) {
253 os_memcmp(hash, l2->last_hash, SHA1_MAC_LEN) == 0) {
258 os_memcmp(hash, l2->last_hash_prev, SHA1_MAC_LEN) == 0) {
  /src/external/bsd/wpa/dist/src/tls/
tlsv1_common.c 484 os_memcmp(buf, "\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01"
491 os_memcmp(buf, "\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01"
498 os_memcmp(buf, "\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01"
tlsv1_client_ocsp.c 60 return os_memcmp(hash, key_hash, SHA1_MAC_LEN) == 0;
178 os_memcmp(name_hash, hash, hash_len) != 0) {
200 os_memcmp(key_hash, hash, hash_len) != 0) {
225 os_memcmp(serial_number, cert->serial_number,
  /src/external/bsd/wpa/dist/src/eap_server/
eap_server_gpsk.c 298 os_memcmp(pos, sm->cfg->server_id, alen) != 0) {
323 if (os_memcmp(data->rand_server, pos, EAP_GPSK_RAND_LEN) != 0) {
350 os_memcmp(pos, data->csuite_list, alen) != 0) {
366 if (os_memcmp(csuite, &data->csuite_list[i], sizeof(*csuite))
eap_server_gtc.c 133 os_memcmp(pos, sm->identity, sm->identity_len))) {
  /src/external/bsd/wpa/dist/src/pae/
ieee802_1x_key.c 23 if (os_memcmp(mac1, mac2, ETH_ALEN) < 0) {
  /src/external/bsd/wpa/dist/wpa_supplicant/
ctrl_iface_udp.c 127 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr,
174 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr,
308 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) {
702 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) {
mesh_rsn.c 456 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) {
488 if (os_memcmp(sta->my_nonce, sta->peer_nonce, WPA_NONCE_LEN) < 0) {
516 if (os_memcmp(myaddr, peer, ETH_ALEN) < 0) {
676 os_memcmp(chosen_pmk, sta->sae->pmkid, PMKID_LEN) != 0)) {
732 if (os_memcmp(ampe->peer_nonce, null_nonce, WPA_NONCE_LEN) != 0 &&
733 os_memcmp(ampe->peer_nonce, sta->my_nonce, WPA_NONCE_LEN) != 0) {
bss.c 270 os_memcmp(bss->ssid, ssid, ssid_len) == 0)
340 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) != 0))
385 os_memcmp(ssid->ssid, bss->ssid, ssid->ssid_len) == 0)
410 os_memcmp(bss->ssid, wpa_s->current_bss->ssid,
587 os_memcmp(old_ie, new_ie, old_ie_len) == 0);
615 os_memcmp(wpa_bss_ie_ptr(old), new_res + 1, old->ie_len) == 0)
880 os_memcmp(ssid + 2, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN) == 0)
955 os_memcmp(s->ssid, bss->ssid, bss->ssid_len) ==
1036 os_memcmp(bss->ssid, wpa_s->last_ssid->ssid,

Completed in 40 milliseconds

1 2 3 4 5 6