Authentication, Security, and Performance for the Internet of Things