Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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,
/external/wpa_supplicant_8/wpa_supplicant/
Dap.h76 const struct wpabuf *pw, const u8 *pubkey_hash);
Dap.c1449 const struct wpabuf *pw, const u8 *pubkey_hash) in wpas_ap_wps_add_nfc_pw() argument
1484 return wps_registrar_add_nfc_pw_token(hapd->wps->registrar, pubkey_hash, in wpas_ap_wps_add_nfc_pw()
/external/wpa_supplicant_8/src/common/
Ddpp.c850 bi->pubkey_hash) < 0) { in dpp_parse_uri_pk()
856 bi->pubkey_hash, SHA256_MAC_LEN); in dpp_parse_uri_pk()
1301 res = sha256_vector(1, addr, len, bi->pubkey_hash); in dpp_bootstrap_key_hash()
1305 wpa_hexdump(MSG_DEBUG, "DPP: Public key hash", bi->pubkey_hash, in dpp_bootstrap_key_hash()
1348 res = sha256_vector(1, addr, &len, bi->pubkey_hash); in dpp_keygen()
1353 wpa_hexdump(MSG_DEBUG, "DPP: Public key hash", bi->pubkey_hash, in dpp_keygen()
2181 r_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_init()
2182 i_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_init()
2810 r_pubkey_hash = auth->own_bi->pubkey_hash; in dpp_auth_build_resp_ok()
2812 i_pubkey_hash = auth->peer_bi->pubkey_hash; in dpp_auth_build_resp_ok()
[all …]
Ddpp.h116 u8 pubkey_hash[SHA256_MAC_LEN]; member