Function-driven cyber-physical security in smart manufacturing | Synapse