Files
papers/lux-achain-attestation/sections/04-multi-vendor-tee-support.tex
zeekay abf99d05fc papers: reorganize into per-paper dirs, add Antje Worring as co-author
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.
2026-04-18 21:50:07 -07:00

53 lines
1.5 KiB
TeX

\section{Multi-Vendor TEE Support}
\subsection{Vendor-Specific Quote Formats}
A-Chain supports native quote formats from all major TEE vendors:
\begin{table}[h]
\centering
\begin{tabular}{@{}llll@{}}
\toprule
\textbf{Vendor} & \textbf{Quote Size} & \textbf{Verification Time} & \textbf{Root CA Update} \\ \midrule
Intel SGX (DCAP) & 4,500 bytes & 45ms & Quarterly \\
AMD SEV-SNP & 1,184 bytes & 32ms & Bi-annual \\
NVIDIA H100 CC & 2,048 bytes & 28ms & Monthly \\
ARM CCA & 1,024 bytes & 18ms & Quarterly \\ \bottomrule
\end{tabular}
\caption{TEE vendor attestation characteristics}
\end{table}
\subsection{Precompile Implementation}
The attestation precompile at address 0xAAA provides gas-efficient native verification:
\begin{lstlisting}[language=Solidity, basicstyle=\small\ttfamily]
interface IAttestationPrecompile {
function verifyQuote(
bytes calldata quote,
bytes calldata rootCA,
TEEVendor vendor
) external view returns (bool valid, bytes32 deviceId);
function verifyProofOfExecution(
ProofOfExecution calldata proof
) external returns (bool);
function getDeviceStatus(
bytes32 deviceId
) external view returns (DeviceStatus memory);
}
\end{lstlisting}
\textbf{Gas Costs:}
\begin{itemize}
\item Base verification: 50,000 gas
\item SGX quote: +80,000 gas
\item SEV-SNP quote: +60,000 gas
\item H100 quote: +55,000 gas
\item ARM CCA quote: +40,000 gas
\item Registry update: +20,000 gas
\end{itemize}