What criminality? Unless the CIA was using the tools against targets in the US, there's no US law broken.
Every country does it.
Every country does it.
Targeting Americans for political purposes is illegal. Targeting Americans for National Security reasons is perfectly within National Security Law.
The only person who got in trouble for the domestic surveillance disclosures were the person who blew the whistle. That's because what he did was illegal and what they did wasn't.