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 | 345 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr() 353 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr() 361 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr() 369 if (len != WPS_SECRET_NONCE_LEN) { in wps_set_attr()
|
D | wps_registrar.c | 1433 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_r_hash() 1435 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_hash() 1437 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_r_hash() 1451 len[0] = WPS_SECRET_NONCE_LEN; in wps_build_r_hash() 1466 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_r_hash() 1479 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1() 1480 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1() 1489 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce2() 1490 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_r_snonce2() 1491 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];
|