Secure And Private Machine Learning For Smart Devices