Guide

Confidential Computing for Regulated Data: Architecting Trust in AI and Multi-Party Workloads

Confidential computing for regulated data: how TEEs protect PHI, PCI, and PII while in use, with healthcare, finance, confidential AI, and multi-party use cases. November 2026.

Published
Updated
Reading time
7 min
Confidential Computing for Regulated Data: Architecting Trust in AI and Multi-Party Workloads

You receive a FHIR bundle containing a patient's LOINC-coded lab results, send it to an inference endpoint, and later learn the plaintext sat in the vendor's node memory long enough for a snapshot to be taken. Encryption at rest and TLS in transit do not stop that.

Confidential computing for regulated data means processing plaintext inside a hardware-bound trusted execution environment (TEE) so that the cloud provider, the host OS, and the workload's own administrators cannot read the data while it is in use. It is not a replacement for access control, and it does not make a poorly governed dataset safe.

Key takeaways

  • Plaintext exists only inside the CPU package; memory outside the enclave is ciphertext.
  • Remote attestation proves the enclave's measurement before any secret is unwrapped.
  • It supports HIPAA, PCI DSS, and HR/PII obligations, but it does not remove the need for a business associate agreement, tokenization policy, or audit logging.
  • We use it for inference, fraud scoring, and multi-party analytics where no party should see another's raw rows.
  • Start with one regulated data flow, not an organization-wide encryption rewrite.

What does confidential computing actually protect?

It protects data in use: plaintext sitting in RAM while a CPU is actively working on it. Encryption at rest covers the disk; TLS covers the wire; a TEE covers the computation. For regulated data, that means a PHI record or a primary account number (PAN) can be decrypted inside the enclave, transformed, and re-encrypted without ever existing in cleartext outside the CPU package.

The threat model is specific. We are defending against a compromised host, a curious cloud administrator, or a malicious VM on the same physical server. We are not defending against an authorized user with legitimate access, nor against application logic that leaks data after it leaves the enclave. Logiclump's 2026 guide to protecting sensitive data in use frames confidential computing around exactly this boundary: protecting sensitive data while it is being processed, not just while it is stored or moving.

How do trusted execution environments (TEEs) for data privacy work?

A TEE is a hardware-isolated region of the processor that holds code and data separate from the operating system and hypervisor. On current x86 cloud instances, that is typically Intel TDX or AMD SEV-SNP; older Intel SGX enclaves are still used for smaller, memory-constrained workloads. The TEE encrypts memory with a key fused into the silicon, and it produces a signed attestation report—often containing a measurement such as MRSIGNOR or the TDX equivalent—so a remote verifier can confirm the enclave's identity before any secret is sent.

The flow looks like this: the workload requests a wrapped data encryption key (DEK); the TEE unwraps it inside the protected context; the application processes the record; ciphertext is written back to memory. The hypervisor sees only encrypted pages. If the host is compromised, the attacker gets ciphertext and a sealed key they cannot unwrap without the hardware binding.

What does data in use protection look like in practice?

In practice, the application never holds a long-lived plaintext key. The workload requests a wrapped DEK, the TEE unwraps it inside the enclave, processes the record, and writes ciphertext back to memory. The hypervisor sees only encrypted pages. If the host is compromised, the attacker gets ciphertext and a sealed key they cannot unwrap without the TEE's hardware binding.

A concrete shape: a FHIR Patient resource arrives as JSON. The envelope encryption wrapper contains a DEK encrypted under a key encryption key (KEK) that only the TEE can unwrap. Inside the enclave, the service extracts the LOINC observation codes, runs the calculation, and writes back an encrypted DiagnosticReport. The raw Patient resource never appears in a container log, a core dump, or a host memory dump.

Confidential computing in healthcare: what changes?

For healthcare, confidential computing lets a vendor run inference on ePHI without the vendor's infrastructure ever seeing the plaintext. A FHIR Observation with a LOINC code can be decrypted inside the enclave, scored by a model, and returned as a coded risk category. The business associate agreement (BAA) still applies, but the technical boundary moves from "trust the vendor" to "verify the enclave."

What it does not change: you still need a BAA, you still need access control, and you still need to account for data after it is decrypted for a legitimate user. Confidential computing is a control, not a compliance certificate. SC Magazine's 2026 perspective for CISOs on confidential computing makes the same point: the technology shifts trust to hardware, but organizational obligations remain.

Confidential computing in finance: what changes?

In finance, confidential computing protects payment card data and personally identifiable information during fraud modeling and credit scoring. A PAN can be tokenized outside the enclave, detokenized inside for model scoring, and re-tokenized before it hits any log. PCI DSS scope does not disappear, but the systems handling cleartext PAN shrink to the CPU package.

