Searched refs:tmp_passwd (Results 1 – 1 of 1) sorted by relevance
64 unsigned char * tmp_passwd = NULL; in get_tmp_passwd() local66 tmp_passwd = (unsigned char*)malloc(MAX_PASSWORD_LEN); in get_tmp_passwd()67 if(tmp_passwd) { in get_tmp_passwd()68 memset(tmp_passwd, 0, MAX_PASSWORD_LEN); in get_tmp_passwd()70 memcpy(tmp_passwd, passwd, passwd_len); in get_tmp_passwd()77 return tmp_passwd; in get_tmp_passwd()116 unsigned char* tmp_passwd = get_tmp_passwd(passwd); in set_key() local117 if(tmp_passwd) { in set_key()120 err = qseecom_update_key(QSEECOM_DISK_ENCRYPTION, current_passwd, tmp_passwd); in set_key()122 err = qseecom_create_key(QSEECOM_DISK_ENCRYPTION, tmp_passwd); in set_key()[all …]