Yahoo has said that all of its three billion user accounts were affected in a hacking attack dating back to 2013. Previously the internet giant had said more than one billion of its accounts had been hit.