Searched refs:WPS_OOB_PUBKEY_HASH_LEN (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/wpa/src/wps/ |
H A D | wps_attr_build.c | 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() 447 wpabuf_put_be16(msg, WPS_OOB_PUBKEY_HASH_LEN + 2 + dev_pw_len); 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 D | wps_attr_parse.c | 285 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()
|
H A D | wps_defs.h | 47 #define WPS_OOB_PUBKEY_HASH_LEN 20 macro
|
H A D | wps_i.h | 78 u8 peer_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
|
H A D | wps_enrollee.c | 570 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()
|
H A D | wps_registrar.c | 34 u8 pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN]; 2713 WPS_OOB_PUBKEY_HASH_LEN) != 0) { in wps_process_m1() 3718 WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_pw_token() 3755 if (oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2 || in wps_registrar_add_nfc_password_token() 3756 oob_dev_pw_len > WPS_OOB_PUBKEY_HASH_LEN + 2 + in wps_registrar_add_nfc_password_token() 3761 pos = oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN; in wps_registrar_add_nfc_password_token() 3770 hash, WPS_OOB_PUBKEY_HASH_LEN); in wps_registrar_add_nfc_password_token()
|
H A D | wps.c | 144 WPS_OOB_PUBKEY_HASH_LEN); in wps_init()
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_wsc.c | 151 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()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wps_supplicant.c | 1241 char val[128 + 2 * WPS_OOB_PUBKEY_HASH_LEN]; in wpas_wps_start_dev_pw() 1243 char hash[2 * WPS_OOB_PUBKEY_HASH_LEN + 10]; in wpas_wps_start_dev_pw() 1280 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_start_dev_pw() 2729 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_wps_nfc_rx_handover_sel() 2785 WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel() 2793 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_wps_nfc_rx_handover_sel() 2870 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_er_wps_nfc_report_handover() 2889 WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover() 2897 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in wpas_er_wps_nfc_report_handover()
|
H A D | p2p_supplicant.c | 9491 if (params.oob_dev_pw_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in wpas_p2p_nfc_connection_handover() 9497 id = WPA_GET_BE16(params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover() 9500 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover() 9502 params.oob_dev_pw, WPS_OOB_PUBKEY_HASH_LEN); in wpas_p2p_nfc_connection_handover() 9514 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover() 9516 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover() 9519 params.oob_dev_pw + WPS_OOB_PUBKEY_HASH_LEN + 2, in wpas_p2p_nfc_connection_handover() 9521 WPS_OOB_PUBKEY_HASH_LEN - 2); in wpas_p2p_nfc_connection_handover()
|
H A D | wpa_supplicant_i.h | 1182 u8 p2p_peer_oob_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wps_hostapd.c | 2180 attr.oob_dev_password_len < WPS_OOB_PUBKEY_HASH_LEN + 2) { in hostapd_wps_nfc_report_handover() 2199 WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover() 2207 attr.oob_dev_password, WPS_OOB_PUBKEY_HASH_LEN); in hostapd_wps_nfc_report_handover()
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p.h | 2358 u8 oob_dev_pw[WPS_OOB_PUBKEY_HASH_LEN + 2 +
|