Home
last modified time | relevance | path

Searched refs:WPS_NONCE_LEN (Results 1 – 18 of 18) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_enrollee.c110 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 …]
Dwps_attr_build.c288 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()
Dwps_i.h53 u8 nonce_e[WPS_NONCE_LEN];
54 u8 nonce_r[WPS_NONCE_LEN];
Dwps_upnp.c596 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()
Dwps_attr_parse.c173 if (len != WPS_NONCE_LEN) { in wps_set_attr()
181 if (len != WPS_NONCE_LEN) { in wps_set_attr()
Dwps_registrar.c1892 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 …]
Dwps_defs.h33 #define WPS_NONCE_LEN 16 macro
Dwps_common.c107 len[0] = WPS_NONCE_LEN; in wps_derive_keys()
111 len[2] = WPS_NONCE_LEN; in wps_derive_keys()
Dwps_upnp_web.c530 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/
Dwps_enrollee.c110 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 …]
Dwps_attr_build.c290 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()
Dwps_i.h53 u8 nonce_e[WPS_NONCE_LEN];
54 u8 nonce_r[WPS_NONCE_LEN];
Dwps_upnp.c618 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()
Dwps_attr_parse.c173 if (len != WPS_NONCE_LEN) { in wps_set_attr()
181 if (len != WPS_NONCE_LEN) { in wps_set_attr()
Dwps_registrar.c1883 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 …]
Dwps_defs.h33 #define WPS_NONCE_LEN 16 macro
Dwps_common.c107 len[0] = WPS_NONCE_LEN; in wps_derive_keys()
111 len[2] = WPS_NONCE_LEN; in wps_derive_keys()
Dwps_upnp_web.c530 WPS_NONCE_LEN) != 0) in web_process_put_message()
537 WPS_NONCE_LEN) != 0) in web_process_put_message()