TEHRAN, Iran Iran has supplied Hamas in Gaza with the technology to "quickly" produce longer-range missiles on its own without needing direct shipments, said a report Wednesday that quoted the head of Iran's powerful Revolutionary Guard.

Iran vowed retaliation Monday after accusing Pakistan, the U.S. and Britain of aiding Sunni militants who stunned the Islamic regime with a suicide bombing that killed top Revolutionary Guard commanders and dozens of others.

The chief of Iran's Revolutionary Guard on Monday accused the United States, Britain and Pakistan of having links with the Sunni militants responsible for a suicide bombing that killed five senior Guard commanders and 37 others.

The head of Iran's elite Revolutionary Guard Corps warned the U.S. Wednesday against attacking the Islamic Republic, saying if it did, Washington would be "stuck in a quagmire" worse than Iraq or Afghanistan.

A day before flying to New York to speak directly to the American people, Iranian President Mahmoud Ahmadinejad struck a confrontational tone Saturday with a parade of fighter jets and missiles and tough warnings for the United States to stay out of the Mideast.

Opponents of hardline President Mahmoud Ahmadinejad have assumed leadership of two of Iran's top institutions, a shakeup that reflects Western economic pressure on Iran and could lead to a less confrontational foreign policy, particularly on the nuclear issue.