“…All major CPU vendors have rolled out their TEEs (e.g., ARM TrustZone, Intel SGX, and AMD SEV) to create a secure execution environment, commonly referred to as an enclave [24,79,96]. On the consumer end, TEEs are now being used for secure cloud services [25,31], databases [115], big data computations [37,59,121], secure banking [91], blockchain consensus protocols [9,92,98], smart contracts [32,49,141], machine learning [106,133], network middleboxes [67,68], and so on. These use-cases have diverse deployment environments ranging from cloud servers, client devices, mobile phones, ISPs, IoT devices, sensors, and hardware tokens.…”