mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Restructured from flat .tex/.pdf files into per-paper subdirectories. Added Antje Worring as co-author on all papers. Synced PDFs to pdfs/ for download site.
38 lines
1.3 KiB
TeX
38 lines
1.3 KiB
TeX
\section{Trusted Execution Environments (TEE)}
|
|
|
|
|
|
\subsection{Tier 3 Privacy Model}
|
|
|
|
For regulated use cases, Z-Chain supports \textbf{TEE-based privacy}:
|
|
|
|
\begin{itemize}[leftmargin=1.1em]
|
|
\item Validators run Intel SGX or AMD SEV enclaves
|
|
\item Smart contracts execute inside secure enclave
|
|
\item Auditors receive encrypted attestations from TEE
|
|
\item Regulators access transaction data via auditor keys
|
|
\end{itemize}
|
|
|
|
\subsection{Attestation Protocol}
|
|
|
|
\begin{algorithm}[H]
|
|
\caption{TEE Transaction Attestation}
|
|
\begin{algorithmic}[1]
|
|
\State \textbf{Input:} Transaction $T$, auditor public key $pk_{\text{aud}}$
|
|
\State \textbf{Output:} Encrypted attestation $E$, TEE quote $Q$
|
|
\State
|
|
\State // Execute transaction in enclave
|
|
\State $\text{result} \leftarrow \text{ExecuteInEnclave}(T)$
|
|
\State
|
|
\State // Generate attestation
|
|
\State $A \leftarrow \{\text{sender}, \text{recipient}, \text{amount}, \text{timestamp}\}$
|
|
\State $E \leftarrow \text{Encrypt}(A, pk_{\text{aud}})$ \Comment{Auditor can decrypt}
|
|
\State
|
|
\State // Remote attestation quote
|
|
\State $Q \leftarrow \text{GenerateQuote}(\text{enclave\_measurement})$
|
|
\State \textbf{return} $(E, Q)$
|
|
\end{algorithmic}
|
|
\end{algorithm}
|
|
|
|
\textbf{Compliance Guarantee}: Regulators verify TEE quote $Q$ proves correct enclave execution, then decrypt $E$ to audit transaction.
|
|
|