.. | ||
src | ||
bindings.h | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
License.txt | ||
README.md |
teepot-tdx-attest-sys
Raw FFI bindings to Intel TDX Attestation Library (libtdx_attest
).
This crate provides low-level FFI bindings for Intel Trust Domain Extensions (TDX) attestation functionality. It is a fork of the original tdx-attest-sys crate from Intel's SGX Data Center Attestation Primitives.
Prerequisites
Before using this crate, you need to install:
- Intel® SGX DCAP Driver
- Intel® SGX SDK
- Intel® SGX DCAP Packages
- Intel® SGX DCAP PCCS (Provisioning Certificate Caching Service)
Please refer to the SGX DCAP Linux installation guide for detailed installation instructions.
Usage
Add this to your Cargo.toml
:
[dependencies]
teepot-tdx-attest-sys = "0.1.0"
This crate provides raw FFI bindings. For a more ergonomic Rust API, consider using a higher-level wrapper crate.
Building
The crate uses bindgen
to generate Rust bindings from the C headers during build time. Make sure you have:
- The TDX attestation library (
libtdx_attest
) installed on your system - If using Intel SGX SDK, set the
SGX_SDK
environment variable to point to your SDK installation
License
This project is licensed under the BSD-3-Clause License. See the License.txt file for details.
Repository
This crate is part of the Teepot project.