Searched refs:new_psk (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/wps/ |
D | wps_registrar.c | 1673 os_free(wps->new_psk); in wps_build_cred() 1674 wps->new_psk = base64_encode(r, sizeof(r), &wps->new_psk_len); in wps_build_cred() 1675 if (wps->new_psk == NULL) in wps_build_cred() 1679 wps->new_psk[wps->new_psk_len - 1] == '=') in wps_build_cred() 1682 wps->new_psk, wps->new_psk_len); in wps_build_cred() 1683 os_memcpy(wps->cred.key, wps->new_psk, wps->new_psk_len); in wps_build_cred() 1700 os_free(wps->new_psk); in wps_build_cred() 1702 wps->new_psk = os_malloc(wps->new_psk_len); in wps_build_cred() 1703 if (wps->new_psk == NULL) in wps_build_cred() 1706 random_get_bytes(wps->new_psk, wps->new_psk_len) < 0) { in wps_build_cred() [all …]
|
D | wps_common.c | 375 os_free(data.new_psk); in wps_get_oob_cred() 380 if (wps->wps_state == WPS_STATE_NOT_CONFIGURED && data.new_psk && in wps_get_oob_cred() 392 os_memcpy(cred.key, data.new_psk, data.new_psk_len); in wps_get_oob_cred() 398 data.new_psk, data.new_psk_len); in wps_get_oob_cred() 403 os_free(data.new_psk); in wps_get_oob_cred()
|
D | wps_i.h | 96 u8 *new_psk; member
|
D | wps.c | 183 bin_clear_free(data->new_psk, data->new_psk_len); in wps_deinit()
|