Secure And Trustworthy Hardware And Machine Learning Systems For Internet Of Things