Hardware Support for Machine Learning Security and Privacy