What is a trusted execution environment (TEE)?

A trusted execution environment (TEE) is an isolated area of a processor that runs sensitive code and holds sensitive data apart from the rest of the system. This page explains where practitioners meet it and what it means for a post-quantum migration.

On this page

What is a trusted execution environment and why does it come up in post-quantum planning?

A trusted execution environment (TEE) is an isolated area of a processor that runs sensitive code and holds sensitive data separately from the rest of the operating system, the hypervisor and other software on the same device. If a vendor document, tender or audit request mentions a TEE, the question you need answered is what that area protects, what it is isolated from, and whether the protection rests on hardware, firmware or software. The sources listed on this page do not place a TEE under a specific NIST standard number, so do not treat a TEE as a term defined by a FIPS document. Ask the vendor which specification, certification or independent evaluation their TEE claim rests on, and confirm it against the version and processor generation you actually run.

Engineers meet this term most often in two places. In cloud environments, it appears under confidential computing offerings, where a provider runs workloads inside hardware-isolated enclaves so that data stays protected while in use. On mobile and consumer devices, the TEE typically runs a separate trusted operating environment that handles things like payment credentials and biometric matching. Platform and security leads encounter it in vendor architecture diagrams and questionnaires, where it is often grouped with HSMs, TPMs and secure elements. Each of those components has a different trust boundary, so a reviewer should not assume that a TEE offers the same assurance as a validated cryptographic module.

For post-quantum planning, the relevant question is what the TEE does with keys. A TEE may hold key material, perform key exchange or run signing operations on behalf of an application, which means any post-quantum upgrade of those operations depends on what the vendor supports inside the enclave. Build an inventory entry for every TEE-backed key use, record which algorithm and firmware version the vendor says is supported, and ask whether attestation can confirm the enclave is running the expected code. Where the vendor cannot say, treat the TEE as an open item in the migration plan rather than as an assumed protection.

Which names and identifiers do TEE references use?

This table lists the full name, abbreviation and related identifiers that the sources support for TEE references, and where each one appears. Use it to recognize the terms in a vendor document or standard. The main takeaway is that the sources name no vendor-specific TEE technologies, so confirm the exact implementation name from the vendor's own documentation.

IdentifierWhat it refers toWhere it appears
Trusted execution environment (TEE)The full name and abbreviation used for an isolated area of a processor for sensitive code and dataVendor documentation and platform descriptions; the sources listed here do not define the term in a standard
Cryptographic moduleHardware, software and/or firmware that implements approved security functions within a cryptographic boundary, per the NIST CSRC glossaryNIST CSRC glossary, drawn from FIPS 140
FIPS 140-3The NIST standard that defines the security requirements for cryptographic modules, published 22 March 2019NIST FIPS 140-3 and the NIST FIPS 140-3 standards page; a TEE may sit inside a module under this standard
FIPS 140-2The earlier module standard of 12/03/2002, superseded by FIPS 140-3NIST FIPS 140-3 and CMVP guidance on legacy validations
Cryptographic Module Validation Program (CMVP)The NIST and Canadian Centre for Cyber Security program that validates cryptographic modules against FIPS 140NIST CMVP pages, where validation status and certificates are listed
Cryptographic boundaryThe defined perimeter of a cryptographic module that a validation coversNIST CSRC glossary and FIPS 140-3; check which boundary a vendor's validation names
Vendor-specific TEE technology namesProduct or platform names for particular TEE implementationsNot covered on this page; the sources listed here do not name any, so confirm the exact name from the vendor's documentation

Where do practitioners meet a trusted execution environment?

A trusted execution environment rarely arrives under its own name. It appears in cloud offerings, device architectures, vendor documents and buyer questionnaires, so practitioners need to recognize it wherever it is described. Each card below names one of those places and the question to ask there.

Cloud confidential computing offerings

Cloud providers sometimes describe confidential computing services that run workloads inside isolated hardware regions, so that data stays protected even from the platform operator. When you see this wording in a service description, ask which hardware isolates the workload, who holds the keys to the protected memory, and whether attestation is available so you can verify the environment before releasing secrets to it. Confirm these answers in the provider's current documentation for the specific service and region you plan to use, because offerings differ by product and generation.

Mobile device security architecture

Mobile operating systems and chipsets often keep biometric data, payment credentials and device keys in an isolated secure area separate from the main operating system. When a device vendor's security white paper refers to a secure area or a protected execution mode, ask which keys and data live there, how the main operating system reaches them, and what the vendor says about updating that secure code. Treat the vendor's own documentation as the authority for any specific device, since the sources in this section do not establish how any given phone is built.

