Home
last modified time | relevance | path

Searched refs:pubkey_hash (Results 1 – 16 of 16) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_build.c420 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()
Dwps_registrar.c33 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()
Dwps.h865 const u8 *pubkey_hash, u16 pw_id,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_attr_build.c429 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()
Dwps_registrar.c34 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()
Dwps.h873 const u8 *pubkey_hash, u16 pw_id,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_auth.c524 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 …]
Ddpp.h162 u8 pubkey_hash[SHA256_MAC_LEN]; member
Ddpp_crypto.c535 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()
Ddpp.c3982 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/
Dap.h76 const struct wpabuf *pw, const u8 *pubkey_hash);
Dap.c1454 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/
Dap.h76 const struct wpabuf *pw, const u8 *pubkey_hash);
Dap.c1687 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/
Ddpp.c993 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 …]
Ddpp.h118 u8 pubkey_hash[SHA256_MAC_LEN]; member