frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Confidential computing for high-assurance RISC-V embedded systems

https://github.com/IBM/ACE-RISCV
103•mrnoone•1y ago
Dear HN community! Looking forward to hearing your feedback on ACE (assured confidential execution), technology that implements VM-based trusted execution environment (TEE) for embedded RISC-V systems with focus on a formally verified and auditable firmware. We target high-assurance systems that can benefit from compartmentalization and hardware-backed isolation. The key ingredient called security monitor (firmware) is implemented in Rust. The formal specification is defined as annotations directly in code and gets translated to Coq using RefinedRust automation. ACE design is now part of the RISCV confidential VM extension (CoVE) specification (deployment model 3).

Comments

IshKebab•1y ago
Can you explain what the relationship is between this and CoVE? Is ACE (this repo) the firmware, and CoVE the RISC-V hardware extensions that it requires?

How does it run on a P550 if that doesn't support CoVE?

aseipp•1y ago
Yes, that's basically the relationship between CoVE and ACE, from a quick glance. In this case, ACE is simply implementing a formally modeled and verified security monitor where the design has been extracted to Coq and the invariants proven.

It can work on P550 because CoVE supports several "Deployment strategies", the one ACE uses is referenced in the README: CoVE spec, Appendix D, "M-mode [Trusted Security Manager] based deployment model" https://github.com/riscv-non-isa/riscv-ap-tee/blob/main/src/... -- the other appendicies detail e.g. Smmtt based designs, and apparently there's a not-yet-written "Nested Virtualization" design in Appendix C.

They also note that the P550 isn't a "true" port due to the preliminary, non-ratified H extension, and it also misses another required extension called "Sstc" but they just emulate it. (Sstc is interesting; it seems to be a performance optimization for delivering timer interrupts directly to supervisors, but I can imagine in the case of CoVE timer interrupts going through M-mode could leak data, making it more of a security issue.)

Leveraging M-mode is basically how previous security monitors like keystone worked too, back on the original HiFive Unleashed. It just sorta treats M-mode as an analogue to the "secure world" in ARM parlance, though there is no requirement that M-mode has e.g. an encrypted memory controller and dedicated memory region, and I'm guessing other things (I'm not super familiar with TrustZone.)

Broadly speaking this reminds me as a kind of a evolution/combination of Microsoft's Komodo (formally verified, but was only for e.g. SGX-style enclaves) and existing M-mode TEE systems like Keystone -- but upgraded to support "Confidental Computing" virtual machines. So that's quite nice.

mrnoone•1y ago
The CoVE specification defines a unified confidential computing architecture for RISC-V that scales across embedded, edge, and cloud use cases. The system designers select the appropriate deployment model based on the specific constraints and goals of their target systems. ACE adopts the deployment model tailored for mid- to high-end embedded platforms (see Appendix D in the CoVE spec).

Ultimately, we should expect multiple CoVE implementations optimized for different domains. For instance, in cloud environments, the focus is on maximizing performance and resource utilization—typically requiring full CoVE support and advanced hardware features such as Smmtt and AIA. Salus from Rivos is an example of such a high-end implementation. In contrast, embedded systems have limited power and silicon budgets, and thus prioritize simpler hardware. These systems trade off performance and accept memory fragmentation in favor of reduced hardware complexity and cost—ACE is designed with this trade-off in mind.

ACE runs on P550 by emulating the missing hardware features. This enables experimental deployment on real hardware. (P550 is the first commercially available RISC-V processor with virtualization support.)

neom•1y ago
Developers have faced in the confidential computing space, particularly with x86 TEEs, fragmentation leading to vendor lockin and a difficult developer experience due to multiple, somewhat incompatible standards/approaches. Does the CoVE effort, and IBM's involvement in it, aim to prevent a similar situation in the RISC-V world, fostering a more open and standardized TEE ecosystem? Are you using CCC to align RISC-V CoVE with efforts to improve the developer experience? I hope we see common abstractions across different TEE architectures!!!
mrnoone•1y ago
I agree with your point, we need common abstractions across different TEE architectures!

