McCain said the proposed legislation would authorize funds to ensure Iranians have the software and other tools to evade government censorship and surveillance online .