What Are TEEs? Confidential Computing vs ZK, FHE and MPC
How TEEs, remote attestation and confidential GPUs work, how crypto and private AI use them, and how they compare with ZK, FHE and MPC.
Short answer
A trusted execution environment (TEE) is a chip-level sealed box: code and data run encrypted in memory, and the hardware can sign proof of what is running. TEEs, zero-knowledge (ZK) proofs, fully homomorphic encryption (FHE) and multiparty computation (MPC) all protect data, but they ask you to trust different things. A TEE trusts the chip vendor and the physical security of the machine. ZK trusts math and proves correctness. FHE trusts math and computes on encrypted data, at a high speed cost. MPC trusts that enough parties will not collude. As of December 2026, TEEs suit private AI inference and agent key custody, ZK suits public verification, FHE suits confidential on-chain state, and MPC suits key custody.
Updated December 5, 2026.
Key takeaways
- A TEE gives near-normal speed and runs ordinary code, including GPU workloads. Its security rests on hardware, firmware and the vendor’s attestation chain.
- Attestation proves what is running, not that the code is good. It is only as strong as the vendor root of trust and the verifier’s checks.
- Published interposer attacks (Battering RAM, WireTap, TEE.Fail) show physical access can break some Intel and AMD TEEs. Both vendors treat such attacks as out of scope.
- Crypto uses so far: private AI inference, agent signing keys and Ethereum block building.
- No single tool wins. Many production designs combine TEEs with MPC or ZK.
Who this is for: Developers, security reviewers, protocol researchers and informed readers comparing privacy tools for AI and onchain systems. This is education, not investment or security advice.
Public blockchains expose everything by default, and cloud AI asks you to trust the operator with your prompts. Confidential computing tries to close both gaps by protecting data while it is in use. This guide is a child of our explainer on data provenance for AI, which covers how blockchains prove where data and models came from.
TEE vs ZK vs FHE vs MPC by the numbers
How do TEEs, ZK, FHE and MPC compare?
| Factor | TEE | ZK proofs | FHE | MPC |
|---|---|---|---|---|
| Core idea | Hardware isolates and encrypts a workload | Prove a statement is true without revealing why | Compute directly on encrypted data | Several parties jointly compute without sharing inputs |
| What you trust | Chip vendor, firmware, physical security | Math, proof system, circuit correctness | Math and key management | That a threshold of parties do not collude |
| Hides data from the operator? | Yes, if the hardware holds | Not by itself; the prover usually sees inputs | Yes | Yes, across the parties |
| Proves correct execution? | Via attestation of code, not of results | Yes, publicly verifiable | No, unless paired with proofs | Depends on protocol |
| Speed | Near native, with some overhead | Proving is costly, verifying is cheap | Large overhead versus plaintext | Network rounds add latency |
| General code and GPUs | Yes | Needs circuits or a zkVM | Limited, improving | Limited by communication cost |
| Special hardware | Yes, specific CPUs and GPUs | No (accelerators help) | No (accelerators help) | No |
| Main failure mode | Side-channel or physical key extraction | Circuit or setup bugs | Performance, key handling | Collusion, liveness |
| Typical crypto use | Private inference, agent keys, block building | Rollups, proofs of state | Confidential tokens | Wallet and custody key shares |
| Best suited to | Fast private compute you can attest | Public verification | Shared encrypted state | Key custody, joint analysis |
Table is a general summary, not a ranking. See our guides to zero-knowledge proofs and MPC custody.
What is a TEE?
A TEE is a hardware-enforced isolation boundary with three properties: confidentiality (memory encrypted with keys the host never holds), integrity (tampering is detected) and attestation (a signed measurement of the launched software).
Intel TDX creates confidential virtual machines called trust domains. It isolates guest register state and encrypts guest memory. AMD SEV-SNP is the comparable AMD technology, with attestation reports signed by a chip-unique key. Nvidia extends the boundary to the GPU: its H100 produces a cryptographically signed set of measurements, and the H100 relies on a CPU TEE such as Intel TDX, AMD SEV-SNP or Arm CCA. On Blackwell systems, the PCIe link and the NVLink fabric between GPUs are encrypted.
How does remote attestation work?
RFC 9334 defines the pattern: an Attester produces evidence about itself so a Relying Party can decide whether to trust it, with a Verifier facilitating. In practice:
- Intel TDX: the process has two steps, TDREPORT generation and Quote generation, so the report becomes remotely verifiable.
- AMD SEV-SNP: the VCEK, unique to each chip and TCB version, signs attestation reports. The VCEK chains to the AMD Signing Key and then the AMD Root Key.
- Nvidia GPUs: Nvidia’s NRAS service handles GPU attestation, and a verifier checks a TDX quote together with a GPU report.
The limit: attestation shows launch state and platform identity, and it only holds if verifiers actually perform every check. It also trusts the vendor’s certificate chain, which is exactly what the attacks below target.
How do crypto networks use TEEs?
Private AI inference. NEAR AI Cloud runs open-weight models inside TEEs built on Intel and Nvidia confidential computing, and attaches hardware-signed attestation to every response. Phala Cloud offers private LLM inference and sealed agents on Intel TDX plus Nvidia H100 and H200 GPUs. Related reading: decentralized compute networks.
Agent keys. Wallet providers keep signing keys away from the model. Privy says TEEs and key sharding isolate every signing operation, and Openfort says its agent keys are generated and used in a Google Cloud Confidential Space TEE with AMD SEV-SNP memory encryption. This is the custody layer behind AI agent payments. The agent calls an API; the enclave enforces policy before signing.
Block building. Flashbots’ BuilderNet runs as TDX VM images so operators cannot read private order flow, a defense against MEV extraction. The first TDX-built mainnet block landed April 30, 2024.
The FHE alternative. The Zama App is the official interface for confidential tokens on Ethereum mainnet, built on a protocol that uses FHE. It shows where cryptography-only designs are shipping.
What attacks on TEEs are known?
The prominent ones are physical. Battering RAM bypasses Intel SGX and AMD SEV-SNP with a DDR4 interposer. Its authors disclosed to Intel and AMD in February 2025. WireTap targeted Intel SGX on DDR4. TEE.Fail was the first demonstrated against DDR5, and its authors said it can extract keys from Intel TDX and AMD SEV-SNP, in some cases including secret attestation keys. Its paper also reports a breach of BuilderNet’s use of TDX. A caveat on Nvidia: write-ups say attestation reports could be borrowed once a CPU TEE is compromised, so GPU protection inherits CPU weaknesses.
Vendor positions: Intel says interposer attacks are outside the protection boundary of its memory encryption, and AMD said it has no plans to mitigate because physical attacks are out of scope for SEV-SNP. These attacks need physical access, so risk concentrates in untrusted or anonymous data centers. Software attacks exist too (see WeSee and Heracles in the research). A TEE also cannot control the network: a host can censor a TEE-based block builder by controlling its traffic.
Which tool suits whom?
- Private AI inference at speed: TEE, because the overhead of FHE or MPC is prohibitive for large models. Check attestation and the operator’s data-center security.
- Public proof that a result is correct: ZK.
- Shared encrypted onchain state: FHE, accepting slower execution.
- Splitting a signing key: MPC, often with a TEE or policy engine around it.
Layered designs reduce single-point risk. That is a design principle, not advice.
What to watch next
- Vendor responses to physical attacks. Watch for new memory-integrity or freshness protections from Intel and AMD.
- Device attestation. Intel TDX Connect documents how device attestation for TEE-IO would work.
- Verifier hardening. Research on proving a machine sits in a trusted data center is active.
- FHE scale. GPU-accelerated coprocessors reached testnet in June 2026, according to one secondary source.
Want to hear how builders think about privacy, AI and trust? Browse founder interviews in the Crypto Coin Show Interview & Founder Hub.
Glossary
- TEE
- Trusted execution environment: hardware-isolated, encrypted execution with attestation.
- Confidential VM
- A virtual machine whose memory the host and hypervisor cannot read, as with TDX and SEV-SNP.
- Remote attestation
- Signed evidence of a platform’s hardware and software state, appraised by a verifier.
- VCEK
- AMD’s chip-unique key that signs SEV-SNP attestation reports.
- NRAS
- Nvidia Remote Attestation Service, used to verify GPU attestation.
- Interposer
- A device placed between CPU and memory that observes or alters bus traffic.
- FHE
- Fully homomorphic encryption: computation on data that stays encrypted.
- MPC
- Multiparty computation: several parties compute jointly without revealing inputs.
Why it matters
Private AI and autonomous agents need secrets that no operator can see. TEEs are the fastest option available today, but they move trust from an operator to a chip vendor. Read the threat model before relying on the label “confidential.”
Sources
- IETF: RFC 9334, Remote ATtestation procedureS (RATS) Architecture
- Linux kernel documentation: Intel Trust Domain Extensions (TDX)
- AMD: SEV-SNP, Strengthening VM Isolation with Integrity Protection (white paper)
- Communications of the ACM: Creating the First Confidential GPUs
- arXiv: Benchmarking Confidential Computing Performance on NVIDIA Blackwell GPUs
- TEE.fail research paper (Georgia Tech, Purdue)
- Battering RAM project site (KU Leuven, University of Birmingham)
- Intel: More Information on Encrypted Memory Frameworks
- The Hacker News: New TEE.Fail Side-Channel Attack, October 2025
- The Hacker News: New $50 Battering RAM Attack, October 2025
- NEAR AI Cloud: Private AI inference you can verify, updated November 16, 2026
- Flashbots Collective: Network-level Censorship in TEEs
- The Block: Zama launches token, debuts privacy metric, February 2, 2026
Disclosure: This guide is for education only and is not investment, legal, tax or security advice. It does not recommend any token, network or product.
Frequently asked questions
What is a trusted execution environment (TEE)?
A TEE is a hardware-enforced isolation boundary inside a processor. It encrypts and integrity-protects the memory of a workload, hides it from the host operating system and hypervisor, and can produce a signed attestation report showing what code is running. Examples are Intel TDX, AMD SEV-SNP and Nvidia's confidential computing mode on H100 and Blackwell GPUs.
What is remote attestation?
Remote attestation is the process by which a TEE produces signed evidence about its hardware and loaded software, and a verifier checks that evidence against reference values before a user sends data or secrets. The IETF describes the roles in RFC 9334: Attester, Verifier and Relying Party.
Is a TEE more private than zero-knowledge proofs?
They protect different things. A TEE hides data from the machine's operator but relies on trust in the chip vendor and its attestation. A zero-knowledge proof relies on mathematics to show a computation was correct, but it does not by itself hide data from whoever generates the proof. Which is better depends on the threat model.
Can TEEs be hacked?
Yes. Academic teams have shown physical memory-bus attacks (Battering RAM, WireTap, TEE.Fail) that can extract keys or forge attestation on some Intel and AMD systems. Intel and AMD describe physical interposer attacks as outside their threat models, so data-center physical security and attestation hygiene matter.
How do crypto projects use TEEs for AI?
Networks such as NEAR AI Cloud and Phala run open-weight models inside Intel TDX and Nvidia GPU TEEs and return attestation evidence with responses. Wallet providers also keep AI agent signing keys inside TEEs behind policy engines so the agent never handles the raw key.
This explainer is reviewed and updated as the rules and the market change. Last reviewed December 5, 2026. It is educational content and not financial, legal or tax advice.