Skip to content
Open access

Lattice: Enabling Scalable Enclaves for Commercial RISC-V Platforms

Sep 2026 · ACM Transactions on Architecture and Code Optimization (TACO) · 0 citations · 15 references

TL;DR

Lattice is introduced, a novel RISC-V TEE framework that enables scalable enclaves on commercial RISC-V platforms with a minimal Trusted Computing Base (TCB) and proposes a non-intrusive Secure Monitor design for the underlying firmware.

Abstract

Trusted Execution Environments (TEEs) have been extensively adopted to facilitate various security-critical applications. However, in stark contrast to well-established TEE technologies such as Intel SGX, AMD SEV, and ARM TrustZone, the adoption within the emerging RISC-V architecture has seen limited traction. Specifically, existing TEE implementations on current commercial RISC-V hardware face two primary constraints. On the one hand, most approaches rely on specific hardware extensions or software firmware, hindering their practicality on real platforms. On the other hand, the intrinsic limits of RISC-V’s Physical Memory Protection (PMP) registers, a key hardware mechanism to achieve memory isolation, have significantly restricted the scalability of these designs. To address the above limitations, in this paper, we introduce Lattice, a novel RISC-V TEE framework that enables scalable enclaves on commercial RISC-V platforms with a minimal Trusted Computing Base (TCB). Firstly, for enhanced compatibility and portability, Lattice does not rely on any additional hardware extensions and proposes a non-intrusive Secure Monitor (SM) design for the underlying firmware. Secondly, to fully utilize the system’s available memory, Lattice leverages the Dynamic Physical Memory Permission (DPMP) design to enable the execution of enclaves with non-contiguous physical memory, and decouples the management of enclaves to minimize the size of the TCB. Finally, we evaluate the performance of Lattice under various workloads, including file system I/O, databases, web servers, large language models (LLMs), and different system loads. The experimental results indicate that Lattice achieves performance comparable to other TEE systems.

Read PDF

Similar papers

FORTE: Fault-tOlerant RISC-V with Trusted Enclaves

To the knowledge, this represents the first open-source RISC-V processor that is both Linux-capable and specifically targeted at booting the Keystone framework, including adapting Keystone software to the authors' platform, while simultaneously addressing hardware-level faults.

Pranav Bellur, Rohan Das, S. Karthikeyan · 0 citations
Preprint Oct 2026

Enabling Extended SGX Enclaves inside Confidential Virtual Machines

Confidential Virtual Machines (CVMs), such as AMD SEV-SNP, and process enclaves, such as Intel SGX, provide workload protection against cloud threats. However, they strongly differ in TCB, deployment cost and speed, peer workload protection, resource sharing, fine-grained isolation and attestation, and programming capa...

Pamenas Kariuki, Yi-Liang Dong, Quoc Do Le et al. · 0 citations
Open access Sep 2026

A Unified RISC-V Vector Framework for Large-Scale NTT in FHE and ZKP

This work proposes a unified framework to efficiently support Number Theoretic Transform (NTT) workloads in both FHE and ZKP, and designs limb-wise 256-bit arithmetic to efficiently support ZKP workloads using RVV.

Yi-Lin Dong, Zhan-Sheng Ye, Zheng-Yi Zhao et al. · 0 citations
Preprint Sep 2026

HermiCache: Enclave-Aware Cache Replacement for Trusted Execution Environments

Trusted Execution Environments (TEEs) protect enclave memory from untrusted software but remain vulnerable to cache-based side-channel attacks due to shared microarchitectural resources. Existing countermeasures use techniques such as cache partitioning or randomization: these solutions are not ideal if a designer want...

Oussama Elmnaouri, Pascal Cotret, Vianney Lapôtre et al. · 0 citations
Preprint Oct 2026

Efficient HQC Implementations on RISC-V: A Cross-Layer Design Space Exploration

RISC-V-based hardware/software co-design has become an established methodology for implementing post-quantum cryptography (PQC) on embedded devices. Its software programmability, extensible instruction-set architecture, and optional dedicated accelerators create a broad design space that offers the flexibility required...

Maximilian Schöffel, Johannes Feldmann, Elias Biehl et al. · 0 citations
Preprint Aug 2026

SxSSD: A Secure and Extensible Software-defined Solid State Drive

Solid-state drives (SSDs) are built on NAND flash memory and expose it to the operating system through a block-based storage interface. As NAND flash has special read/write constraints due to its hardware nature, a translation between OS-level I/Os and raw flash memory I/Os is needed. This results in a flash translatio...

Josh Dafoe, Bo Chen · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.