Home
last modified time | relevance | path

Searched refs:WPS_OOB_PUBKEY_HASH_LEN (Results 1 – 13 of 13) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_attr_build.c421 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw()
423 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN - 2]++; in wps_build_oob_dev_pw()
428 wpabuf_put_be16(msg, WPS_OOB_PUBKEY_HASH_LEN + 2 + dev_pw_len); in wps_build_oob_dev_pw()
430 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw()
431 wpabuf_put_data(msg, pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw()
Dwps_attr_parse.c274 if (len < WPS_OOB_PUBKEY_HASH_LEN + 2 || in wps_set_attr()
275 len > WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_set_attr()
277 (len < WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_set_attr()
279 WPA_GET_BE16(pos + WPS_OOB_PUBKEY_HASH_LEN) != in wps_set_attr()
Dwps_defs.h47 #define WPS_OOB_PUBKEY_HASH_LEN 20 macro
Dwps_i.h78 u8 peer_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
Dwps_registrar.c33 u8 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
2649 WPS_OOB_PUBKEY_HASH_LEN) != 0) { in wps_process_m1()
3623 WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_pw_token()
3660 if (oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2 || in wps_registrar_add_nfc_password_token()
3661 oob_dev_pw_len > WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_registrar_add_nfc_password_token()
3666 pos = oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN; in wps_registrar_add_nfc_password_token()
3675 hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_password_token()
Dwps_enrollee.c566 WPS_OOB_PUBKEY_HASH_LEN) != 0) { in wps_process_pubkey()
571 "hash", hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_process_pubkey()
574 WPS_OOB_PUBKEY_HASH_LEN); in wps_process_pubkey()
Dwps.c148 WPS_OOB_PUBKEY_HASH_LEN); in wps_init()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c151 u8 pkhash[WPS_OOB_PUBKEY_HASH_LEN]; in eap_wsc_init()
236 if (len != 2 * WPS_OOB_PUBKEY_HASH_LEN || in eap_wsc_init()
237 hexstr2bin(pos, pkhash, WPS_OOB_PUBKEY_HASH_LEN)) { in eap_wsc_init()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1186 char val[128 + 2 * WPS_OOB_PUBKEY_HASH_LEN]; in wpas_wps_start_dev_pw()
1188 char hash[2 * WPS_OOB_PUBKEY_HASH_LEN + 10]; in wpas_wps_start_dev_pw()
1225 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_start_dev_pw()
2615 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_wps_nfc_rx_handover_sel()
2671 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel()
2679 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel()
2756 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_er_wps_nfc_report_handover()
2775 WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover()
2783 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover()
Dwpa_supplicant_i.h923 u8 p2p_peer_oob_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
Dp2p_supplicant.c8594 if (params.oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_p2p_nfc_connection_handover()
8600 id = WPA_GET_BE16(params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8603 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8605 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8617 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover()
8619 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover()
8622 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover()
8624 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1917 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in hostapd_wps_nfc_report_handover()
1936 WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover()
1944 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover()
/external/wpa_supplicant_8/src/p2p/
Dp2p.h2327 u8 oob_dev_pw[WPS_OOB_PUBKEY_HASH_LEN + 2 +