Searched refs:dev_password (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/wps/ |
D | wps.c | 54 data->dev_password = os_malloc(cfg->pin_len); in wps_init() 55 if (data->dev_password == NULL) { in wps_init() 59 os_memcpy(data->dev_password, cfg->pin, cfg->pin_len); in wps_init() 62 data->dev_password, data->dev_password_len); in wps_init() 73 data->alt_dev_password = data->dev_password; in wps_init() 77 data->dev_password = in wps_init() 79 if (data->dev_password == NULL) { in wps_init() 83 os_memcpy(data->dev_password, in wps_init() 88 data->dev_password, data->dev_password_len); in wps_init() 96 bin_clear_free(data->dev_password, data->dev_password_len); in wps_init() [all …]
|
D | wps_enrollee.c | 172 if (wps->dev_password == NULL) { in wps_build_m3() 176 wps_derive_psk(wps, wps->dev_password, wps->dev_password_len); in wps_build_m3() 932 bin_clear_free(wps->dev_password, wps->dev_password_len); in wps_process_dev_pw_id() 934 wps->dev_password = wps->alt_dev_password; in wps_process_dev_pw_id() 974 wps->dev_password == NULL)) { in wps_process_m2()
|
D | wps_i.h | 70 u8 *dev_password; member
|
D | wps_registrar.c | 1359 bin_clear_free(wps->dev_password, wps->dev_password_len); in wps_get_dev_password() 1360 wps->dev_password = NULL; in wps_get_dev_password() 1407 wps->dev_password = os_malloc(pin_len); in wps_get_dev_password() 1408 if (wps->dev_password == NULL) in wps_get_dev_password() 1410 os_memcpy(wps->dev_password, pin, pin_len); in wps_get_dev_password() 1931 wps_derive_psk(wps, wps->dev_password, wps->dev_password_len); in wps_build_m4() 3296 wps->dev_password, wps->dev_password_len); in wps_process_wsc_done()
|