Advances in fully homomorphic encryption: mathematical foundations, recent improvements, implementation results and open challenges for machine learning.