← Lab /Security & privacy

Secure enclave updates and migration add <1.5% overhead in RISC-V TEEs

The toolkit enables secure enclave update, migration, state continuity, and trusted time with negligible performance impact

Security & privacy arXiv 18 Mar 2026 Method Prototype evidence Threat model

Published as “On Securing the Software Development Lifecycle in IoT RISC-V Trusted Execution Environments”

Why it matters

Enables practical, low-overhead secure software lifecycle management for automotive and IoT devices using RISC-V TEEs.

Summary

Keyfort adds secure enclave update, migration, state continuity, and trusted time to RISC-V TEEs with negligible runtime overhead (state-continuity <1.5% overhead) and very low downtime (0.8% for 1 KB state updates, 10 ms for updates, 0.7 s for migrations of up to 16 KB). The evidence is based on a prototype implementation and micro-benchmarks on realistic applications.

What they found 2

  1. State-continuity adds less than 1.5% performance overhead

    “our state continuity solution incurs less than 1.5% overhead”

  2. Enclave downtime is as low as 0.8% for realistic 1 KB state updates

    “enclave downtime remains as low as 0.8% for realistic applications with a 1 KB state”

Caveats 1

  • Service downtime is limited to 10ms for updates and 0.7s for migrations of enclaves with up to 16KB of state, which is higher than the "negligible" overhead claimed for updates.

What’s new here 4

  • Provides the first modular extensions to RISC-V Security Monitors for secure enclave updates and migrations.
  • Introduces a trusted time source using the RISC-V mtime register protected by PMP.
  • Implements state-continuity mechanisms with monotonic counters and rollback-resistant version tracking.
  • Offers a lightweight API and user library for enclave developers to invoke lifecycle operations.

Threat model stated by the source

Adversaryuntrusted privileged software (OS/hypervisor) or a local attacker with physical control of the device
Capabilitycan invoke SM APIs, manipulate untrusted software, and observe device I/O
AssumesSecurity Monitor and hardware are trusted and cannot be compromised; Attacker cannot break the TCB