The attorney general shall be responsible for the enforcement of the election laws as provided in RSA 7:6-c.