#tpm #tss #api-bindings #env-var #sapi

sys tss-sapi

Bindings to the TPM 2.0 TSS SAPI

4 releases

Uses old Rust 2015

0.0.5 Oct 9, 2017
0.0.4 Sep 29, 2017
0.0.3 Sep 12, 2017
0.0.2 Sep 11, 2017
0.0.1 Sep 11, 2017

#12 in #tpm

MIT/Apache

1MB
18K SLoC

Build status Rust version Documentation Latest version All downloads Downloads of latest version

TPM 2.0 TSS (TPM Software Stack) SAPI (System API) Rust Wrapper

Build

To compile this library you must have tpm2-tss installed from https://github.com/01org/tpm2-tss

If you have it installed in a non-standard path you can export the following environment variables:

  • SAPI_LIBS_PATH to where libsapi.so lives
  • TCTI_DEV_LIBS_PATH to where libtcti-device.so lives
  • TCTI_SOCK_LIBS_PATH to where libtcti-socket.so lives

Optionally you can also build with --no-default-features and then enable either tcti-device or tcti-socket.

Dependencies

~5.5MB
~119K SLoC