wolfTPM/wrapper/rust
Aidan Garske 4424cd26f3 F-15820 - Enforce symmetric command constraints 2026-10-16 11:47:18 -07:00
..
wolftpm F-15820 - Enforce symmetric command constraints 2026-10-16 11:47:18 -07:00
Makefile
…
README.md
…
include.am
…

README.md

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