BlackBerry has received approval from the National Security Agency (NSA) to sell tools for securing phone calls and text messages to the United States government, with the Canadian smartphone producer joining Apple on the list of companies endorsed for federal government use.