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.c431 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()
438 wpabuf_put_be16(msg, WPS_OOB_PUBKEY_HASH_LEN + 2 + dev_pw_len); 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_attr_parse.c285 if (len < WPS_OOB_PUBKEY_HASH_LEN + 2 || in wps_set_attr()
286 len > WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_set_attr()
288 (len < WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_set_attr()
290 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_enrollee.c570 WPS_OOB_PUBKEY_HASH_LEN) != 0) { in wps_process_pubkey()
575 "hash", hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_process_pubkey()
578 WPS_OOB_PUBKEY_HASH_LEN); in wps_process_pubkey()
Dwps_registrar.c33 u8 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
2723 WPS_OOB_PUBKEY_HASH_LEN) != 0) { in wps_process_m1()
3698 WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_pw_token()
3735 if (oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2 || in wps_registrar_add_nfc_password_token()
3736 oob_dev_pw_len > WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_registrar_add_nfc_password_token()
3741 pos = oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN; in wps_registrar_add_nfc_password_token()
3750 hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_password_token()
Dwps.c144 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.c1211 char val[128 + 2 * WPS_OOB_PUBKEY_HASH_LEN]; in wpas_wps_start_dev_pw()
1213 char hash[2 * WPS_OOB_PUBKEY_HASH_LEN + 10]; in wpas_wps_start_dev_pw()
1250 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_start_dev_pw()
2643 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_wps_nfc_rx_handover_sel()
2699 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel()
2707 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel()
2784 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_er_wps_nfc_report_handover()
2803 WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover()
2811 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover()
Dp2p_supplicant.c8855 if (params.oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_p2p_nfc_connection_handover()
8861 id = WPA_GET_BE16(params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8864 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8866 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover()
8878 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover()
8880 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover()
8883 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover()
8885 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover()
Dwpa_supplicant_i.h949 u8 p2p_peer_oob_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1985 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in hostapd_wps_nfc_report_handover()
2004 WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover()
2012 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover()
/external/wpa_supplicant_8/src/p2p/
Dp2p.h2339 u8 oob_dev_pw[WPS_OOB_PUBKEY_HASH_LEN + 2 +