Searched refs:new_psk (Results 1 – 8 of 8) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_registrar.c | 1731 os_free(wps->new_psk); in wps_build_cred() 1732 wps->new_psk = (u8 *) base64_encode(r, sizeof(r), in wps_build_cred() 1734 if (wps->new_psk == NULL) in wps_build_cred() 1738 wps->new_psk[wps->new_psk_len - 1] == '=') in wps_build_cred() 1741 wps->new_psk, wps->new_psk_len); in wps_build_cred() 1742 os_memcpy(wps->cred.key, wps->new_psk, wps->new_psk_len); in wps_build_cred() 1765 os_free(wps->new_psk); in wps_build_cred() 1767 wps->new_psk = os_malloc(wps->new_psk_len); in wps_build_cred() 1768 if (wps->new_psk == NULL) in wps_build_cred() 1771 random_get_bytes(wps->new_psk, wps->new_psk_len) < 0) { in wps_build_cred() [all …]
|
D | wps_common.c | 378 os_free(data.new_psk); in wps_get_oob_cred() 383 if (wps->wps_state == WPS_STATE_NOT_CONFIGURED && data.new_psk && in wps_get_oob_cred() 395 os_memcpy(cred.key, data.new_psk, data.new_psk_len); in wps_get_oob_cred() 401 data.new_psk, data.new_psk_len); in wps_get_oob_cred() 406 os_free(data.new_psk); in wps_get_oob_cred()
|
D | wps_i.h | 96 u8 *new_psk; member
|
D | wps.c | 181 bin_clear_free(data->new_psk, data->new_psk_len); in wps_deinit()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_registrar.c | 1747 os_free(wps->new_psk); in wps_build_cred() 1748 wps->new_psk = base64_encode(r, sizeof(r), &wps->new_psk_len); in wps_build_cred() 1749 if (wps->new_psk == NULL) in wps_build_cred() 1753 wps->new_psk[wps->new_psk_len - 1] == '=') in wps_build_cred() 1756 wps->new_psk, wps->new_psk_len); in wps_build_cred() 1757 os_memcpy(wps->cred.key, wps->new_psk, wps->new_psk_len); in wps_build_cred() 1774 os_free(wps->new_psk); in wps_build_cred() 1776 wps->new_psk = os_malloc(wps->new_psk_len); in wps_build_cred() 1777 if (wps->new_psk == NULL) in wps_build_cred() 1780 random_get_bytes(wps->new_psk, wps->new_psk_len) < 0) { in wps_build_cred() [all …]
|
D | wps_common.c | 378 os_free(data.new_psk); in wps_get_oob_cred() 383 if (wps->wps_state == WPS_STATE_NOT_CONFIGURED && data.new_psk && in wps_get_oob_cred() 395 os_memcpy(cred.key, data.new_psk, data.new_psk_len); in wps_get_oob_cred() 401 data.new_psk, data.new_psk_len); in wps_get_oob_cred() 406 os_free(data.new_psk); in wps_get_oob_cred()
|
D | wps_i.h | 96 u8 *new_psk; member
|
D | wps.c | 181 bin_clear_free(data->new_psk, data->new_psk_len); in wps_deinit()
|