TEE Mesh
A mesh of trusted execution enclaves across validators — each attests to an on-chain registry, peers verify each other's attestation before an RA-TLS handshake completes, and the mesh performs key generation, threshold FHE bootstrap, and confidential state transitions without exposing plaintext to the host
Abstract
The TEE mesh is a network of trusted execution environments across Lux validators. Each participating validator runs an enclave — Intel SGX, AMD SEV-SNP, or ARM TrustZone — that performs confidential computation. Enclaves attest to each other by remote attestation, forming a trust mesh. The mesh executes privacy-sensitive operations — key generation, FHE computations, private state transitions — without exposing plaintext to the host operating system.
Specification
Supported platforms
| Platform | Hardware | Attestation |
|---|---|---|
| Intel SGX | Xeon (Ice Lake and later) | DCAP (Data Center Attestation Primitives) |
| AMD SEV-SNP | EPYC (Milan and later) | SNP attestation report |
| ARM TrustZone | ARMv8.4-A and later | PSA attestation token |
Attestation protocol
- Each enclave generates an attestation report binding its identity to its TEE measurement.
- Reports are submitted to the on-chain
TEERegistrycontract. - The registry verifies the report against known platform root keys — Intel, AMD, and ARM CA certificates held on-chain — through the precompiles in LP-5310.
- Verified enclaves join the active mesh.
Mesh communication
Enclaves establish pairwise encrypted channels using RA-TLS (remote attestation TLS). Each channel verifies the peer's attestation before the handshake completes, so an unattested peer never reaches an established channel. Communication uses the Noise_XX pattern over QUIC.
Confidential operations
| Operation | Description |
|---|---|
| MPC key generation | DKG ceremonies inside the mesh |
| FHE bootstrap | Key generation for threshold FHE (LP-8200) |
| Private state | Execute confidential contract state transitions |
| Sealed storage | Encrypt data at rest with enclave sealing keys |
Registration
A validator opts into the mesh by running the enclave binary alongside its
node, submitting an attestation transaction to TEERegistry, and waiting for
the registry to verify and add the enclave to the roster.
Security Considerations
- TEE side-channel attacks — Spectre, Foreshadow — are mitigated by microcode updates and enclave hardening.
- Attestation reports expire after 24 hours and must be refreshed.
- A compromised host cannot read enclave memory but can deny service. Mesh redundancy at t-of-n tolerates f failures.
- Platform root keys are updated through governance when Intel, AMD, or ARM rotate their CA certificates.
Reference
| Resource | Location |
|---|---|
| TEE enclave runtime | github.com/luxfi/tee/ |
TEERegistry contract | github.com/luxfi/standard/contracts/tee/TEERegistry.sol |
| RA-TLS library | github.com/luxfi/tee/ratls/ |
| TEE integration interfaces | LP-5075 |
Copyright
Copyright and related rights waived via CC0.