This library simplifies the instantiation and finalization of TCTI instances.
The TCTI dynamic loading and initialization protocol requires a lot of boilerplate code. To reduce duplication the tss2-tctildr library adds the Tss2_TctiLdr_Initialize(), Tss2_TctiLdr_Initialize_Ex(), and Tss2_TctiLdr_Finalize() functions to abstract away the machinery required to load, initialize, and finalize a TCTI context.
To assist in the discovery of TCTIs this library provides the Tss2_TctiLdr_GetInfo() function. This function, paired with a ‘free’ function to free the memory allocated by ‘GetInfo’, provides a simple query interface for discovery of the available and default TCTIs available to the tss2-tctildr implementation
The interface exposed by this library is defined in the “TSS System Level API and TPM Command Transmission Interface Specification”.
TPM2 Software Project <https://github.com/tpm2-software/tpm2-tss>
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 4.0.1 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/.