The CoVE specification addresses fragmentation in the RISC-V ecosystem by defining a unified confidential computing architecture that scales across embedded, edge, and cloud use cases. Higher layers of the software stack, for example Linux KVM and QEMU, implement the defined ABI, enabling support for a variety of CoVE-compliant implementations. Currently, there are two CoVE implementations: ACE, targeting embedded systems, and Salus, aimed at cloud deployments. Additionally, there are efforts underway to port OP-TEE to the CoVE architecture.

Within the Linux kernel, there is ongoing work to unify internal interfaces across different TEE implementations (x86,ARM,Z,PowerPC) and harden the guest kernel. The CoVE patches are designed to align with these abstractions, though they have not yet been upstreamed. Remote attestation is still the pain point, since the CoVE spec proposes formats that are not compatible with Intel/AMD/TPM style. On the other hand, the ACE's local attestation re-uses the format from OpenPOWER PEF and opens it with versioning to new algorithms and properties.

From an end-user standpoint, VM-based TEEs are more agnostic to the underlying hardware technology compared with process-based TEEs, as they rely on the virtualization boundary for isolation. What does still change is the guest kernel and its supporting libraries, which must be adapted to leverage platform-specific attestation mechanisms.

anonymousDan•1y ago
How does this differ from Keystone?
mrnoone•1y ago
There are two key differences:

(1) ACE leverages hardware virtualization support, including an MMU, to enable confidential virtual machines. In contrast, Keystone is designed for simpler processors that rely on just machine/supervisor/user privilege levels and physical memory protection (PMP), making it more suitable for process-based enclaves—similar to architectures like Komodo or Intel SGX. In that sense, ACE is conceptually closer to Intel TDX, but tailored for a different domain: embedded systems rather than cloud infrastructure.

(2) In ACE, the architecture and code are simplified to facilitate formal verification.

hyperhello•1y ago
> ACE supports local attestation, a mechanism to authenticate confidential VMs intended for embedded systems with limited or no network connectivity.

I'm interested to know the safe definition of 'limited' connectivity - is there some kind of boundary which logical reasoning can't support?

l0ng1nu5•1y ago
This area is where I see riscv excelling ahead of current proprietary options. I don't think it can compete on speed in terms of general purpose computing at this point.

The way I see it, once guaranteed security is offered, security conscious IT admins will insist on using it and the herd will eventually follow.

Limoges Town Hall, Which Survived Two World Wars, Is Destroyed in France Riots

https://uk.news.yahoo.com/limoges-town-hall-survived-two-054115920.html
1•baxtr•22s ago•0 comments

The Decoherence Trap

https://maevyn.codes/decoherence
1•mfbx9da4•2m ago•0 comments

Three Scenarios for a Leaderless World

https://www.nytimes.com/2026/10/18/opinion/america-world-order-democracy-trump.html
1•dkobia•2m ago•0 comments

The Standard of Excellence in Exhibition Poultry

https://en.wikipedia.org/wiki/British_Poultry_Standards
1•Bluestein•2m ago•0 comments

Minmax matrix: Desk routing went from 11% to 90%"

https://medium.com/@vektormemory/vektor-2-0-1-desk-routing-went-from-11-to-90-heres-how-we-measur...
1•vektormemory•8m ago•1 comments

Why is GitHub so bad at UI?

https://earthly-delights.net/blog/github/
1•mustardgreen•8m ago•0 comments

Show HN: Chrome extension that types one prompt into many AI chat tabs

https://chromewebstore.google.com/detail/use-multiple-chat-ai-at-o/pcpciffaliaooacnhiefjiegigjidehp
1•yesgenius•8m ago•0 comments

The Landscape of Humanoids – 2,351 products, 788 companies

https://airfold.co/humanoid-technology-map/
2•julianofficial•12m ago•0 comments

