The claim came as the Trump administration vowed to withhold funding from states that don’t participate in federal programs purporting to secure elections.