Home
last modified time | relevance | path

Searched refs:dev_password (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps.c54 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 …]
Dwps_enrollee.c172 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()
Dwps_i.h70 u8 *dev_password; member
Dwps_registrar.c1359 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()