Fapi_SetAuthCB(3)

okay so welcome to the Fapi_SetAuthCB(3) page β€” that’s the Library Functions Manual, bestie, and we’re about to get into the whole vibe. ✨

🌸 NAME 🌸

Fapi_SetAuthCB β€” Fapi_SetAuthCB. It’s literally the function name and the page name doing a little mirror moment, and honestly? iconic. πŸ’…

✨ SYNOPSIS ✨

Typedefs

typedef TSS2_RC(* Fapi_CB_Auth) (char const *objectPath, char const *description, char const **auth, void *userData)

Functions

TSS2_RC Fapi_SetAuthCB (FAPI_CONTEXT *context, Fapi_CB_Auth callback, void *userData)

πŸ’… DETAILED DESCRIPTION πŸ’…

FAPI functions to invoke SetAuthCB. That’s the whole plot, no cap. 🫢

πŸŽ€ FUNCTION DOCUMENTATION πŸŽ€

TSS2_RC Fapi_SetAuthCB (FAPI_CONTEXT * context, Fapi_CB_Auth callback, void * userData)

This function registers an application-defined function as a callback to allow the TSS to get authorization values from the application. So yes, bestie, you’re handing over a little callback so the TSS can come ask your app for auth values. πŸ’–

Parameters

  • context β€” The FAPI_CONTEXT. Main character context energy. πŸ‘‘
  • callback β€” The callback function for auth value retrieval. This is the one doing the auth-value fetching. ✨
  • userData β€” A pointer that is provided to all callback invocations. It rides along to every callback moment. πŸ¦‹

Return values

  • TSS2_RC_SUCCESS β€” if the function call was a success. slay. 🌈
  • TSS2_FAPI_RC_BAD_REFERENCE β€” if the context is NULL. not the null context era, bestie 😭
  • TSS2_FAPI_RC_BAD_CONTEXT β€” if context corruption is detected. red flag, literally 🚩
  • TSS2_FAPI_RC_MEMORY β€” if the FAPI cannot allocate enough memory for internal operations or return parameters. the memory said β€œno ❀️” πŸ’€
  • TSS2_FAPI_RC_BAD_SEQUENCE β€” if the synchronous or Async functions are called while the context has another asynchronous operation outstanding, or the Finish function is called while the context does not have an appropriate asynchronous operation outstanding. sequence check said absolutely not. πŸ™ˆ
  • TSS2_FAPI_RC_IO_ERROR β€” if the data cannot be saved. the save did not save, fr fr 😭

🫢 AUTHOR 🫢

Generated automatically by Doxygen for tpm2-tss from the source code. So this page was auto-generated, but the vibe? hand-delivered. πŸ’–


The footer energy is source/version tpm2-tss, Version 4.1.5 β€” and there’s no date shown on this footer, so that’s the whole sign-off, bestie. πŸŽ€

πŸ“¦ where this page comes from