PIE: A Platform-wide TEE