Vendor security documents

Product security whitepapers, architecture diagrams and data-protection summaries sometimes state that sensitive processing happens in an isolated environment. Read these claims closely and separate what the vendor says is isolated from what it says is encrypted, logged or access-controlled. Ask for the scope of the isolation, the component version it applies to, and whether the vendor has published any independent assessment of that component. A marketing summary alone is not evidence that a given product uses this technology.

Tenders and audit requests

Procurement questionnaires and audit requests may ask whether sensitive keys or data are processed inside a trusted execution environment or a validated module. Answer precisely: name the component, its version, and whether the cryptographic functions are covered by a validation certificate under FIPS 140-3 or another program. Be cautious with blanket yes or no answers, because a trusted execution environment is not the same thing as a validated cryptographic module, and an auditor will check which one the answer refers to.

FIPS 140-3 text

How does a TEE protect code and data in a system?

A trusted execution environment protects sensitive code and data by isolating them from the rest of the system. Within a TEE, keys and secrets are kept out of reach of ordinary software running on the same processor, including the operating system, hypervisor and other applications. The point of this isolation is that a compromise of the general-purpose software stack should not expose the material the TEE holds. For engineers planning a post-quantum migration, this means the TEE is a place where key use can be contained, but the containment is only as strong as the platform's isolation guarantees and the way the application is built to rely on them. Confirm with your platform vendor exactly which assets are held inside the TEE, which are not, and what the trust boundary looks like for your deployment.

The isolation a TEE provides does not, by itself, tell you whether the cryptography running inside it is sound. Cryptographic operations inside a TEE are only as well-governed as the cryptographic module they use. If the module that performs key generation, signing or key exchange has not been formally tested, a TEE does not fix that gap. For a reviewer, the question to ask is whether the module inside the TEE is a validated cryptographic module under FIPS 140-3, and at which security level. FIPS 140-3 defines four increasing qualitative security levels for cryptographic modules, and the NIST Cryptographic Module Validation Program lists modules that have been tested against it. Check the module name, version and certificate number against the CMVP database rather than relying on a general statement that the device is secure. Ask your vendor for the validation certificate that covers the exact firmware and configuration you will deploy.

What is the standardization status of TEEs relative to post-quantum standards?

A trusted execution environment is not, by itself, a post-quantum standard. The sources listed on this page do not state that a TEE is a post-quantum standard, and they do not say which TEE implementations support ML-KEM, ML-DSA or SLH-DSA. Those are two separate questions. On the cryptography side, NIST published FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) as final standards on 13 August 2024. On the module side, the relevant standard is FIPS 140-3, published on 22 March 2019 and effective on 22 September 2019, which governs cryptographic modules and the security levels they are validated against. A TEE that performs or holds cryptography may fall within the scope of that module standard, but the sources do not say how any particular TEE is classified under it.

For planning, keep the two tracks apart. The FIPS 203, 204 and 205 documents define the algorithms and their parameter sets, such as ML-KEM-512, ML-KEM-768 and ML-KEM-1024. They do not tell you whether the code running inside a given enclave uses them. FIPS 140-3 defines a cryptographic module as hardware, software or firmware that implements approved security functions within a cryptographic boundary, and it covers areas including interfaces, roles, self-tests and physical security. Whether a specific TEE product has been validated under FIPS 140-3, and at which level, is recorded in the NIST Cryptographic Module Validation Program listings, which you should search directly rather than assume from the product name.

Before you rely on a TEE for post-quantum work, ask the vendor in writing which ML-KEM, ML-DSA or SLH-DSA implementations run inside the enclave, which firmware and library versions contain them, and whether the enclave's cryptographic module has a current FIPS 140-3 validation certificate. Then check those answers against the NIST FIPS 203 final standard, the NIST FIPS 140-3 standards page and the validation listings. Confirm the exact version you deploy, since support claims often apply only to specific releases.

What should a migration team do about TEEs in its inventory?

