tss2-tcti-swtpm - Man Page

TPM simulator TCTI library


A TPM Command Transmission Interface (TCTI) module for interaction with the TPM2 software simulator.


tcti-swtpm is a library that abstracts the details of direct communication with the interface and protocol exposed by the daemon hosting the TPM2 reference implementation. The interface exposed by this library is defined in the “TSS System Level API and TPM Command Transmission Interface Specification” specification.


It is best not to use the CUSE interface when setting up swtpm, but rather to use the vtpm module proxy:

modprobe tpm_vtpm_proxy
swtpm chardev --vtpm-proxy --tpmstate dir=... --tpm2 ...


Philip Tricca <philip.b.tricca@intel.com>

See Also

Tss2_Tcti_Device_Init(3), Tss2_Tcti_Socket_Init(3), Tss2_TctiLdr_Initialize(3), Tss2_TctiLdr_Finalize(3), tcti-device(7), tcti-socket(7), tcti-tabrmd(7), tpm2-abrmd(8)


This page is part of release 3.2.0 of Open Source implementation of the TCG TPM2 Software Stack (TSS2). A description of the project, information about reporting bugs, and the latest version of this page can be found at https://github.com/tpm2-software/tpm2-tss/.


OCTOBER 2019 TPM2 Software Stack