The practical win is reducing the scope of systems in scope for PCI DSS v4.0. If cleartext PAN never exists outside the TEE, fewer systems need quarterly vulnerability scans and full network segmentation. The trade-off is key management: the wrapping key must be generated and rotated inside a hardware security module (HSM) or equivalent, or the TEE becomes the weakest link.

What is confidential AI, and where does it fit?

Confidential AI is the application of confidential computing to machine learning inference and training. The model weights and the input tensor both arrive encrypted; the GPU or CPU enclave decrypts them inside a protected execution context, runs the forward pass, and returns an encrypted output. It matters when the input is regulated data and the model itself is proprietary.

We have used this for inference on patient records where the model vendor cannot see the inputs and the hospital cannot see the weights. The limitation is performance: encrypted memory and attestation add overhead, and confidential computing does not prevent model extraction attacks if the attacker can query the model repeatedly. It protects the data in the session, not the model's intellectual property from a determined query attacker.

Can multi-party computation and confidential computing work together?

Yes, but they solve different problems. Multi-party computation (MPC) lets parties compute a joint function over secret-shared inputs without revealing them to each other. Confidential computing protects a single workload's memory from its host. In a multi-party workflow, each party can run its local computation inside a TEE and exchange only attestation-verified, encrypted partial results.

The hybrid pattern is useful when two insurers want to joint-model risk without sharing raw claims data. Each insurer encrypts its feature vector inside its own TEE, sends an encrypted share to a joint compute node, and the node returns an encrypted aggregate. The complexity cost is high: you now manage attestation for multiple TEEs plus MPC orchestration. We only reach for this when a single TEE cannot satisfy the trust boundary.

Confidential computing use cases: where we actually deploy it

These are the shapes we actually see. The common thread is a regulated data type that must be processed by a third party or on shared infrastructure, where encryption at rest and TLS are insufficient because the data must be decrypted to be useful. Confidential computing makes that decryption happen inside a verifiable hardware boundary instead of in the host's memory.

Use caseRegulated data typeTEE typeWhat stays protectedWhat it does not cover
Clinical trial data aggregationePHI (FHIR, LOINC)Intel TDXPatient-level records during cross-site analysisConsent management, data after export
Payment fraud scoringPAN, PII (PCI DSS)AMD SEV-SNPCard data during model inferenceToken vault logic outside enclave
Multi-party insurance underwritingHR/PII, claims dataNVIDIA H100 confidentialInput features from each partyFinal underwriting decision logic
AI inference on patient recordsePHIIntel TDX / GPU TEEPrompt and response tokensModel training data leakage

What are the limits and trade-offs?

Confidential computing adds latency and cost, and it does not protect against every attack. Memory encryption and integrity checking add measurable overhead depending on the workload, and side-channel attacks—cache timing, page-fault patterns, speculative execution—can still leak information. It also does not fix authorization: if an authenticated user inside the enclave is allowed to see a record, the TEE will decrypt it for them.

Other limits: attestation infrastructure must be maintained, keys must be rotated through a KMS or HSM, and not every workload runs efficiently inside a TEE. Some GPU workloads require specific confidential VM images, and some frameworks do not yet support encrypted memory tensors. We treat it as one layer in a defense-in-depth stack, not a silver bullet.

If you want to see how this maps to your schema, map one regulated file against our field-level encryption approach at AdaptivMapr, or read the docs.

FAQ

How is confidential computing different from encryption at rest?

Encryption at rest protects data on disk. Confidential computing protects the same data while it is decrypted in memory and being processed by the CPU.

Can confidential computing make my app HIPAA compliant by itself?

No. HIPAA requires administrative, physical, and technical safeguards. Confidential computing is a technical safeguard for data in use; you still need a BAA, access controls, and audit logs.

Does confidential computing protect model weights from the host?

It protects weights while they are inside the TEE, but it does not stop model extraction if an attacker can query the model repeatedly and infer the weights from outputs.

Is multi-party computation the same as confidential computing?

No. MPC distributes computation across parties using secret shares; confidential computing isolates a single workload's memory inside hardware. They can be combined, but they are not interchangeable.

What is the performance overhead?

Overhead varies by workload and TEE type, but memory encryption and attestation typically add measurable latency and cost. You should benchmark your specific inference or transaction flow before committing.

Guide7 min read

Spotted something that has drifted? Tell us at hello@adaptivmapr.com and we will correct the post rather than quietly delete it.

Map the file. Keep the records.

Minimal data mode sends column names and a few example values — never the full file. Top up a prepaid wallet from about $10 and run a map.