Higher-Order Side Channel Security and Mask Refreshing.