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.c420 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw()
422 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN - 2]++; in wps_build_oob_dev_pw()
427 wpabuf_put_be16(msg, WPS_OOB_PUBKEY_HASH_LEN + 2 + dev_pw_len); in wps_build_oob_dev_pw()
429 pubkey_hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_build_oob_dev_pw()
430 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];
2648 WPS_OOB_PUBKEY_HASH_LEN) != 0) { in wps_process_m1()
3622 WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_pw_token()
3659 if (oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2 || in wps_registrar_add_nfc_password_token()
3660 oob_dev_pw_len > WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_registrar_add_nfc_password_token()
3665 pos = oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN; in wps_registrar_add_nfc_password_token()
3674 hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_password_token()
Dwps_enrollee.c565 WPS_OOB_PUBKEY_HASH_LEN) != 0) { in wps_process_pubkey()
570 "hash", hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_process_pubkey()
573 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.c1179 char val[128 + 2 * WPS_OOB_PUBKEY_HASH_LEN]; in wpas_wps_start_dev_pw()
1181 char hash[2 * WPS_OOB_PUBKEY_HASH_LEN + 10]; in wpas_wps_start_dev_pw()
1211 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_start_dev_pw()
2601 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_wps_nfc_rx_handover_sel()
2657 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel()
2665 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel()
2742 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_er_wps_nfc_report_handover()
2761 WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover()
2769 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover()
Dwpa_supplicant_i.h891 u8 p2p_peer_oob_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
Dp2p_supplicant.c8555 if (params.oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_p2p_nfc_connection_handover()
8561 id = WPA_GET_BE16(params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8564 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8566 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8578 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover()
8580 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover()
8583 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover()
8585 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1923 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in hostapd_wps_nfc_report_handover()
1942 WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover()
1950 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover()
/external/wpa_supplicant_8/src/p2p/
Dp2p.h2316 u8 oob_dev_pw[WPS_OOB_PUBKEY_HASH_LEN + 2 +