Fapi_GetTcti(3)

Fapi_GetTcti3

Fapi_gettcti

Usage

Functions

TSS2_RC Fapi_GetTcti (FAPI_CONTEXT *context, TSS2_TCTI_CONTEXT **tcti)

Detailed Description

FAPI function to retrieve the TSS2_TCTI_CONTEXT currently used by the corresponding FAPI_CONTEXT.

Function Documentation

TSS2_RC Fapi_GetTcti (FAPI_CONTEXT * context, TSS2_TCTI_CONTEXT ** tcti)

One-Call function for Fapi_GetTcti

Fapi_GetTcti returns the TSS2_TCTI_CONTEXT currently used by the provided FAPI_CONTEXT. The purpose is to enable advanced access to the TPM that is currently being talked to. It is especially useful in combination with Fapi_GetTpmBlobs().

Note: The application must ensure that this TSS2_TCTI_CONTEXT is not being used in parallel to the processing of a FAPI command.

Parameters

context The FAPI_CONTEXT
tcti The TSS2_TCTI_CONTEXT used to talk to the current TPM.

Return values

TSS2_RC_SUCCESS if the function call was a success.
TSS2_FAPI_RC_BAD_REFERENCE if context, tcti is NULL.
TSS2_FAPI_RC_BAD_CONTEXT if context corruption is detected.
TSS2_FAPI_RC_NO_TPM if FAPI was started in non-TPM mode.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Author

Generated automatically by Doxygen for tpm2-tss from the source code.

From tpm2-tss 4.2.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.