/third_party/wpa_supplicant/wpa_supplicant-2.9/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() 1280 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_msg() 1375 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_ack() 1382 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_ack() 1422 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_nack() 1426 attr.registrar_nonce, WPS_NONCE_LEN); in wps_process_wsc_nack() [all …]
|
D | wps_attr_build.c | 288 wpabuf_put_be16(msg, WPS_NONCE_LEN); in wps_build_enrollee_nonce() 289 wpabuf_put_data(msg, wps->nonce_e, WPS_NONCE_LEN); in wps_build_enrollee_nonce() 298 wpabuf_put_be16(msg, WPS_NONCE_LEN); in wps_build_registrar_nonce() 299 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 | 596 wpabuf_put_be16(msg, WPS_NONCE_LEN); in build_fake_wsc_ack() 597 wpabuf_put(msg, WPS_NONCE_LEN); in build_fake_wsc_ack() 600 wpabuf_put_be16(msg, WPS_NONCE_LEN); in build_fake_wsc_ack() 601 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 | 1892 if (random_get_bytes(wps->nonce_r, WPS_NONCE_LEN) < 0) in wps_build_m2() 1895 wps->nonce_r, WPS_NONCE_LEN); in wps_build_m2() 2215 os_memcpy(wps->nonce_e, e_nonce, WPS_NONCE_LEN); in wps_process_enrollee_nonce() 2217 wps->nonce_e, WPS_NONCE_LEN); in wps_process_enrollee_nonce() 2230 if (os_memcmp(wps->nonce_r, r_nonce, WPS_NONCE_LEN) != 0) { in wps_process_registrar_nonce() 3059 WPS_NONCE_LEN) != 0)) { in wps_process_wsc_msg() 3155 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_ack() 3162 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_ack() 3224 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_nack() 3231 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | 1883 if (random_get_bytes(wps->nonce_r, WPS_NONCE_LEN) < 0) in wps_build_m2() 1886 wps->nonce_r, WPS_NONCE_LEN); in wps_build_m2() 2206 os_memcpy(wps->nonce_e, e_nonce, WPS_NONCE_LEN); in wps_process_enrollee_nonce() 2208 wps->nonce_e, WPS_NONCE_LEN); in wps_process_enrollee_nonce() 2221 if (os_memcmp(wps->nonce_r, r_nonce, WPS_NONCE_LEN) != 0) { in wps_process_registrar_nonce() 3050 WPS_NONCE_LEN) != 0)) { in wps_process_wsc_msg() 3146 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_ack() 3153 os_memcmp(wps->nonce_e, attr.enrollee_nonce, WPS_NONCE_LEN) != 0) { in wps_process_wsc_ack() 3215 os_memcmp(wps->nonce_r, attr.registrar_nonce, WPS_NONCE_LEN) != 0) in wps_process_wsc_nack() 3222 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()
|