Esys_Clear(3)
okay bestie, welcome to Esys_Clear(3) from the Library Functions Manual β manual name folded in near the top, weβre not copying the header line, weβre thriving π
πΈ NAME πΈ
Esys_Clear β the ESAPI function for the TPM2_Clear command. periodt β¨
β¨ SYNOPSIS β¨
π Functions π
TSS2_RC Esys_Clear_Async (ESYS_CONTEXT *esysContext, ESYS_TR authHandle,
ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
π¦ Detailed Description π¦
ESAPI function to invoke the TPM2_Clear command either as a one-call or in an asynchronous manner. slay π«Ά
π Function Documentation π
π
Esys_Clear_Async π
TSS2_RC Esys_Clear_Async (ESYS_CONTEXT * esysContext, ESYS_TR authHandle,
ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Asynchronous function for TPM2_Clear. iykyk β¨
This function invokes the TPM2_Clear command in a asynchronous variant. This means the function will return as soon as the command has been sent downwards the stack to the TPM. All input parameters are const. In order to retrieve the TPM's response call Esys_Clear_Finish. no cap π
π Parameters π
esysContextβ TheESYS_CONTEXT.authHandleβTPM2_RH_LOCKOUTorTPM2_RH_PLATFORM+{PP}.shandle1β Session handle for authorization ofauthHandle.shandle2β Second session handle.shandle3β Third session handle.
π Return values π
ESYS_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_RCsproduced by lower layers of the software stack may be returned to the caller unaltered unless handled internally.TSS2_ESYS_RC_MULTIPLE_DECRYPT_SESSIONSif more than one session has the'decrypt'attribute bit set.TSS2_ESYS_RC_MULTIPLE_ENCRYPT_SESSIONSif more than one session has the'encrypt'attribute bit set.TSS2_ESYS_RC_BAD_TRif any of theESYS_TRobjects are unknown to theESYS_CONTEXTor are of the wrong type or if requiredESYS_TRobjects areESYS_TR_NONE.TSS2_ESYS_RC_NO_DECRYPT_PARAMif one of the sessions has the'decrypt'attribute set and the command does not support encryption of the first command parameter.TSS2_ESYS_RC_NO_ENCRYPT_PARAMif one of the sessions has the'encrypt'attribute set and the command does not support encryption of the first response parameter.
π§ Author π§
Generated automatically by Doxygen for tpm2-tss from the source code. iconic behavior π
cute sign-off time: this page is from tpm2-tss, version 4.1.5, and itβs Esys_Clear(3) β footer details acknowledged, bestie, now go be a main character with your TPM stack π«Άπ
π¦ 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