Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

TEE Technologies: AMD SEV-SNP, Intel TDX, and Intel SGX

CNCF Confidential Containers

This chapter compares the major Trusted Execution Environment (TEE) technologies — AMD SEV-SNP, Intel TDX, and Intel SGX, and explains how they implement memory isolation, measured boot, TCB configurations, certificate chains, and remote attestation.


TCB Configurations for VM TEEs

The placement of the vTPM relative to the TEE boundary has a direct impact on what ends up in the Trusted Computing Base.

vTPM Outside the TEE

TCB for VM TEEs with vTPM — two configurations
ConfigurationvTPM LocationHypervisor in TCB?Used By
vTPM outside TEEManaged by hypervisor✔ YesAWS, GCP
vTPM inside TEEInside the CVM✗ NoAzure CVMs, bare metal (with SVSM)

vTPM Inside the TEE (SVSM)

SVSM (Secure VM Service Module) runs inside the TEE and provides hypervisor-like services (such as vTPM) without involving the hypervisor itself. This means even the cloud provider’s hypervisor is excluded from the TCB.

TCB for AMD VM TEEs with SVSM

Without vTPM (Direct Boot Model)

When no vTPM is used, the hypervisor is excluded from the TCB entirely. The hardware Root of Trust generates attestation reports directly from its own measurements.

TCB for VM TEEs without vTPM

AMD SEV-SNP

Measured Boot

Here is an example measured boot flow with an SNP VM TEE in a KVM/Qemu environment. Note that TPM is not used. Instead, the hashes of the kernel, kernel command line and initramfs are stored in guest memory and measured by the AMD Secure Processor (SP).

  1. Qemu started with -kernel param (direct boot)

  2. Qemu loads OVMF into guest memory

  3. Qemu loads hashes of kernel, kernel command line and initramfs into guest memory

  4. AMD Secure Processor (SP) measures all the guest memory

  5. Once the OVMF is loaded, it will load the kernel and initramfs into memory, but it will continue the boot process only if the hashes of the kernel, kernel command line and initramfs match the hashes in the measured SEV hashes page in guest memory. (OVMF holds no hash values itself — QEMU injects the hashes page into guest memory, and it is covered by the launch measurement.)

The measurements are available at any time as part of the attestation report and can be used for remote attestation. The attestation report is signed with the Versioned Chip Endorsement Key (VCEK).

Measured boot with AMD SEV-SNP

Certificate Chain

AMD Root Key (ARK)
    └── signs AMD SEV Key (ASK)
            └── signs VCEK certificate
                    └── VCEK private key signs SNP attestation report

The VCEK is unique per chip and firmware version. AMD’s Key Distribution Service (KDS) provides VCEK certificates publicly.

KDS is stateless: certificates are fetched on demand by chip ID and TCB version, with no platform registration required.

The root of trust for the chain is AMD’s ARK (AMD Root Key), a long-lived key pair whose public half is published by AMD and embedded in verifier software. Trusting ARK means trusting AMD as the hardware manufacturer — it is the foundational assumption for all AMD SEV-SNP attestation.


Intel TDX

Measured Boot

Here is an example measured boot flow with a TDX VM TEE in a KVM/Qemu environment. Note that TPM is not used.

  1. Qemu started with -kernel param (direct boot)

  2. Qemu loads OVMF into guest memory

  3. The initial TD contents are measured into the build-time register MRTD by the TDX module.

  4. OVMF (TDVF) measures the kernel into RTMR1; the kernel’s EFI stub then measures the kernel command line and initramfs into RTMR2. RTMRs are Runtime Extendable Measurement Registers.

The measurements (MRTD plus the RTMRs and their event log) are available at any time and can be used as evidence for remote attestation.

Measured boot with Intel TDX

Certificate Chain

