Fapi_GetTcti(3)

πŸ’… Fapi_GetTcti(3) πŸ’…

okay bestie, welcome to the Library Functions Manual page for Fapi_GetTcti(3) β€” it’s lowkey your little backstage pass to the TCTI context, and we’re gonna get into it. ✨


🌸 NAME 🌸

Fapi_GetTcti β€” literally Fapi_GetTcti. That’s the name, no cap. πŸ’…


✨ SYNOPSIS ✨

Functions

  • TSS2_RC Fapi_GetTcti (FAPI_CONTEXT *context, TSS2_TCTI_CONTEXT **tcti) β€” the one function listed here, and she’s the main character. πŸ‘‘

πŸ¦‹ Detailed Description πŸ¦‹

This is a FAPI function for retrieving the TSS2_TCTI_CONTEXT that’s currently used by the corresponding FAPI_CONTEXT. That’s the vibe. πŸ¦‹


πŸ’– Function Documentation πŸ’–

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

One-Call function for Fapi_GetTcti β€” yes, it’s giving very β€œone call and you’re in” energy. πŸ’…

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, bestie: the application must ensure that this TSS2_TCTI_CONTEXT is not being used in parallel to the processing of a FAPI command. Like, respect the boundary β€” that’s the rule. 🫢

πŸŽ€ 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.

🌟 Author 🌟

Generated automatically by Doxygen for tpm2-tss from the source code. πŸ’€ Yes, the robots wrote it β€” respect.


okay bye bestie 🫢 that’s the whole page. Source/version: tpm2-tss, Version 4.1.5. Date: not listed in the original footer, so no invented date here β€” just the facts, slay. πŸ‘‘

πŸ“¦ where this page comes from