Scalable Building Blocks for Privacy Enhancing Machine Learning