#wrapper #tpm2-tss #tss2-ts

tss2

Rust wrapper for tpm2-tss

4 releases

Uses old Rust 2015

0.1.3 Oct 31, 2022
0.1.2 Oct 31, 2022
0.1.1 Apr 12, 2022
0.1.0 Apr 12, 2022

#362 in #wrapper

Apache-2.0

6KB

tss2-ts

License crates.io

Implements raw Rust wrapper around tpm2-tss libraries.

Usage

Install tpm2-tss libs to the system.

Add this to your Cargo.toml:

[dependencies]
tss2-rs = "0"

Import necessary types and functions and use as you would do with tpm2-tss. Do not forget to free memory allocated inside C library.

No runtime deps

~0–1.8MB
~36K SLoC