Architectural Enhancements To Increase Trust In Cyber-Physical Systems Containing Untrusted Software And Hardware