/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_build.c | 420 u8 pubkey_hash[WPS_HASH_LEN]; in wps_build_oob_dev_pw() local 426 if (sha256_vector(1, addr, &hash_len, pubkey_hash) < 0) in wps_build_oob_dev_pw() 431 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw() 433 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN - 2]++; in wps_build_oob_dev_pw() 440 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw() 441 wpabuf_put_data(msg, pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw()
|
D | wps_registrar.c | 33 u8 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN]; member 2722 wps->nfc_pw_token->pubkey_hash, in wps_process_m1() 3673 const u8 *pubkey_hash, u16 pw_id, in wps_registrar_add_nfc_pw_token() argument 3683 (pubkey_hash == NULL || !pk_hash_provided_oob)) { in wps_registrar_add_nfc_pw_token() 3695 token->peer_pk_hash_known = pubkey_hash != NULL; in wps_registrar_add_nfc_pw_token() 3696 if (pubkey_hash) in wps_registrar_add_nfc_pw_token() 3697 os_memcpy(token->pubkey_hash, pubkey_hash, in wps_registrar_add_nfc_pw_token()
|
D | wps.h | 865 const u8 *pubkey_hash, u16 pw_id,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_build.c | 429 u8 pubkey_hash[WPS_HASH_LEN]; in wps_build_oob_dev_pw() local 435 if (sha256_vector(1, addr, &hash_len, pubkey_hash) < 0) in wps_build_oob_dev_pw() 440 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw() 442 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN - 2]++; in wps_build_oob_dev_pw() 449 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw() 450 wpabuf_put_data(msg, pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw()
|
D | wps_registrar.c | 34 u8 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN]; member 2713 wps->nfc_pw_token->pubkey_hash, in wps_process_m1() 3694 const u8 *pubkey_hash, u16 pw_id, in wps_registrar_add_nfc_pw_token() argument 3704 (pubkey_hash == NULL || !pk_hash_provided_oob)) { in wps_registrar_add_nfc_pw_token() 3716 token->peer_pk_hash_known = pubkey_hash != NULL; in wps_registrar_add_nfc_pw_token() 3717 if (pubkey_hash) in wps_registrar_add_nfc_pw_token() 3718 os_memcpy(token->pubkey_hash, pubkey_hash, in wps_registrar_add_nfc_pw_token()
|
D | wps.h | 873 const u8 *pubkey_hash, u16 pw_id,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_auth.c | 524 r_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_resp_ok() 526 i_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_build_resp_ok() 615 r_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_resp_status() 617 i_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_build_resp_status() 940 os_memcmp(auth->waiting_pubkey_hash, peer_bi->pubkey_hash, in dpp_notify_new_qr_code() 991 r_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_build_conf() 993 i_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_conf() 1254 r_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_init() 1255 i_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_init() 1461 if (os_memcmp(r_bootstrap, auth->peer_bi->pubkey_hash, in dpp_auth_resp_rx() [all …]
|
D | dpp.h | 162 u8 pubkey_hash[SHA256_MAC_LEN]; member
|
D | dpp_crypto.c | 535 if (sha256_vector(1, addr, len, bi->pubkey_hash) < 0) in dpp_bi_pubkey_hash() 538 bi->pubkey_hash, SHA256_MAC_LEN); in dpp_bi_pubkey_hash()
|
D | dpp.c | 3982 wpa_snprintf_hex(pkhash, sizeof(pkhash), bi->pubkey_hash, in dpp_bootstrap_info() 4037 os_memcmp(bi->pubkey_hash, r_bootstrap, in dpp_bootstrap_find_pair() 4045 os_memcmp(bi->pubkey_hash, i_bootstrap, in dpp_bootstrap_find_pair()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | ap.h | 76 const struct wpabuf *pw, const u8 *pubkey_hash);
|
D | ap.c | 1454 const struct wpabuf *pw, const u8 *pubkey_hash) in wpas_ap_wps_add_nfc_pw() argument 1489 return wps_registrar_add_nfc_pw_token(hapd->wps->registrar, pubkey_hash, in wpas_ap_wps_add_nfc_pw()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | ap.h | 76 const struct wpabuf *pw, const u8 *pubkey_hash);
|
D | ap.c | 1687 const struct wpabuf *pw, const u8 *pubkey_hash) in wpas_ap_wps_add_nfc_pw() argument 1722 return wps_registrar_add_nfc_pw_token(hapd->wps->registrar, pubkey_hash, in wpas_ap_wps_add_nfc_pw()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | dpp.c | 993 bi->pubkey_hash) < 0) { in dpp_parse_uri_pk() 999 bi->pubkey_hash, SHA256_MAC_LEN); in dpp_parse_uri_pk() 1443 res = sha256_vector(1, addr, len, bi->pubkey_hash); in dpp_bootstrap_key_hash() 1447 wpa_hexdump(MSG_DEBUG, "DPP: Public key hash", bi->pubkey_hash, in dpp_bootstrap_key_hash() 1490 res = sha256_vector(1, addr, &len, bi->pubkey_hash); in dpp_keygen() 1495 wpa_hexdump(MSG_DEBUG, "DPP: Public key hash", bi->pubkey_hash, in dpp_keygen() 2311 r_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_init() 2312 i_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_init() 2928 r_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_resp_ok() 2930 i_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_build_resp_ok() [all …]
|
D | dpp.h | 118 u8 pubkey_hash[SHA256_MAC_LEN]; member
|