A trusted execution environment (TEE) means a secure area which can guarantee the confidentiality and integrity of the code and data inside of this area. Usually a TEE is an isolated execution environment. It may be implemented as a special secure mode of the main processor, or a TEE could be maintained by a secure coprocessor.
CPU-Based TEE
First, let’s take a look at the CPU-based TEE.