Home
last modified time | relevance | path

Searched refs:WPS_HASH_LEN (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_attr_parse.c178 if (len != WPS_HASH_LEN) { in wps_set_attr()
186 if (len != WPS_HASH_LEN) { in wps_set_attr()
194 if (len != WPS_HASH_LEN) { in wps_set_attr()
202 if (len != WPS_HASH_LEN) { in wps_set_attr()
Dwps_i.h56 u8 peer_hash1[WPS_HASH_LEN];
57 u8 peer_hash2[WPS_HASH_LEN];
Dwps_enrollee.c535 os_memcpy(wps->peer_hash1, r_hash1, WPS_HASH_LEN); in wps_process_r_hash1()
536 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash1", wps->peer_hash1, WPS_HASH_LEN); in wps_process_r_hash1()
549 os_memcpy(wps->peer_hash2, r_hash2, WPS_HASH_LEN); in wps_process_r_hash2()
550 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash2", wps->peer_hash2, WPS_HASH_LEN); in wps_process_r_hash2()
581 if (os_memcmp(wps->peer_hash1, hash, WPS_HASH_LEN) != 0) { in wps_process_r_snonce1()
621 if (os_memcmp(wps->peer_hash2, hash, WPS_HASH_LEN) != 0) { in wps_process_r_snonce2()
Dwps_defs.h31 #define WPS_HASH_LEN 32 macro
Dwps_registrar.c1607 os_memcpy(wps->peer_hash1, e_hash1, WPS_HASH_LEN); in wps_process_e_hash1()
1608 wpa_hexdump(MSG_DEBUG, "WPS: E-Hash1", wps->peer_hash1, WPS_HASH_LEN); in wps_process_e_hash1()
1621 os_memcpy(wps->peer_hash2, e_hash2, WPS_HASH_LEN); in wps_process_e_hash2()
1622 wpa_hexdump(MSG_DEBUG, "WPS: E-Hash2", wps->peer_hash2, WPS_HASH_LEN); in wps_process_e_hash2()
1653 if (os_memcmp(wps->peer_hash1, hash, WPS_HASH_LEN) != 0) { in wps_process_e_snonce1()
1693 if (os_memcmp(wps->peer_hash2, hash, WPS_HASH_LEN) != 0) { in wps_process_e_snonce2()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_parse.c302 if (len != WPS_HASH_LEN) { in wps_set_attr()
310 if (len != WPS_HASH_LEN) { in wps_set_attr()
318 if (len != WPS_HASH_LEN) { in wps_set_attr()
326 if (len != WPS_HASH_LEN) { in wps_set_attr()
Dwps_i.h58 u8 peer_hash1[WPS_HASH_LEN];
59 u8 peer_hash2[WPS_HASH_LEN];
Dwps_enrollee.c530 u8 hash[WPS_HASH_LEN]; in wps_process_pubkey()
562 os_memcpy(wps->peer_hash1, r_hash1, WPS_HASH_LEN); in wps_process_r_hash1()
563 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash1", wps->peer_hash1, WPS_HASH_LEN); in wps_process_r_hash1()
576 os_memcpy(wps->peer_hash2, r_hash2, WPS_HASH_LEN); in wps_process_r_hash2()
577 wpa_hexdump(MSG_DEBUG, "WPS: R-Hash2", wps->peer_hash2, WPS_HASH_LEN); in wps_process_r_hash2()
608 if (os_memcmp(wps->peer_hash1, hash, WPS_HASH_LEN) != 0) { in wps_process_r_snonce1()
648 if (os_memcmp(wps->peer_hash2, hash, WPS_HASH_LEN) != 0) { in wps_process_r_snonce2()
Dwps_defs.h39 #define WPS_HASH_LEN 32 macro
Dwps_registrar.c2086 os_memcpy(wps->peer_hash1, e_hash1, WPS_HASH_LEN); in wps_process_e_hash1()
2087 wpa_hexdump(MSG_DEBUG, "WPS: E-Hash1", wps->peer_hash1, WPS_HASH_LEN); in wps_process_e_hash1()
2100 os_memcpy(wps->peer_hash2, e_hash2, WPS_HASH_LEN); in wps_process_e_hash2()
2101 wpa_hexdump(MSG_DEBUG, "WPS: E-Hash2", wps->peer_hash2, WPS_HASH_LEN); in wps_process_e_hash2()
2132 if (os_memcmp(wps->peer_hash1, hash, WPS_HASH_LEN) != 0) { in wps_process_e_snonce1()
2172 if (os_memcmp(wps->peer_hash2, hash, WPS_HASH_LEN) != 0) { in wps_process_e_snonce2()
2224 u8 hash[WPS_HASH_LEN]; in wps_process_pubkey()
2510 u8 hash[WPS_HASH_LEN]; in wps_process_m1()
Dwps_attr_build.c357 u8 pubkey_hash[WPS_HASH_LEN]; in wps_build_oob_dev_pw()