Searched refs:WPS_NONCE_LEN (Results 1 – 9 of 9) sorted by relevance
/external/wpa_supplicant_8/src/wps/ |
D | wps_enrollee.c | 110 if (random_get_bytes(wps->nonce_e, WPS_NONCE_LEN) < 0) in wps_build_m1() 113 wps->nonce_e, WPS_NONCE_LEN); in wps_build_m1() 520 os_memcpy(wps->nonce_r, r_nonce, WPS_NONCE_LEN); in wps_process_registrar_nonce() 522 wps->nonce_r, WPS_NONCE_LEN); in wps_process_registrar_nonce() 535 if (os_memcmp(wps->nonce_e, e_nonce, WPS_NONCE_LEN) != 0) { in wps_process_enrollee_nonce() 1291 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_msg() 1386 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_ack() 1393 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_ack() 1433 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_nack() 1437 attr.registrar_nonce, WPS_NONCE_LEN); in wps_process_wsc_nack() [all …]
|
D | wps_attr_build.c | 290 wpabuf_put_be16(msg, WPS_NONCE_LEN); in wps_build_enrollee_nonce() 291 wpabuf_put_data(msg, wps->nonce_e, WPS_NONCE_LEN); in wps_build_enrollee_nonce() 300 wpabuf_put_be16(msg, WPS_NONCE_LEN); in wps_build_registrar_nonce() 301 wpabuf_put_data(msg, wps->nonce_r, WPS_NONCE_LEN); in wps_build_registrar_nonce()
|
D | wps_i.h | 53 u8 nonce_e[WPS_NONCE_LEN]; 54 u8 nonce_r[WPS_NONCE_LEN];
|
D | wps_upnp.c | 618 wpabuf_put_be16(msg, WPS_NONCE_LEN); in build_fake_wsc_ack() 619 wpabuf_put(msg, WPS_NONCE_LEN); in build_fake_wsc_ack() 622 wpabuf_put_be16(msg, WPS_NONCE_LEN); in build_fake_wsc_ack() 623 wpabuf_put(msg, WPS_NONCE_LEN); in build_fake_wsc_ack()
|
D | wps_attr_parse.c | 173 if (len != WPS_NONCE_LEN) { in wps_set_attr() 181 if (len != WPS_NONCE_LEN) { in wps_set_attr()
|
D | wps_registrar.c | 1893 if (random_get_bytes(wps->nonce_r, WPS_NONCE_LEN) < 0) in wps_build_m2() 1896 wps->nonce_r, WPS_NONCE_LEN); in wps_build_m2() 2216 os_memcpy(wps->nonce_e, e_nonce, WPS_NONCE_LEN); in wps_process_enrollee_nonce() 2218 wps->nonce_e, WPS_NONCE_LEN); in wps_process_enrollee_nonce() 2231 if (os_memcmp(wps->nonce_r, r_nonce, WPS_NONCE_LEN) != 0) { in wps_process_registrar_nonce() 3060 WPS_NONCE_LEN) != 0)) { in wps_process_wsc_msg() 3156 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_ack() 3163 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_ack() 3225 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_nack() 3232 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_nack() [all …]
|
D | wps_defs.h | 33 #define WPS_NONCE_LEN 16 macro
|
D | wps_common.c | 107 len[0] = WPS_NONCE_LEN; in wps_derive_keys() 111 len[2] = WPS_NONCE_LEN; in wps_derive_keys()
|
D | wps_upnp_web.c | 530 WPS_NONCE_LEN) != 0) in web_process_put_message() 537 WPS_NONCE_LEN) != 0) in web_process_put_message()
|