wolfTPM/wrapper/rust/README.md

708 B

wolfTPM Rust wrapper

crates.io docs.rs

Official Rust bindings for wolfTPM. The crate lives in wolftpm/; see its README for the full API, build, and test details.

# 1. build the C library first (with a software TPM for testing)
cd ../..                       # wolfTPM repo root
./autogen.sh && ./configure --enable-swtpm --enable-fwtpm && make

# 2. build, lint, and document the Rust crate against it
make -C wrapper/rust

# 3. test (needs a running software TPM on localhost:2321)
make -C wrapper/rust test