Home
last modified time | relevance | path

Searched refs:WPS_SECRET_NONCE_LEN (Results 1 – 10 of 10) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_enrollee.c41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_e_hash()
43 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
45 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
59 len[0] = WPS_SECRET_NONCE_LEN; in wps_build_e_hash()
74 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_e_hash()
87 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1()
88 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1()
97 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce2()
98 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_e_snonce2()
99 WPS_SECRET_NONCE_LEN); in wps_build_e_snonce2()
[all …]
Dwps_attr_parse.c356 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
364 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
372 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
380 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
Dwps_registrar.c1483 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_r_hash()
1485 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1487 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1501 len[0] = WPS_SECRET_NONCE_LEN; in wps_build_r_hash()
1516 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_r_hash()
1529 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1()
1530 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1()
1539 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce2()
1540 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_r_snonce2()
1541 WPS_SECRET_NONCE_LEN); in wps_build_r_snonce2()
[all …]
Dwps_defs.h39 #define WPS_SECRET_NONCE_LEN 16 macro
Dwps_i.h57 u8 snonce[2 * WPS_SECRET_NONCE_LEN];
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_enrollee.c41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_e_hash()
43 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
45 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
59 len[0] = WPS_SECRET_NONCE_LEN; in wps_build_e_hash()
74 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_e_hash()
87 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1()
88 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1()
97 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce2()
98 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_e_snonce2()
99 WPS_SECRET_NONCE_LEN); in wps_build_e_snonce2()
[all …]
Dwps_attr_parse.c356 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
364 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
372 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
380 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
Dwps_registrar.c1461 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_r_hash()
1463 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1465 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1479 len[0] = WPS_SECRET_NONCE_LEN; in wps_build_r_hash()
1494 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_r_hash()
1507 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1()
1508 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1()
1517 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce2()
1518 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_r_snonce2()
1519 WPS_SECRET_NONCE_LEN); in wps_build_r_snonce2()
[all …]
Dwps_defs.h39 #define WPS_SECRET_NONCE_LEN 16 macro
Dwps_i.h57 u8 snonce[2 * WPS_SECRET_NONCE_LEN];