The majority of mobile devices today are based on Arm architecture that supports the hosting of trusted applications in Trusted Execution Environment (TEE). RISC-V is a relatively new open-source instruction set architecture that was engineered to fit many uses. In one potential RISC-V usage scenario, mobile devices could be based on RISC-V hardware. We consider the implications of porting the mobile security stack on top of a RISC-V system on a chip, identify the gaps in the open-source Keystone framework for building custom TEEs, and propose a security architecture that, among other things, supports the GlobalPlatform TEE API specification for trusted applications. In addition to Keystone enclaves the architecture includes a Trusted Hart -- a normal core that runs a trusted operating system and is dedicated for security functions, like control of the device's keystore and the management of secure peripherals. The proposed security architecture for RISC-V platform is verified experimentally using the HiFive Unleashed RISC-V development board.
翻译:今天大多数移动设备都基于支持在信任的执行环境中托管可信任应用程序的Arm架构。RISC-V是一个相对新的开放源码指令集架构,设计设计来适应多种用途。在一种潜在的RISC-V使用情景中,移动设备可以基于RISC-V硬件。我们考虑将移动安全堆放在RISC-V系统顶部的芯片上的影响,确定用于建设定制TEE的开放源基斯框架的缺口,并提议一个安全架构,除其他外,支持全球平台的受信任应用程序的定制。除了Keystone飞地外,该架构还包括一个受信任的哈特(一个正常核心,运行一个受信任的操作系统,专门用于安全功能,例如控制设备钥匙和管理安全的外围。拟议的RISC-V平台的安全架构将利用“动态无影响的RISC-V”开发委员会进行实验性核查。