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 Address Rust wrapper review feedback 2026-09-18 12:24:35 -07:00
README.md Add docs.rs support and crates.io packaging to the wolftpm crate 2026-09-21 10:08:55 -07:00
include.am Add docs.rs support and crates.io packaging to the wolftpm crate 2026-09-21 10:08:55 -07:00

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