US President Barack Obama has signed into law the US $618 billion defence budget for 2017, which enhances security cooperation with India and conditions nearly half of the funding to Pakistan on a certification that it is taking demonstrable steps against the Haqqani Network and other terror groups.