The sequence below turns trusted execution environments from an unknown inside the estate into a documented set of workloads, keys and vendor commitments that the migration plan can act on. Each step ends with an artifact the team can review, so the outcome is a dated, vendor-backed view of what can be upgraded and what must be replaced or isolated.

  1. Locate every TEE-dependent workload

    Start by finding each workload, device or service that runs code inside a TEE, including cloud confidential-computing instances, mobile and endpoint secure areas, and appliances that rely on a processor-level enclave. Record the workload owner, the host platform and the TEE type named in the vendor documentation. Check this against procurement and asset records, not only engineering memory, since TEEs are often enabled by default and rarely labeled. The step is complete when each entry in the cryptographic inventory has a TEE flag, a host and a named owner.

  2. Record keys and secrets held inside each TEE

    For each flagged workload, list the keys, certificates, attestation keys and sealed secrets that live inside the TEE boundary, and note which algorithms protect them. Separate keys used for key exchange from keys used for signatures and attestation, because they carry different migration paths. Ask the owner which keys can be exported, rotated or re-provisioned and which are fixed at manufacture. The output is a per-workload key register that the migration team can check against the inventory.

  3. Ask vendors which post-quantum algorithms are supported

    Send each TEE vendor a written request asking which post-quantum algorithms its TEE-hosted cryptography supports, in which firmware, microcode or SDK version, and whether those algorithms are enabled by default. Ask for the vendor's own documentation and release notes, and do not assume support from marketing material or from the existence of a standard. If the vendor cites FIPS 203, FIPS 204 or FIPS 205, ask which parameter sets it implements. The step is complete when each vendor response is filed with its document reference and version.

  4. Confirm the cryptographic module boundary and validation

    Ask whether the cryptography inside the TEE sits within a defined cryptographic module boundary and whether that module is FIPS 140-3 validated. Request the validation certificate, the module name and version, and the CMVP listing, then confirm the listing matches the firmware or hardware revision actually deployed. Note whether the TEE is outside the validated boundary, in which case the evidence for its cryptography must come from elsewhere. The output is a boundary statement and validation reference per workload, verified against the public CMVP record.

  5. Plan the update or replacement path

    For each workload, decide whether the TEE can be updated in place through a vendor firmware or software release, needs a hardware replacement, or must be isolated because no post-quantum path is documented. Sequence the work by the dependencies identified earlier, such as attestation chains that certificate services rely on. Record the vendor's stated update commitments in writing and the owner who will track them. The step is complete when every TEE in the inventory has one of three recorded outcomes: upgrade, replace or isolate, each with its supporting vendor document.

Which confusions about TEEs cause errors in tenders and audits?

A trusted execution environment is often confused with the validated modules, hardware devices and vendor assurances that tender and audit teams check. Each confusion below leads to a different wrong answer on a questionnaire, so the checks differ too.

A TEE is not a validated module by default

A TEE is an isolated processor area, not a cryptographic module that has passed formal testing. Under FIPS 140-3, a module is validated only when an NVLAP-accredited laboratory tests it and the CMVP validates the submission, and that validation names a specific module, version and boundary. A TEE may run cryptographic code that sits inside a validated module, but the isolation alone does not make it validated. Ask whether the TEE's cryptographic functions are part of a named, validated module, and request the certificate number and the module version.

CMVP program

A TEE does not imply post-quantum support

Isolation protects code and data from other software on the same processor, and it says nothing about which algorithms the enclave uses. A TEE running classical key exchange or signatures is still exposed to the migration question. Post-quantum support depends on the algorithms and parameter sets in the enclave code, such as ML-KEM, ML-DSA or SLH-DSA as defined in the NIST final standards. Ask which post-quantum algorithms, if any, the enclave runs, and which parameter set it uses.

FIPS 203 text

A TEE is not an HSM or secure element

A hardware security module and a secure element are tamper-resistant devices built to hold keys and resist physical attack. A TEE is a region of a general-purpose processor, so its protection depends on the processor design and firmware rather than on a dedicated tamper-resistant enclosure. Tenders that list an HSM, a secure element or a TEE as interchangeable will misstate the assurance level. Ask which of these the product uses, and whether the key material sits in a physically separate device.

NIST cryptographic module definition

Vendor isolation claims need documentation

A vendor statement that a TEE isolates workloads is a claim until it is backed by documentation. Ask for the threat model, the list of attacks the isolation is designed to resist, the firmware and microcode versions, and the known limitations. Ask for evidence of an independent security review or a published assessment, and check that it covers the exact hardware and software version you will deploy. Without these documents, you cannot tell what the isolation protects against or where it stops.

FIPS 140-3 text

What do people search about trusted execution environments?

What does TEE stand for, and is it standardized?

