Searched refs:WPS_SECRET_NONCE_LEN (Results 1 – 5 of 5) sorted by relevance
/external/wpa_supplicant_8/src/wps/ |
D | wps_enrollee.c | 41 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 …]
|
D | wps_attr_parse.c | 356 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()
|
D | wps_registrar.c | 1473 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_r_hash() 1475 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_hash() 1477 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_r_hash() 1491 len[0] = WPS_SECRET_NONCE_LEN; in wps_build_r_hash() 1506 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_r_hash() 1519 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1() 1520 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1() 1529 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce2() 1530 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_r_snonce2() 1531 WPS_SECRET_NONCE_LEN); in wps_build_r_snonce2() [all …]
|
D | wps_defs.h | 39 #define WPS_SECRET_NONCE_LEN 16 macro
|
D | wps_i.h | 57 u8 snonce[2 * WPS_SECRET_NONCE_LEN];
|