Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/wps/
H A Dwps_attr_build.c440 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 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()
H A Dwps_defs.h47 #define WPS_OOB_PUBKEY_HASH_LEN 20 macro
H A Dwps_i.h78 u8 peer_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
H A 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()
H A Dwps_registrar.c34 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 Dwps.c144 WPS_OOB_PUBKEY_HASH_LEN); in wps_init()
/freebsd/contrib/wpa/src/eap_peer/
H A 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()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c1241 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 Dp2p_supplicant.c9491 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 Dwpa_supplicant_i.h1182 u8 p2p_peer_oob_pubkey_hash[WPS_OOB_PUBKEY_HASH_LEN];
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c2180 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 Dp2p.h2358 u8 oob_dev_pw[WPS_OOB_PUBKEY_HASH_LEN + 2 +