Esys_SequenceComplete(3)
β¨ NAME β¨
Esys_SequenceComplete β it's literally the ESAPI function for the TPM2_SequenceComplete command, bestie. No cap.
This page is coming at you from the Library Functions Manual and it's about to be your new fave. π
β¨ SYNOPSIS β¨
Functions
TSS2_RC Esys_SequenceComplete_Finish (ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **result, TPMT_TK_HASHCHECK **validation)
β¨ Detailed Description β¨
Okay so, this is the ESAPI function that lets you invoke the TPM2_SequenceComplete command β and you've got options, bestie. You can do it as a one-call situation (all at once, iconic) or in an asynchronous manner (async vibes, very main character energy). Whatever works for your flow. β¨
β¨ Function Documentation β¨
TSS2_RC Esys_SequenceComplete_Finish (ESYS_CONTEXT * esysContext, TPM2B_DIGEST ** result, TPMT_TK_HASHCHECK ** validation)
Asynchronous finish function for TPM2_SequenceComplete. This function returns the results of a TPM2_SequenceComplete command invoked via Esys_SequenceComplete_Finish. All non-simple output parameters are allocated by the function's implementation. And here's the tea: NULL can be passed for every output parameter if the value is not required β so you don't have to take everything if you don't need it. π«Ά
Parameters
esysContextβ TheESYS_CONTEXT. That's your context, bestie. β¨resultβ The returned HMAC or digest in a sized buffer. (callee-allocated)validationβTPM2_Ticketindicating that the sequence of octets used to computeoutDigestdid not start withTPM2_GENERATED_VALUE. (callee-allocated)
Return values
TSS2_RC_SUCCESSβ on success πESYS_RC_SUCCESSβ if the function call was a success. Slay. β¨TSS2_ESYS_RC_BAD_REFERENCEβ if theesysContextor required input pointers or required output handle references areNULL. (not the vibe)TSS2_ESYS_RC_BAD_CONTEXTβ ifesysContextcorruption is detected. Uh oh.TSS2_ESYS_RC_MEMORYβ if the ESAPI cannot allocate enough memory for internal operations or return parameters. Memory issues, no cap.TSS2_ESYS_RC_BAD_SEQUENCEβ if the context has an asynchronous operation already pending. Wait your turn, bestie.TSS2_ESYS_RC_TRY_AGAINβ if the timeout counter expires before the TPM response is received. Try again, it's giving patience.TSS2_ESYS_RC_INSUFFICIENT_RESPONSEβ if the TPM's response does not at least contain the tag, response length, and response code. That's not enough info, periodt.TSS2_ESYS_RC_RSP_AUTH_FAILEDβ if the response HMAC from the TPM did not verify. Authentication said no. π«TSS2_ESYS_RC_MALFORMED_RESPONSEβ if the TPM's response is corrupted. Corrupted? Not on my watch. πTSS2_RCsβ produced by lower layers of the software stack may be returned to the caller unaltered unless handled internally. iykyk
β¨ Author β¨
Generated automatically by Doxygen for tpm2-tss from the source code. It's giving auto-generated realness. π€β¨
That's a wrap, bestie! This page is from tpm2-tss and it's Version 4.1.5. Stay iconic. πππ¦
π¦ 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