Home
last modified time | relevance | path

Searched refs:tmp_passwd (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/linkkit/wifi_provision/p2p/
A Dawss_wps.c101 tmp_passwd[ZC_MAX_PASSWD_LEN + 1] = { in get_ssid_passwd_from_w() local
182 memset(tmp_passwd, 0, ZC_MAX_PASSWD_LEN); in get_ssid_passwd_from_w()
187 memcpy(tmp_passwd, in, passwd_len); in get_ssid_passwd_from_w()
202 decode_chinese(tmp_passwd, passwd_len, passwd_cipher, in get_ssid_passwd_from_w()
205 memset(tmp_passwd, 0, ZC_MAX_PASSWD_LEN); in get_ssid_passwd_from_w()
206 aes_decrypt_string((char *)passwd_cipher, (char *)tmp_passwd, in get_ssid_passwd_from_w()
209 if (is_utf8((const char *)tmp_passwd, passwd_len) == 0) { in get_ssid_passwd_from_w()
236 if (passwd_len && !memcmp(tmp_passwd, magic_p_w_d, passwd_len)) { in get_ssid_passwd_from_w()
325 strncpy((char *)zc_passwd, (char const *)tmp_passwd, ZC_MAX_PASSWD_LEN - 1); in get_ssid_passwd_from_w()
/AliOS-Things-master/components/linkkit/wifi_provision/zero_config/
A Dawss_enrollee.c171 tmp_passwd[OS_MAX_PASSWD_LEN + 1] = { in decrypt_ssid_passwd() local
234 aes_decrypt_string((char *)p_passwd + 1, (char *)tmp_passwd, p_passwd[0], 1, in decrypt_ssid_passwd()
237 if (is_utf8((const char *)tmp_passwd, p_passwd[0]) != 1) { in decrypt_ssid_passwd()
245 printf("ssid:%s, tmp_passwd:%s\r\n", tmp_ssid, tmp_passwd); in decrypt_ssid_passwd()
246 strncpy((char *)out_passwd, (const char *)tmp_passwd, in decrypt_ssid_passwd()

Completed in 4 milliseconds