Lines Matching refs:passwd_len
108 uint8_t len, flag, ssid_len, passwd_len; in zconfig_recv_completed() local
120 passwd_len = pkg_len(4) & PAYLOAD_BITS_MASK; in zconfig_recv_completed()
123 passwd_len = pkg_len(3) & PAYLOAD_BITS_MASK; in zconfig_recv_completed()
217 if (len != ssid_len + passwd_len + 4 + 2) { in zconfig_recv_completed()
220 } else if (len != passwd_len + 3 + 2) { in zconfig_recv_completed()
229 int i, ssid_len, package_num, passwd_len, ret; in zconfig_get_ssid_passwd() local
309 passwd_len = pbuf[1]; in zconfig_get_ssid_passwd()
361 passwd_len = pbuf[0]; in zconfig_get_ssid_passwd()
368 decode_chinese(pbuf, passwd_len, tmp, &passwd_cipher_len, 6); in zconfig_get_ssid_passwd()
369 passwd_len = passwd_cipher_len; in zconfig_get_ssid_passwd()
371 aes_decrypt_string((char *)tmp, (char *)zc_passwd, passwd_len, 1, in zconfig_get_ssid_passwd()
373 if (is_utf8((const char *)zc_passwd, passwd_len) == 0) { in zconfig_get_ssid_passwd()
385 memcpy((void *)tmp, (const void *)pbuf, passwd_len); in zconfig_get_ssid_passwd()
386 tmp[passwd_len] = '\0'; in zconfig_get_ssid_passwd()
387 for (i = 0; i < passwd_len; i++) { in zconfig_get_ssid_passwd()
400 pbuf += passwd_len; /* passwd */ in zconfig_get_ssid_passwd()