ARM TrustZone is widely deployed on commercial-off-the-shelf mobile devices for secure execution. However, many Apps cannot enjoy this feature because it brings many constraints to App developers. Previous works have been proposed to build a secure execution environment for developers on top of TrustZone. Unfortunately, these works are still not fully-fledged solutions for mobile Apps, especially for emerging intelligent Apps. To this end, we propose LEAP, which is a lightweight developer-friendly TEE solution for mobile Apps. LEAP enables isolated codes to execute in parallel and access peripheral (e.g., mobile GPUs) with ease, flexibly manages system resources upon different workloads, and offers the auto DevOps tool to help developers prepare the codes running on it. We implement the LEAP prototype on the off-the-shelf ARM platform and conduct extensive experiments on it. The experimental results show that Apps can be adapted to run with LEAP easily and efficiently. Compared to the state-of-the-art work along this research line, LEAP can achieve an average 3.57x speedup in supporting intelligent Apps using mobile GPU acceleration.
翻译:ARM Trustone在现成的商用移动设备上广泛部署,用于安全执行。然而,许多Apps无法享有这一功能,因为它给App开发者带来了许多限制。先前曾提议为信托区顶部的开发者建立一个安全的执行环境。不幸的是,这些工程尚未完全成熟的移动应用程序解决方案,特别是新兴智能应用程序。为此,我们提议LEAP,这是移动应用程序的轻量级开发者友好TEE解决方案。LEAP使得孤立的代码能够轻松和灵活地在平行和无障碍的外围(如移动GPUs)执行,在不同工作量上灵活管理系统资源,并提供自动DevOps工具以帮助开发者准备运行该软件的代码。我们在现成的ARM平台上实施LEAP原型,并对其进行广泛的实验。实验结果显示,应用程序可以轻易和高效地适应LEAP系统运行。与该研究线上的最新工程相比,LEAP可以实现平均3.57x速度,利用移动GPU加速速度支持智能应用程序。