Foundations of hardware IP protection. (2017)