“Attempt and conspiracy to import and distribute controlled substances” and “obstruction,” according to the complaint [1]. Creating an encrypted phone is probably legal. Creating an encrypted phone for drug traffickers is not. Intent matters to the law.
[1] https://www.documentcloud.org/documents/4406486-Vincent-Ramo...
Disclaimer: I am not a lawyer. This is not legal advice.