Intel Root CA
    └── signs Intel Provisioning Certification Key (PCK) Platform CA
            └── signs PCK Certificate
                    └── Provisioning Certification Enclave (PCE) certifies Quoting Enclave (QE) Attestation Key
                            └── QE signs TDX Quote

The PCK (Provisioning Certification Key) certificate is platform-specific and TCB-version dependent. Intel’s Provisioning Certification Service (PCS) provides PCK certificates. The Quoting Enclave (QE) generates and signs the TDX Quote, while the Provisioning Certification Enclave (PCE) certifies the QE attestation key.

PCS is more infrastructure-heavy than AMD KDS: it requires platform registration, subscription/API access, and a PCCS caching layer for production deployments.

The root of trust is Intel’s Root CA, whose public key is published by Intel and embedded in verifier software. Trusting Intel Root CA means trusting Intel as the hardware manufacturer.


AMD SEV-SNP vs Intel TDX — Comparison

Attestation Evidence

With TPMWithout TPM (SNP/TDX direct boot)
MeasurementsPCRsSpecific memory locations (SNP) / RTMRs (TDX)
EvidencePCR Quote + event logAttestation report / event log
Secret unsealingPCR authorization in hardwareExternal authorization + policy

Certificate Infrastructure

AMD SEV-SNPIntel TDX
Certificate serviceAMD KDSIntel PCS
Certificate typeVCEKPCK
Root chainARK → ASK → VCEKIntel Root CA → PCK CA → PCK
Quote collateralSNP attestation reportTDX Quote
Registration requiredNoYes
Infrastructure complexityLow (stateless fetch)Higher (PCCS caching)

Feature Comparison

FeatureAMD SEV-SNPIntel TDXIntel SGX
TypeVM-basedVM-basedProcess-based
GranularityFull VMFull VMEnclave (subset of process)
App changes neededNoneNoneYes (trust/untrust split)
Hypervisor in TCBOptional*Optional*N/A
Available on cloudAWS, Azure, GCP, IBM CloudAzure, GCP, IBM CloudAzure, IBM Cloud, Alibaba Cloud

* Depends on where the vTPM is placed; see TCB Configurations for VM TEEs at the top of this section.


Other TEE Architectures

Beyond AMD and Intel on x86, VM-based TEEs exist or are emerging on every major CPU architecture. This book’s concepts (measured launch, hardware-signed evidence, a vendor certificate chain) carry over directly; only the component names change.

Arm CCA

Arm Confidential Compute Architecture (CCA), part of Armv9-A, introduces Realms: VM-based TEEs whose memory and register state are inaccessible to the hypervisor and to Arm TrustZone’s Secure world. Realms are managed by a small, verifiable firmware component called the Realm Management Monitor (RMM), the architectural analogue of the Intel TDX module. Attestation follows the same pattern as SNP/TDX: the hardware produces a signed CCA attestation token covering the Realm’s initial measurement, rooted in device keys provisioned by the manufacturer. As of this writing, CCA-capable server hardware is still reaching the market, but the software stack (Linux, KVM, kvmtool/QEMU, Trustee support) is being developed in the open.

RISC-V CoVE

CoVE (Confidential VM Extensions) is the RISC-V specification for VM-based TEEs. It defines TEE Virtual Machines (TVMs) managed by a TEE Security Manager (TSM) running in a higher privilege level than the hypervisor, again mirroring the TDX module / RMM pattern. CoVE is a specification with reference implementations rather than shipping silicon; it matters because it extends the CC programming and attestation model to an open ISA.

IBM Z and LinuxONE: Secure Execution

IBM Secure Execution (SE) protects KVM guests on IBM Z and LinuxONE using a firmware ultravisor. Its trust model differs from SNP/TDX in an instructive way: the guest image is encrypted at build time against a host-specific public key, so trust is established by image preparation rather than by comparing runtime measurements, though SE also supports attestation and is integrated with CoCo and Trustee. IBM Power offers a similar capability, the Protected Execution Facility (PEF).