Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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.c1893 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 …]
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()