Iranian President Hassan Rouhani told North Korea's foreign minister that the United States cannot be trusted, Tehran's state media said, as the United States seeks a deal to rein in the North's nuclear and missile programs.
Iran dismissed a last-minute offer from Washington for talks this week, saying it could not negotiate after the Trump administration reneged on a 2015 deal to lift sanctions in return for curbs on Iran's own nuclear program.
North Korea's top diplomat, Ri Yong Ho, visited Iran as the United States reintroduced sanctions against the Islamic Republic.
"The U.S. administration performance in these years has led the country to be considered untrustworthy and unreliable around the world which does not meet any of its obligations," Rouhani was quoted by the Islamic Republic News Agency (IRNA) as telling Ri on Wednesday.
"In the current situation, friendly countries should develop their relations and cooperation in (the) international community," he said, adding Iran and North Korea have "always had close views" on many issues.
Ri travelled to Tehran after attending a security forum in Singapore, where he and U.S. Secretary of State Mike Pompeo sparred over an agreement made at June's landmark summit between Trump and North Korean leader Kim Jong Un.
The two sides vowed to work towards North Korea's denuclearisation at the summit, but have since struggled to reach a deal to meet that goal. North Korea has been pursuing its weapons programs in defiance of U.N. Security Council resolutions and sanctions.
Ri told Rouhani that Washington's pullout from the 2015 pact and restoration of sanctions was an "action against international rules and regulations", IRNA said.
"North Korea's strategic policy is to deepen relations with the Islamic Republic of Iran and confront unilateralism," he said.
Trump decided to restore sanctions against Iran despite pleas from other world powers that had co-sponsored the deal, including Washington's main European allies, Britain, France and Germany, as well as Russia and China.
The sanctions have already led banks and many companies around the world to scale back dealings with Iran.
Companies doing business with Iran will be barred from the United States, Trump said on Tuesday.
Supreme Leader Ayatollah Ali Khamenei, the highest authority in Iran, said the country had nothing to be concerned about, his official website said on Wednesday.
"With regard to our situation do not be worried at all. Nobody can do anything," Khamenei said, the website reported.
"They can be sure. There is no doubt about this."