🤖 AI Summary
This work addresses the challenge of generating high-security cryptographic keys on resource-constrained IoT devices, which often lack sufficient entropy sources. The authors propose a scalable, distributed entropy provisioning mechanism based on a RISC-V trusted execution environment (TEE). In this approach, devices leverage minimal initial true entropy or pre-provisioned keys to establish a secure channel and obtain high-quality entropy from a TEE-based server, with optional augmentation from external high-entropy sensors. To the best of the authors’ knowledge, this is the first implementation of a verifiable and scalable remote entropy service within a RISC-V TEE architecture. By integrating remote attestation and secure communication protocols, the scheme effectively enhances the security of IoT key generation. An open-source prototype demonstrates the feasibility and efficacy of constructing a trusted entropy infrastructure on open RISC-V platforms.
📝 Abstract
Entropy--a measure of randomness--is compulsory for the generation of secure cryptographic keys; however, Internet of Things (IoT) devices that are small or constrained often struggle to collect suf ficient entropy. In this article, we solve the entropy provisioning problem for a fleet of IoT devices that can generate a limited amount of entropy. We employ a Trusted Execution Environment (TEE) based on RISC-V to create an external entropy service for a fleet of IoT devices. A small measure of true entropy or pre-installed keys can establish initial secure communication. Once connected, devices can request cryptographically strong entropy from a TEE-backed server. RISC-V offers True Random Number Generators (TRNGs) and a TEE for devices to attest that they are receiving reliable entropy. In addition, this solution can be expanded by adding IoT devices with sensors that produce high-quality entropy as additional entropy sources for the RISC-V entropy provider. Our open-source implementation shows that building trusted entropy infrastructure for IoT is both feasible and effective on open RISC-V platforms.