Blitz 3D Pro: A 2D/3D cool BASIC based on BlitzBasic

https://twitter.com/BlackCreepy_Cat/status/2111739882821374354
1•seyhajin•12m ago•0 comments

Young People and the Future of Free Expression

https://knightfoundation.org/articles/research/young-people-and-the-future-of-free-expression/
1•jruohonen•14m ago•0 comments

Making Solar Panels with a Microwave [video]

https://www.youtube.com/watch?v=zcWkApGjyGM
1•jackdoe•19m ago•0 comments

I verified on-chain why mined Pi and exchange Pi are the same asset

https://github.com/aybvip/pi-fungibility
1•ayoubbbs•20m ago•0 comments

Data centers are now the largest financial bet in US history

https://stateline.org/2026/10/16/data-centers-are-now-the-largest-financial-bet-in-us-history/
2•rdmuser•20m ago•0 comments

I may have discovered a new exoplanet using Claude

https://sixeleven.in/blog/tic402710280
1•specbug•20m ago•0 comments

The One Question I Can't Stand at Restaurants ("What's your phone number?")

https://www.theatlantic.com/culture/2026/10/restaurant-phone-number-question/688926/
2•Kaibeezy•21m ago•2 comments

Eval of 19 ways to crop images using LLMs, Jev and image classification models

https://workflows-of-ai.com/blog/can-ai-set-the-focal-point-of-a-photo
1•marcus_johansso•22m ago•0 comments

Legal experts warn Meta's new terms still grant broad scraping permissions

https://www.niemanlab.org/2026/10/legal-experts-warn-metas-new-terms-still-grant-broad-scraping-p...
2•DeepLogin•23m ago•0 comments

Study Offers Insights on How Heart Valves Last So Long

https://news.ncsu.edu/2026/10/how-heart-valves-last-so-long/
1•giuliomagnifico•23m ago•0 comments

What an adult ADHD diagnosis taught me

https://blog.raed.dev/posts/adhd/
1•Raed667•26m ago•0 comments

It's time to talk about TEEs

https://alinush.github.io//tee
1•joshcsimmons•30m ago•0 comments

Everything Rhymes with Porcelain

https://worksinprogress.co/issue/everything-rhymes-with-porcelain/
1•dverlaeckt80•30m ago•0 comments

Show HN: AIOps Cockpit – An open-source AI SRE with human-in-the-loop safety

https://github.com/matricphase-dot/aiops
1•adityam_9911•33m ago•0 comments

The Public Pays to Produce Research. Shareholders Collect the Return

https://sparcopen.org/news/2026/sparc-releases-cost-of-knowledge-accounting-analysis-profitabilit...
2•jruohonen•34m ago•0 comments

Open-source tax rules for 100 countries that your LLM can use

https://github.com/openaccountants/openaccountants
2•MichaelCutajar•35m ago•0 comments

Offline-first payment protocol with adaptive Byzantine consensus (3f+1 → 1f+1)

https://github.com/masondosibongakonke2-blip/yodpay-core
1•sbongamasondo•36m ago•0 comments

Gaza changed Europe, exposing cracks that grow bigger by the week

https://www.theguardian.com/commentisfree/2026/oct/15/how-gaza-changed-europe-exposing-cracks-tha...
1•hebelehubele•38m ago•0 comments

We're sunsetting Codeberg Pages v2

https://blog.codeberg.org/migrate-your-site-to-the-new-git-pages-backed-codeberg-pages-now-were-s...
3•classified•43m ago•0 comments

China proposes export controls on its advanced AI models and chip designs

https://thenextweb.com/news/china-ai-export-controls-draft
2•poszlem•43m ago•0 comments

Ask HN: Why people keep posting AI-generated projects around the Internet?

3•Eliah_Lakhin•44m ago•3 comments

Meta updates data scraping policy following criticism

https://www.mercurynews.com/2026/10/16/meta-updates-data-scraping-policy-following-criticism/
1•rdmuser•47m ago•0 comments