Esys_CreatePrimary(3) | tpm2-tss | Esys_CreatePrimary(3) |
Esys_CreatePrimary - The ESAPI function for the TPM2_CreatePrimary command.
TSS2_RC Esys_CreatePrimary_Async (ESYS_CONTEXT
*esysContext, ESYS_TR primaryHandle, ESYS_TR shandle1,
ESYS_TR shandle2, ESYS_TR shandle3, const
TPM2B_SENSITIVE_CREATE *inSensitive, const TPM2B_PUBLIC *inPublic, const
TPM2B_DATA *outsideInfo, const TPML_PCR_SELECTION *creationPCR)
TSS2_RC Esys_CreatePrimary (ESYS_CONTEXT *esysContext,
ESYS_TR primaryHandle, ESYS_TR shandle1, ESYS_TR
shandle2, ESYS_TR shandle3, const TPM2B_SENSITIVE_CREATE
*inSensitive, const TPM2B_PUBLIC *inPublic, const TPM2B_DATA *outsideInfo,
const TPML_PCR_SELECTION *creationPCR, ESYS_TR *objectHandle,
TPM2B_PUBLIC **outPublic, TPM2B_CREATION_DATA **creationData, TPM2B_DIGEST
**creationHash, TPMT_TK_CREATION **creationTicket)
TSS2_RC Esys_CreatePrimary_Finish (ESYS_CONTEXT *esysContext,
ESYS_TR *objectHandle, TPM2B_PUBLIC **outPublic, TPM2B_CREATION_DATA
**creationData, TPM2B_DIGEST **creationHash, TPMT_TK_CREATION
**creationTicket)
ESAPI function to invoke the TPM2_CreatePrimary command either as a one-call or in an asynchronous manner.
One-Call function for TPM2_CreatePrimary
This function invokes the TPM2_CreatePrimary command in a one-call variant. This means the function will block until the TPM response is available. All input parameters are const. The memory for non-simple output parameters is allocated by the function implementation.
Parameters
Return values
Asynchronous function for TPM2_CreatePrimary
This function invokes the TPM2_CreatePrimary 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_CreatePrimary_Finish.
Parameters
Return values
Asynchronous finish function for TPM2_CreatePrimary
This function returns the results of a TPM2_CreatePrimary command invoked via Esys_CreatePrimary_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.
Parameters
Return values
Generated automatically by Doxygen for tpm2-tss from the source code.
Sun Feb 19 2023 | Version 3.2.1 |