Scan chain encryption for the test, diagnosis and debug of secure circuits | IEEE Conference Publication | IEEE Xplore