Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/wps/
H A 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()
H A Dwps_registrar.c34 u8 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN]; member
2712 wps->nfc_pw_token->pubkey_hash, in wps_process_m1()
3693 const u8 *pubkey_hash, u16 pw_id, in wps_registrar_add_nfc_pw_token() argument
3703 (pubkey_hash == NULL || !pk_hash_provided_oob)) { in wps_registrar_add_nfc_pw_token()
3715 token->peer_pk_hash_known = pubkey_hash != NULL; in wps_registrar_add_nfc_pw_token()
3716 if (pubkey_hash) in wps_registrar_add_nfc_pw_token()
3717 os_memcpy(token->pubkey_hash, pubkey_hash, in wps_registrar_add_nfc_pw_token()
H A Dwps.h878 const u8 *pubkey_hash, u16 pw_id,
/freebsd/contrib/wpa/src/common/
H A 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 …]
H A Ddpp.h181 u8 pubkey_hash[SHA256_MAC_LEN]; member
H A Ddpp_crypto.c556 if (sha256_vector(1, addr, len, bi->pubkey_hash) < 0) in dpp_bi_pubkey_hash()
559 bi->pubkey_hash, SHA256_MAC_LEN); in dpp_bi_pubkey_hash()
H A Ddpp_pkex.c1366 os_memcpy(pkex->own_bi->peer_pubkey_hash, bi->pubkey_hash, in dpp_pkex_finish()
H A Ddpp.c4557 wpa_snprintf_hex(pkhash, sizeof(pkhash), bi->pubkey_hash, in dpp_bootstrap_info()
4654 os_memcmp(bi->pubkey_hash, r_bootstrap, in dpp_bootstrap_find_pair()
4662 os_memcmp(bi->pubkey_hash, i_bootstrap, in dpp_bootstrap_find_pair()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dap.h96 const struct wpabuf *pw, const u8 *pubkey_hash);
H A Dap.c1926 const struct wpabuf *pw, const u8 *pubkey_hash) in wpas_ap_wps_add_nfc_pw() argument
1961 return wps_registrar_add_nfc_pw_token(hapd->wps->registrar, pubkey_hash, in wpas_ap_wps_add_nfc_pw()
H A Ddpp_supplicant.c1276 if (os_memcmp(peer_bi->pubkey_hash, own_bi->peer_pubkey_hash, in wpas_dpp_rx_auth_req()
/freebsd/contrib/wpa/src/ap/
H A Ddpp_hostapd.c1097 if (os_memcmp(peer_bi->pubkey_hash, own_bi->peer_pubkey_hash, in hostapd_dpp_rx_auth_req()