Crates.io | tpm2-wolf |
lib.rs | tpm2-wolf |
version | 0.0.1 |
source | src |
created_at | 2023-09-19 18:21:27.009621 |
updated_at | 2023-09-19 18:21:27.009621 |
description | Rust wrapper for tpm2 WolfTPM lib |
homepage | |
repository | https://github.com/openEPC/tpm2-rs |
max_upload_size | |
id | 977102 |
size | 13,445 |
Implements raw TPM2 Rust wrapper around wolfTPM libraries.
Install wolfSSL and wolfTPM libs to the system.
Add this to your Cargo.toml
:
[dependencies]
tpm2-wolf = "0"
Import necessary types and functions and use as you would do with native wolfTPM. Do not forget to free memory allocated inside C library.