TEE stands for trusted execution environment, a protected area of a processor that runs sensitive code and keeps its data isolated from the rest of the device, including the operating system. The sources supplied for this page do not identify a single standard that defines TEEs as a whole, so treat the term as a category rather than a product specification. Vendors implement TEEs in different ways, and the behavior you get depends on the specific processor, firmware and version. For a procurement or audit file, ask the vendor which TEE implementation it uses, which version and which documentation describes its isolation model. Use that documentation as the reference, not the general term.

Is a TEE the same as a secure enclave?

Not necessarily. Secure enclave is a vendor-specific name used by some platforms for an isolated hardware-backed region that protects keys and code, and it is one kind of protected execution area. A TEE is the broader category. Whether a given secure enclave is a TEE in the strict sense depends on how the vendor defines isolation, and the sources supplied for this page do not settle that comparison. Check the platform's own security documentation for what its enclave protects, what it does not, and which versions it applies to before treating the two as interchangeable in a design or review.

Is a TEE a FIPS 140-3 validated module?

A TEE is not validated just because it runs in a processor. FIPS 140-3 is the NIST standard that defines four qualitative security levels for cryptographic modules, meaning hardware, software or firmware that implements approved security functions within a defined cryptographic boundary. Validation is a separate, formal test carried out through the Cryptographic Module Validation Program (CMVP) by accredited laboratories. The sources supplied for this page do not state whether any particular TEE has been validated. To answer this for a specific device, search the CMVP validated modules list for the exact module name, version and hardware platform, and confirm that the validated boundary covers the functions you plan to use.

Does my cloud provider or phone use a TEE?

Many modern phones and cloud servers include some form of trusted execution or hardware isolation, but the sources supplied for this page do not list which products use a TEE, which implementation they use, or in which versions. Treat this as something to confirm rather than assume. For a phone, check the manufacturer's security documentation for the device model and operating system version. For a cloud provider, check the confidential computing or hardware isolation documentation for the specific instance types and regions you use. Ask the provider in writing which feature you are relying on and whether it is available in your region and instance family.

What does a TEE change for a post-quantum migration?

A TEE isolates code and data at runtime, but it does not by itself change which algorithms protect your keys or data. The post-quantum work sits in the algorithms and in the software that runs inside the protected area. NIST published FIPS 203 (ML-KEM) and FIPS 204 and FIPS 205 (ML-DSA and SLH-DSA) as final standards on 13 August 2024, and those define the algorithms you would need to plan for. Whether a TEE can run them depends on its firmware, its supported libraries and the vendor's update schedule, which the sources supplied for this page do not describe. Inventory which keys and signing operations run inside the TEE, then ask the vendor which post-quantum algorithms its update path supports.

What should I ask a vendor about TEE support?

Ask for specifics that you can check. Good questions include: which TEE implementation the product uses and at what version; whether the cryptographic functions it runs are covered by a FIPS 140-3 validation, and if so, the validation certificate number; what the isolation boundary covers and what sits outside it; how firmware and TEE updates are delivered and how long they are supported; and whether post-quantum algorithms such as ML-KEM, ML-DSA or SLH-DSA are on the roadmap and for which version. Request the answers in writing, along with the documentation they refer to. Where the vendor cannot answer, record that gap in your migration inventory.

How DeployOpen works on this

DeployOpen helps teams work out which systems depend on a trusted execution environment (TEE) and what those dependencies mean for a post-quantum migration. The work follows the same path each time: scope the TEE-dependent systems, build the test and inventory setup in your own infrastructure, then hand over documented findings your security and compliance teams can review.

How we scope

  • We agree a written scope listing the applications, enclaves and hardware-backed services that rely on a TEE.
  • We record which cryptographic modules sit inside or around each TEE, so validation questions can be traced to specific components.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We set up the inventory and test environment inside your own cloud account, data center or air-gapped network.
  • We check the TEE-dependent components for their cryptographic functions, interfaces and key handling against the FIPS 140-3 areas they fall under.
  • We document how each component's key exchange, signatures and certificates depend on the TEE, separating each one.

How we hand over

  • You receive a written findings report naming each TEE-dependent system, the version and component each finding applies to.
  • Each finding lists what is supported, what is not, and which vendor document or standard your team should confirm.
  • We deliver the evidence in a form your auditors and procurement reviewers can check without relying on our summary alone.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the handover.
  • A retainer can cover re-checking TEE-dependent systems when a vendor releases a new version or a validation status changes.
  • Ask for a quote based on your written scope, since DeployOpen does not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.