Esys_LoadExternal(3)
π Esys_LoadExternal(3) π
okay so this page is from the Library Functions Manual, and it's all about the ESAPI glow-up for TPM2_LoadExternal. bestie, we're getting into the TPM sauce π«Ά
πΈ NAME πΈ
Esys_LoadExternal β The ESAPI function for the TPM2_LoadExternal command. that's the whole name vibe, no cap β¨
β¨ SYNOPSIS β¨
π§ Functions π§
TSS2_RC Esys_LoadExternal_Finish (ESYS_CONTEXT *esysContext, ESYS_TR
*objectHandle)
TSS2_RC Esys_Load_Finish (ESYS_CONTEXT *esysContext, ESYS_TR
*objectHandle)
π« Detailed Description π«
ESAPI function to invoke the TPM2_LoadExternal command either as a one-call or in an asynchronous manner. literally the whole point, and it ate π
π₯ Function Documentation π₯
π
TSS2_RC Esys_Load_Finish (ESYS_CONTEXT * esysContext, ESYS_TR * objectHandle) π
Asynchronous finish function for TPM2_Load
This function returns the results of a TPM2_Load command invoked via Esys_Load_Finish. All non-simple output parameters are allocated by the function's implementation. NULL can be passed for every output parameter if the value is not required. yes bestie, even the output params can be skipped if you don't need them π«Ά
π Parameters π
esysContextβ TheESYS_CONTEXT.objectHandleβESYS_TRhandle of ESYS resource forTPM2_HANDLE.
π Return values π
TSS2_RC_SUCCESSon successESYS_RC_SUCCESSif the function call was a success.TSS2_ESYS_RC_BAD_REFERENCEif theesysContextor required input pointers or required output handle references areNULL.TSS2_ESYS_RC_BAD_CONTEXTifesysContextcorruption is detected.TSS2_ESYS_RC_MEMORYif the ESAPI cannot allocate enough memory for internal operations or return parameters.TSS2_ESYS_RC_BAD_SEQUENCEif the context has an asynchronous operation already pending.TSS2_ESYS_RC_TRY_AGAINif the timeout counter expires before the TPM response is received.TSS2_ESYS_RC_INSUFFICIENT_RESPONSEif the TPM's response does not at least contain the tag, response length, and response code.TSS2_ESYS_RC_RSP_AUTH_FAILEDif the response HMAC from the TPM did not verify.TSS2_ESYS_RC_MALFORMED_RESPONSEif the TPM's response is corrupted.TSS2_RCsproduced by lower layers of the software stack may be returned to the caller unaltered unless handled internally.
π
TSS2_RC Esys_LoadExternal_Finish (ESYS_CONTEXT * esysContext, ESYS_TR * objectHandle) π
Asynchronous finish function for TPM2_LoadExternal
This function returns the results of a TPM2_LoadExternal command invoked via Esys_LoadExternal_Finish. All non-simple output parameters are allocated by the function's implementation. NULL can be passed for every output parameter if the value is not required. same energy, different finish function β iconic β¨
π Parameters π
esysContextβ TheESYS_CONTEXT.objectHandleβESYS_TRhandle of ESYS resource forTPM2_HANDLE.
π Return values π
TSS2_RC_SUCCESSon successESYS_RC_SUCCESSif the function call was a success.TSS2_ESYS_RC_BAD_REFERENCEif theesysContextor required input pointers or required output handle references areNULL.TSS2_ESYS_RC_BAD_CONTEXTifesysContextcorruption is detected.TSS2_ESYS_RC_MEMORYif the ESAPI cannot allocate enough memory for internal operations or return parameters.TSS2_ESYS_RC_BAD_SEQUENCEif the context has an asynchronous operation already pending.TSS2_ESYS_RC_TRY_AGAINif the timeout counter expires before the TPM response is received.TSS2_ESYS_RC_INSUFFICIENT_RESPONSEif the TPM's response does not at least contain the tag, response length, and response code.TSS2_ESYS_RC_RSP_AUTH_FAILEDif the response HMAC from the TPM did not verify.TSS2_ESYS_RC_MALFORMED_RESPONSEif the TPM's response is corrupted.TSS2_RCsproduced by lower layers of the software stack may be returned to the caller unaltered unless handled internally.
π Author π
Generated automatically by Doxygen for tpm2-tss from the source code. the Doxygen machine did its little thing, and honestly? slay π
okay bestie that's the whole page π it comes from tpm2-tss, Version 4.1.5, and the page name is Esys_LoadExternal(3) β that's the footer info, and there's no date line on it to quote, so I'm not inventing one, periodt π
π¦ where this page comes from
- fedora 44: tpm2-tss-devel 4.1.5-1.fc44 Β· BSD-2-Clause
- fedora 44: tpm2-tss-devel 4.1.5-1.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms