tss2_esys.h
/* SPDX-License-Identifier: BSD-2-Clause */
/*******************************************************************************
* Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG
* All rights reserved.
*******************************************************************************/
#ifndef TSS2_ESYS_H
#define TSS2_ESYS_H
#include "tss2_tcti.h"
#include "tss2_sys.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef uint32_t ESYS_TR;
#define ESYS_TR_NONE 0xfffU
#define ESYS_TR_PASSWORD 0x0ffU
#define ESYS_TR_PCR0 0U
#define ESYS_TR_PCR1 1U
#define ESYS_TR_PCR2 2U
#define ESYS_TR_PCR3 3U
#define ESYS_TR_PCR4 4U
#define ESYS_TR_PCR5 5U
#define ESYS_TR_PCR6 6U
#define ESYS_TR_PCR7 7U
#define ESYS_TR_PCR8 8U
#define ESYS_TR_PCR9 9U
#define ESYS_TR_PCR10 10U
#define ESYS_TR_PCR11 11U
#define ESYS_TR_PCR12 12U
#define ESYS_TR_PCR13 13U
#define ESYS_TR_PCR14 14U
#define ESYS_TR_PCR15 15U
#define ESYS_TR_PCR16 16U
#define ESYS_TR_PCR17 17U
#define ESYS_TR_PCR18 18U
#define ESYS_TR_PCR19 19U
#define ESYS_TR_PCR20 20U
#define ESYS_TR_PCR21 21U
#define ESYS_TR_PCR22 22U
#define ESYS_TR_PCR23 23U
#define ESYS_TR_PCR24 24U
#define ESYS_TR_PCR25 25U
#define ESYS_TR_PCR26 26U
#define ESYS_TR_PCR27 27U
#define ESYS_TR_PCR28 28U
#define ESYS_TR_PCR29 29U
#define ESYS_TR_PCR30 30U
#define ESYS_TR_PCR31 31U
/* From TPM_RH_CONSTANTS */
#define ESYS_TR_RH_OWNER 0x101U
#define ESYS_TR_RH_NULL 0x107U
#define ESYS_TR_RH_LOCKOUT 0x10AU
#define ESYS_TR_RH_ENDORSEMENT 0x10BU
#define ESYS_TR_RH_PLATFORM 0x10CU
#define ESYS_TR_RH_PLATFORM_NV 0x10DU
#define ESYS_TR_RH_FW_OWNER 0x10EU
#define ESYS_TR_RH_FW_ENDORSEMENT 0x10FU
#define ESYS_TR_RH_FW_PLATFORM 0x110U
#define ESYS_TR_RH_FW_NULL 0x111U
#define ESYS_TR_RH_SVN_OWNER_BASE 0x1010000U
#define ESYS_TR_RH_SVN_ENDORSEMENT_BASE 0x1020000U
#define ESYS_TR_RH_SVN_PLATFORM_BASE 0x1030000U
#define ESYS_TR_RH_SVN_NULL_BASE 0x1040000U
#define ESYS_TR_RH_AUTH_FIRST 0x110U
#define ESYS_TR_RH_AUTH(x) (ESYS_TR_RH_AUTH_FIRST + (ESYS_TR)(x))
#define ESYS_TR_RH_ACT_FIRST 0x120U
#define ESYS_TR_RH_ACT(x) (ESYS_TR_RH_ACT_FIRST + (ESYS_TR)(x))
#define ESYS_TR_RH_ACT_0 ESYS_TR_RH_ACT_FIRST
#define ESYS_TR_RH_ACT_1 0x121U
#define ESYS_TR_RH_ACT_2 0x122U
#define ESYS_TR_RH_ACT_3 0x123U
#define ESYS_TR_RH_ACT_4 0x124U
#define ESYS_TR_RH_ACT_5 0x125U
#define ESYS_TR_RH_ACT_6 0x126U
#define ESYS_TR_RH_ACT_7 0x127U
#define ESYS_TR_RH_ACT_8 0x128U
#define ESYS_TR_RH_ACT_9 0x129U
#define ESYS_TR_RH_ACT_A 0x12AU
#define ESYS_TR_RH_ACT_B 0x12BU
#define ESYS_TR_RH_ACT_C 0x12CU
#define ESYS_TR_RH_ACT_D 0x12DU
#define ESYS_TR_RH_ACT_E 0x12EU
#define ESYS_TR_RH_ACT_F 0x12FU
#define ESYS_TR_RH_ACT_LAST ESYS_TR_RH_ACT_F
#define ESYS_TR_RH_AC_FIRST 0x140U
#define ESYS_TR_RH_AC(x) (ESYS_TR_RH_AC_FIRST + (ESYS_TR)(x))
#define ESYS_TR_RH_AC_LAST (ESYS_TR_RH_AC_FIRST + 0xFFFFU)
typedef struct ESYS_CONTEXT ESYS_CONTEXT;
typedef struct ESYS_CRYPTO_CONTEXT_BLOB ESYS_CRYPTO_CONTEXT_BLOB;
/*
* Crypto Backend Support
*/
typedef TSS2_RC
(*ESYS_CRYPTO_HASH_START_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB ** context,
TPM2_ALG_ID hashAlg,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_HASH_UPDATE_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB * context,
const uint8_t *buffer,
size_t size,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_HASH_FINISH_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB **context,
uint8_t *buffer,
size_t *size,
void *userdata);
typedef void
(*ESYS_CRYPTO_HASH_ABORT_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB **context,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_HMAC_START_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB **context,
TPM2_ALG_ID hashAlg,
const uint8_t *key,
size_t size,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_HMAC_UPDATE_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB *context,
const uint8_t *buffer,
size_t size,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_HMAC_FINISH_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB **context,
uint8_t *buffer,
size_t *size,
void *userdata);
typedef void
(*ESYS_CRYPTO_HMAC_ABORT_FNP)(
ESYS_CRYPTO_CONTEXT_BLOB **context,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_GET_RANDOM2B_FNP)(
TPM2B_NONCE *nonce,
size_t num_bytes,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_GET_ECDH_POINT_FNP)(
TPM2B_PUBLIC *key,
size_t max_out_size,
TPM2B_ECC_PARAMETER *Z,
TPMS_ECC_POINT *Q,
BYTE *out_buffer,
size_t *out_size,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_AES_ENCRYPT_FNP)(
uint8_t *key,
TPM2_ALG_ID tpm_sym_alg,
TPMI_AES_KEY_BITS key_bits,
TPM2_ALG_ID tpm_mode,
uint8_t *buffer,
size_t buffer_size,
uint8_t *iv,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_AES_DECRYPT_FNP)(
uint8_t *key,
TPM2_ALG_ID tpm_sym_alg,
TPMI_AES_KEY_BITS key_bits,
TPM2_ALG_ID tpm_mode,
uint8_t *buffer,
size_t buffer_size,
uint8_t *iv,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_SM4_ENCRYPT_FNP)(
uint8_t *key,
TPM2_ALG_ID tpm_sym_alg,
TPMI_SM4_KEY_BITS key_bits,
TPM2_ALG_ID tpm_mode,
uint8_t *buffer,
size_t buffer_size,
uint8_t *iv,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_SM4_DECRYPT_FNP)(
uint8_t *key,
TPM2_ALG_ID tpm_sym_alg,
TPMI_SM4_KEY_BITS key_bits,
TPM2_ALG_ID tpm_mode,
uint8_t *buffer,
size_t buffer_size,
uint8_t *iv,
void *userdata);
typedef TSS2_RC
(*ESYS_CRYPTO_PK_RSA_ENCRYPT_FNP)(
TPM2B_PUBLIC * pub_tpm_key,
size_t in_size,
BYTE *in_buffer,
size_t max_out_size,
BYTE *out_buffer,
size_t *out_size,
const char *label,
void *userdata);
typedef TSS2_RC (*ESYS_CRYPTO_INIT_FNP)(void *userdata);
typedef struct ESYS_CRYPTO_CALLBACKS ESYS_CRYPTO_CALLBACKS;
struct ESYS_CRYPTO_CALLBACKS {
ESYS_CRYPTO_PK_RSA_ENCRYPT_FNP rsa_pk_encrypt;
ESYS_CRYPTO_HASH_START_FNP hash_start;
ESYS_CRYPTO_HASH_UPDATE_FNP hash_update;
ESYS_CRYPTO_HASH_FINISH_FNP hash_finish;
ESYS_CRYPTO_HASH_ABORT_FNP hash_abort;
ESYS_CRYPTO_HMAC_START_FNP hmac_start;
ESYS_CRYPTO_HMAC_UPDATE_FNP hmac_update;
ESYS_CRYPTO_HMAC_FINISH_FNP hmac_finish;
ESYS_CRYPTO_HMAC_ABORT_FNP hmac_abort;
ESYS_CRYPTO_GET_RANDOM2B_FNP get_random2b;
ESYS_CRYPTO_GET_ECDH_POINT_FNP get_ecdh_point;
ESYS_CRYPTO_AES_ENCRYPT_FNP aes_encrypt;
ESYS_CRYPTO_AES_DECRYPT_FNP aes_decrypt;
ESYS_CRYPTO_SM4_ENCRYPT_FNP sm4_encrypt;
ESYS_CRYPTO_SM4_DECRYPT_FNP sm4_decrypt;
ESYS_CRYPTO_INIT_FNP init;
void *userdata;
};
/*
* TPM 2.0 ESAPI Functions
*/
TSS2_RC
Esys_Initialize(
ESYS_CONTEXT **esys_context,
TSS2_TCTI_CONTEXT *tcti,
TSS2_ABI_VERSION *abiVersion);
void
Esys_Finalize(
ESYS_CONTEXT **context);
TSS2_RC
Esys_GetTcti(
ESYS_CONTEXT *esys_context,
TSS2_TCTI_CONTEXT **tcti);
TSS2_RC
Esys_GetPollHandles(
ESYS_CONTEXT *esys_context,
TSS2_TCTI_POLL_HANDLE **handles,
size_t *count);
TSS2_RC
Esys_SetTimeout(
ESYS_CONTEXT *esys_context,
int32_t timeout);
TSS2_RC
Esys_TR_Serialize(
ESYS_CONTEXT *esys_context,
ESYS_TR object,
uint8_t **buffer,
size_t *buffer_size);
TSS2_RC
Esys_TR_Deserialize(
ESYS_CONTEXT *esys_context,
uint8_t const *buffer,
size_t buffer_size,
ESYS_TR *esys_handle);
TSS2_RC
Esys_TR_FromTPMPublic_Async(
ESYS_CONTEXT *esysContext,
TPM2_HANDLE tpm_handle,
ESYS_TR optionalSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3);
TSS2_RC
Esys_TR_FromTPMPublic_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *object);
TSS2_RC
Esys_TR_FromTPMPublic(
ESYS_CONTEXT *esysContext,
TPM2_HANDLE tpm_handle,
ESYS_TR optionalSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
ESYS_TR *object);
TSS2_RC
Esys_TR_Close(
ESYS_CONTEXT *esys_context,
ESYS_TR *rsrc_handle);
TSS2_RC
Esys_TR_SetAuth(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
TPM2B_AUTH const *authValue);
TSS2_RC
Esys_TR_GetName(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
TPM2B_NAME **name);
TSS2_RC
Esys_TRSess_GetAttributes(
ESYS_CONTEXT *esysContext,
ESYS_TR session,
TPMA_SESSION *flags);
TSS2_RC
Esys_TRSess_SetAttributes(
ESYS_CONTEXT *esysContext,
ESYS_TR session,
TPMA_SESSION flags,
TPMA_SESSION mask);
TSS2_RC
Esys_TRSess_GetNonceTPM(
ESYS_CONTEXT *esysContext,
ESYS_TR session,
TPM2B_NONCE **nonceTPM);
TSS2_RC
Esys_TR_GetTpmHandle(
ESYS_CONTEXT *esys_context,
ESYS_TR esys_handle,
TPM2_HANDLE *tpm_handle);
TSS2_RC
Esys_TRSess_GetAuthRequired(
ESYS_CONTEXT *esys_context,
ESYS_TR esys_handle,
TPMI_YES_NO *auth_needed);
/* Table 5 - TPM2_Startup Command */
TSS2_RC
Esys_Startup(
ESYS_CONTEXT *esysContext,
TPM2_SU startupType);
TSS2_RC
Esys_Startup_Async(
ESYS_CONTEXT *esysContext,
TPM2_SU startupType);
TSS2_RC
Esys_Startup_Finish(
ESYS_CONTEXT *esysContext);
/* Table 7 - TPM2_Shutdown Command */
TSS2_RC
Esys_Shutdown(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_SU shutdownType);
TSS2_RC
Esys_Shutdown_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_SU shutdownType);
TSS2_RC
Esys_Shutdown_Finish(
ESYS_CONTEXT *esysContext);
/* Table 9 - TPM2_SelfTest Command */
TSS2_RC
Esys_SelfTest(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO fullTest);
TSS2_RC
Esys_SelfTest_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO fullTest);
TSS2_RC
Esys_SelfTest_Finish(
ESYS_CONTEXT *esysContext);
/* Table 11 - TPM2_IncrementalSelfTest Command */
TSS2_RC
Esys_IncrementalSelfTest(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_ALG *toTest,
TPML_ALG **toDoList);
TSS2_RC
Esys_IncrementalSelfTest_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_ALG *toTest);
TSS2_RC
Esys_IncrementalSelfTest_Finish(
ESYS_CONTEXT *esysContext,
TPML_ALG **toDoList);
/* Table 13 - TPM2_GetTestResult Command */
TSS2_RC
Esys_GetTestResult(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2B_MAX_BUFFER **outData,
TPM2_RC *testResult);
TSS2_RC
Esys_GetTestResult_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_GetTestResult_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_MAX_BUFFER **outData,
TPM2_RC *testResult);
/* Table 15 - TPM2_StartAuthSession Command */
TSS2_RC
Esys_StartAuthSession(
ESYS_CONTEXT *esysContext,
ESYS_TR tpmKey,
ESYS_TR bind,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NONCE *nonceCaller,
TPM2_SE sessionType,
const TPMT_SYM_DEF *symmetric,
TPMI_ALG_HASH authHash,
ESYS_TR *sessionHandle);
TSS2_RC
Esys_StartAuthSession_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR tpmKey,
ESYS_TR bind,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NONCE *nonceCaller,
TPM2_SE sessionType,
const TPMT_SYM_DEF *symmetric,
TPMI_ALG_HASH authHash);
TSS2_RC
Esys_StartAuthSession_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *sessionHandle);
/* Table 17 - TPM2_PolicyRestart Command */
TSS2_RC
Esys_PolicyRestart(
ESYS_CONTEXT *esysContext,
ESYS_TR sessionHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyRestart_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR sessionHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyRestart_Finish(
ESYS_CONTEXT *esysContext);
/* Table 19 - TPM2_Create Command */
TSS2_RC
Esys_Create(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
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,
TPM2B_PRIVATE **outPrivate,
TPM2B_PUBLIC **outPublic,
TPM2B_CREATION_DATA **creationData,
TPM2B_DIGEST **creationHash,
TPMT_TK_CREATION **creationTicket);
TSS2_RC
Esys_Create_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
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_Create_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_PRIVATE **outPrivate,
TPM2B_PUBLIC **outPublic,
TPM2B_CREATION_DATA **creationData,
TPM2B_DIGEST **creationHash,
TPMT_TK_CREATION **creationTicket);
/* Table 21 - TPM2_Load Command */
TSS2_RC
Esys_Load(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PRIVATE *inPrivate,
const TPM2B_PUBLIC *inPublic,
ESYS_TR *objectHandle);
TSS2_RC
Esys_Load_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PRIVATE *inPrivate,
const TPM2B_PUBLIC *inPublic);
TSS2_RC
Esys_Load_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *objectHandle);
/* Table 23 - TPM2_LoadExternal Command */
TSS2_RC
Esys_LoadExternal(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_SENSITIVE *inPrivate,
const TPM2B_PUBLIC *inPublic,
ESYS_TR hierarchy,
ESYS_TR *objectHandle);
TSS2_RC
Esys_LoadExternal_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_SENSITIVE *inPrivate,
const TPM2B_PUBLIC *inPublic,
ESYS_TR hierarchy);
TSS2_RC
Esys_LoadExternal_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *objectHandle);
/* Table 25 - TPM2_ReadPublic Command */
TSS2_RC
Esys_ReadPublic(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2B_PUBLIC **outPublic,
TPM2B_NAME **name,
TPM2B_NAME **qualifiedName);
TSS2_RC
Esys_ReadPublic_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_ReadPublic_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_PUBLIC **outPublic,
TPM2B_NAME **name,
TPM2B_NAME **qualifiedName);
/* Table 27 - TPM2_ActivateCredential Command */
TSS2_RC
Esys_ActivateCredential(
ESYS_CONTEXT *esysContext,
ESYS_TR activateHandle,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ID_OBJECT *credentialBlob,
const TPM2B_ENCRYPTED_SECRET *secret,
TPM2B_DIGEST **certInfo);
TSS2_RC
Esys_ActivateCredential_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR activateHandle,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ID_OBJECT *credentialBlob,
const TPM2B_ENCRYPTED_SECRET *secret);
TSS2_RC
Esys_ActivateCredential_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **certInfo);
TSS2_RC
Esys_ACT_SetTimeout(
ESYS_CONTEXT *esysContext,
ESYS_TR actHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 startTimeout);
TSS2_RC
Esys_ACT_SetTimeout_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR actHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 startTimeout);
TSS2_RC
Esys_ACT_SetTimeout_Finish(
ESYS_CONTEXT *esysContext);
TSS2_RC
Esys_AC_GetCapability_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR optionalSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
ESYS_TR ac,
TPM_AT capability,
UINT32 count);
TSS2_RC
Esys_AC_GetCapability_Finish(
ESYS_CONTEXT *esysContext,
TPMI_YES_NO *moreData,
TPML_AC_CAPABILITIES **capabilityData);
TSS2_RC
Esys_AC_GetCapability(
ESYS_CONTEXT *esysContext,
ESYS_TR optionalSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
ESYS_TR ac,
TPM_AT capability,
UINT32 count,
TPMI_YES_NO *moreData,
TPML_AC_CAPABILITIES **capabilityData);
TSS2_RC
Esys_AC_Send_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR sendObject,
ESYS_TR nvAuthHandle,
ESYS_TR optionalSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
ESYS_TR ac,
TPM2B_MAX_BUFFER *acDataIn);
TSS2_RC
Esys_AC_Send_Finish(
ESYS_CONTEXT *esysContext,
TPMS_AC_OUTPUT **acDataOut);
TSS2_RC
Esys_AC_Send(
ESYS_CONTEXT *esysContext,
ESYS_TR sendObject,
ESYS_TR nvAuthHandle,
ESYS_TR optionalSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
ESYS_TR ac,
TPM2B_MAX_BUFFER *acDataIn,
TPMS_AC_OUTPUT **acDataOut);
TSS2_RC
Esys_Policy_AC_SendSelect_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
TPM2B_NAME *objectName,
TPM2B_NAME *authHandleName,
TPM2B_NAME *acName,
const TPMI_YES_NO includeObject);
TSS2_RC
Esys_Policy_AC_SendSelect_Finish(
ESYS_CONTEXT *esysContext);
TSS2_RC
Esys_Policy_AC_SendSelect(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
TPM2B_NAME *objectName,
TPM2B_NAME *authHandleName,
TPM2B_NAME *acName,
TPMI_YES_NO includeObject);
/* Table 29 - TPM2_MakeCredential Command */
TSS2_RC
Esys_MakeCredential(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *credential,
const TPM2B_NAME *objectName,
TPM2B_ID_OBJECT **credentialBlob,
TPM2B_ENCRYPTED_SECRET **secret);
TSS2_RC
Esys_MakeCredential_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *credential,
const TPM2B_NAME *objectName);
TSS2_RC
Esys_MakeCredential_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ID_OBJECT **credentialBlob,
TPM2B_ENCRYPTED_SECRET **secret);
/* Table 31 - TPM2_Unseal Command */
TSS2_RC
Esys_Unseal(
ESYS_CONTEXT *esysContext,
ESYS_TR itemHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2B_SENSITIVE_DATA **outData);
TSS2_RC
Esys_Unseal_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR itemHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_Unseal_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_SENSITIVE_DATA **outData);
/* Table 33 - TPM2_ObjectChangeAuth Command */
TSS2_RC
Esys_ObjectChangeAuth(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *newAuth,
TPM2B_PRIVATE **outPrivate);
TSS2_RC
Esys_ObjectChangeAuth_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *newAuth);
TSS2_RC
Esys_ObjectChangeAuth_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_PRIVATE **outPrivate);
/* Table 35 - TPM2_CreateLoaded Command */
TSS2_RC
Esys_CreateLoaded(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_SENSITIVE_CREATE *inSensitive,
const TPM2B_TEMPLATE *inPublic,
ESYS_TR *objectHandle,
TPM2B_PRIVATE **outPrivate,
TPM2B_PUBLIC **outPublic);
TSS2_RC
Esys_CreateLoaded_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_SENSITIVE_CREATE *inSensitive,
const TPM2B_TEMPLATE *inPublic);
TSS2_RC
Esys_CreateLoaded_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *objectHandle,
TPM2B_PRIVATE **outPrivate,
TPM2B_PUBLIC **outPublic);
/* Table 37 - TPM2_Duplicate Command */
TSS2_RC
Esys_Duplicate(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR newParentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *encryptionKeyIn,
const TPMT_SYM_DEF_OBJECT *symmetricAlg,
TPM2B_DATA **encryptionKeyOut,
TPM2B_PRIVATE **duplicate,
TPM2B_ENCRYPTED_SECRET **outSymSeed);
TSS2_RC
Esys_Duplicate_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR newParentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *encryptionKeyIn,
const TPMT_SYM_DEF_OBJECT *symmetricAlg);
TSS2_RC
Esys_Duplicate_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DATA **encryptionKeyOut,
TPM2B_PRIVATE **duplicate,
TPM2B_ENCRYPTED_SECRET **outSymSeed);
/* Table 39 - TPM2_Rewrap Command */
TSS2_RC
Esys_Rewrap(
ESYS_CONTEXT *esysContext,
ESYS_TR oldParent,
ESYS_TR newParent,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PRIVATE *inDuplicate,
const TPM2B_NAME *name,
const TPM2B_ENCRYPTED_SECRET *inSymSeed,
TPM2B_PRIVATE **outDuplicate,
TPM2B_ENCRYPTED_SECRET **outSymSeed);
TSS2_RC
Esys_Rewrap_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR oldParent,
ESYS_TR newParent,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PRIVATE *inDuplicate,
const TPM2B_NAME *name,
const TPM2B_ENCRYPTED_SECRET *inSymSeed);
TSS2_RC
Esys_Rewrap_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_PRIVATE **outDuplicate,
TPM2B_ENCRYPTED_SECRET **outSymSeed);
/* Table 41 - TPM2_Import Command */
TSS2_RC
Esys_Import(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *encryptionKey,
const TPM2B_PUBLIC *objectPublic,
const TPM2B_PRIVATE *duplicate,
const TPM2B_ENCRYPTED_SECRET *inSymSeed,
const TPMT_SYM_DEF_OBJECT *symmetricAlg,
TPM2B_PRIVATE **outPrivate);
TSS2_RC
Esys_Import_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR parentHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *encryptionKey,
const TPM2B_PUBLIC *objectPublic,
const TPM2B_PRIVATE *duplicate,
const TPM2B_ENCRYPTED_SECRET *inSymSeed,
const TPMT_SYM_DEF_OBJECT *symmetricAlg);
TSS2_RC
Esys_Import_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_PRIVATE **outPrivate);
/* Table 45 - TPM2_RSA_Encrypt Command */
TSS2_RC
Esys_RSA_Encrypt(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PUBLIC_KEY_RSA *message,
const TPMT_RSA_DECRYPT *inScheme,
const TPM2B_DATA *label,
TPM2B_PUBLIC_KEY_RSA **outData);
TSS2_RC
Esys_RSA_Encrypt_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PUBLIC_KEY_RSA *message,
const TPMT_RSA_DECRYPT *inScheme,
const TPM2B_DATA *label);
TSS2_RC
Esys_RSA_Encrypt_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_PUBLIC_KEY_RSA **outData);
/* Table 47 - TPM2_RSA_Decrypt Command */
TSS2_RC
Esys_RSA_Decrypt(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PUBLIC_KEY_RSA *cipherText,
const TPMT_RSA_DECRYPT *inScheme,
const TPM2B_DATA *label,
TPM2B_PUBLIC_KEY_RSA **message);
TSS2_RC
Esys_RSA_Decrypt_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_PUBLIC_KEY_RSA *cipherText,
const TPMT_RSA_DECRYPT *inScheme,
const TPM2B_DATA *label);
TSS2_RC
Esys_RSA_Decrypt_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_PUBLIC_KEY_RSA **message);
/* Table 49 - TPM2_ECDH_KeyGen Command */
TSS2_RC
Esys_ECDH_KeyGen(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2B_ECC_POINT **zPoint,
TPM2B_ECC_POINT **pubPoint);
TSS2_RC
Esys_ECDH_KeyGen_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_ECDH_KeyGen_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ECC_POINT **zPoint,
TPM2B_ECC_POINT **pubPoint);
/* Table 51 - TPM2_ECDH_ZGen Command */
TSS2_RC
Esys_ECDH_ZGen(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ECC_POINT *inPoint,
TPM2B_ECC_POINT **outPoint);
TSS2_RC
Esys_ECDH_ZGen_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ECC_POINT *inPoint);
TSS2_RC
Esys_ECDH_ZGen_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ECC_POINT **outPoint);
/* Table 53 - TPM2_ECC_Parameters Command */
TSS2_RC
Esys_ECC_Parameters(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_ECC_CURVE curveID,
TPMS_ALGORITHM_DETAIL_ECC **parameters);
TSS2_RC
Esys_ECC_Parameters_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_ECC_CURVE curveID);
TSS2_RC
Esys_ECC_Parameters_Finish(
ESYS_CONTEXT *esysContext,
TPMS_ALGORITHM_DETAIL_ECC **parameters);
/* Table 55 - TPM2_ZGen_2Phase Command */
TSS2_RC
Esys_ZGen_2Phase(
ESYS_CONTEXT *esysContext,
ESYS_TR keyA,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ECC_POINT *inQsB,
const TPM2B_ECC_POINT *inQeB,
TPMI_ECC_KEY_EXCHANGE inScheme,
UINT16 counter,
TPM2B_ECC_POINT **outZ1,
TPM2B_ECC_POINT **outZ2);
TSS2_RC
Esys_ZGen_2Phase_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyA,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ECC_POINT *inQsB,
const TPM2B_ECC_POINT *inQeB,
TPMI_ECC_KEY_EXCHANGE inScheme,
UINT16 counter);
TSS2_RC
Esys_ZGen_2Phase_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ECC_POINT **outZ1,
TPM2B_ECC_POINT **outZ2);
/* Table 58 - TPM2_EncryptDecrypt Command */
TSS2_RC
Esys_EncryptDecrypt(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO decrypt,
TPMI_ALG_CIPHER_MODE mode,
const TPM2B_IV *ivIn,
const TPM2B_MAX_BUFFER *inData,
TPM2B_MAX_BUFFER **outData,
TPM2B_IV **ivOut);
TSS2_RC
Esys_EncryptDecrypt_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO decrypt,
TPMI_ALG_CIPHER_MODE mode,
const TPM2B_IV *ivIn,
const TPM2B_MAX_BUFFER *inData);
TSS2_RC
Esys_EncryptDecrypt_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_MAX_BUFFER **outData,
TPM2B_IV **ivOut);
/* Table 60 - TPM2_EncryptDecrypt2 Command */
TSS2_RC
Esys_EncryptDecrypt2(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *inData,
TPMI_YES_NO decrypt,
TPMI_ALG_CIPHER_MODE mode,
const TPM2B_IV *ivIn,
TPM2B_MAX_BUFFER **outData,
TPM2B_IV **ivOut);
TSS2_RC
Esys_EncryptDecrypt2_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *inData,
TPMI_YES_NO decrypt,
TPMI_ALG_CIPHER_MODE mode,
const TPM2B_IV *ivIn);
TSS2_RC
Esys_EncryptDecrypt2_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_MAX_BUFFER **outData,
TPM2B_IV **ivOut);
/* Table 62 - TPM2_Hash Command */
TSS2_RC
Esys_Hash(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *data,
TPMI_ALG_HASH hashAlg,
ESYS_TR hierarchy,
TPM2B_DIGEST **outHash,
TPMT_TK_HASHCHECK **validation);
TSS2_RC
Esys_Hash_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *data,
TPMI_ALG_HASH hashAlg,
ESYS_TR hierarchy);
TSS2_RC
Esys_Hash_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **outHash,
TPMT_TK_HASHCHECK **validation);
/* Table 64 - TPM2_HMAC Command */
TSS2_RC
Esys_HMAC(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer,
TPMI_ALG_HASH hashAlg,
TPM2B_DIGEST **outHMAC);
TSS2_RC
Esys_HMAC_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer,
TPMI_ALG_HASH hashAlg);
TSS2_RC
Esys_HMAC_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **outHMAC);
TSS2_RC
Esys_MAC_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR handleSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
const TPM2B_MAX_BUFFER *buffer,
TPMI_ALG_MAC_SCHEME inScheme);
TSS2_RC
Esys_MAC_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **outMAC);
TSS2_RC
Esys_MAC(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR handleSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
const TPM2B_MAX_BUFFER *buffer,
TPMI_ALG_MAC_SCHEME inScheme,
TPM2B_DIGEST **outMAC);
/* Table 66 - TPM2_GetRandom Command */
TSS2_RC
Esys_GetRandom(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT16 bytesRequested,
TPM2B_DIGEST **randomBytes);
TSS2_RC
Esys_GetRandom_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT16 bytesRequested);
TSS2_RC
Esys_GetRandom_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **randomBytes);
/* Table 68 - TPM2_StirRandom Command */
TSS2_RC
Esys_StirRandom(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_SENSITIVE_DATA *inData);
TSS2_RC
Esys_StirRandom_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_SENSITIVE_DATA *inData);
TSS2_RC
Esys_StirRandom_Finish(
ESYS_CONTEXT *esysContext);
/* Table 71 - TPM2_HMAC_Start Command */
TSS2_RC
Esys_HMAC_Start(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *auth,
TPMI_ALG_HASH hashAlg,
ESYS_TR *sequenceHandle);
TSS2_RC
Esys_HMAC_Start_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *auth,
TPMI_ALG_HASH hashAlg);
TSS2_RC
Esys_HMAC_Start_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *sequenceHandle);
TSS2_RC
Esys_MAC_Start(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR handleSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
const TPM2B_AUTH *auth,
TPMI_ALG_MAC_SCHEME inScheme,
ESYS_TR *sequenceHandle);
TSS2_RC
Esys_MAC_Start_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR handle,
ESYS_TR handleSession1,
ESYS_TR optionalSession2,
ESYS_TR optionalSession3,
const TPM2B_AUTH *auth,
TPMI_ALG_MAC_SCHEME inScheme);
TSS2_RC
Esys_MAC_Start_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *sequenceHandle);
/* Table 73 - TPM2_HashSequenceStart Command */
TSS2_RC
Esys_HashSequenceStart(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *auth,
TPMI_ALG_HASH hashAlg,
ESYS_TR *sequenceHandle);
TSS2_RC
Esys_HashSequenceStart_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *auth,
TPMI_ALG_HASH hashAlg);
TSS2_RC
Esys_HashSequenceStart_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *sequenceHandle);
/* Table 75 - TPM2_SequenceUpdate Command */
TSS2_RC
Esys_SequenceUpdate(
ESYS_CONTEXT *esysContext,
ESYS_TR sequenceHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer);
TSS2_RC
Esys_SequenceUpdate_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR sequenceHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer);
TSS2_RC
Esys_SequenceUpdate_Finish(
ESYS_CONTEXT *esysContext);
/* Table 77 - TPM2_SequenceComplete Command */
TSS2_RC
Esys_SequenceComplete(
ESYS_CONTEXT *esysContext,
ESYS_TR sequenceHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer,
ESYS_TR hierarchy,
TPM2B_DIGEST **result,
TPMT_TK_HASHCHECK **validation);
TSS2_RC
Esys_SequenceComplete_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR sequenceHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer,
ESYS_TR hierarchy);
TSS2_RC
Esys_SequenceComplete_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **result,
TPMT_TK_HASHCHECK **validation);
/* Table 79 - TPM2_EventSequenceComplete Command */
TSS2_RC
Esys_EventSequenceComplete(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR sequenceHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer,
TPML_DIGEST_VALUES **results);
TSS2_RC
Esys_EventSequenceComplete_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR sequenceHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *buffer);
TSS2_RC
Esys_EventSequenceComplete_Finish(
ESYS_CONTEXT *esysContext,
TPML_DIGEST_VALUES **results);
/* Table 81 - TPM2_Certify Command */
TSS2_RC
Esys_Certify(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
TPM2B_ATTEST **certifyInfo,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_Certify_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme);
TSS2_RC
Esys_Certify_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ATTEST **certifyInfo,
TPMT_SIGNATURE **signature);
/* Table 83 - TPM2_CertifyCreation Command */
TSS2_RC
Esys_CertifyCreation(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR objectHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPM2B_DIGEST *creationHash,
const TPMT_SIG_SCHEME *inScheme,
const TPMT_TK_CREATION *creationTicket,
TPM2B_ATTEST **certifyInfo,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_CertifyCreation_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR objectHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPM2B_DIGEST *creationHash,
const TPMT_SIG_SCHEME *inScheme,
const TPMT_TK_CREATION *creationTicket);
TSS2_RC
Esys_CertifyCreation_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ATTEST **certifyInfo,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_CertifyX509(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *reserved,
const TPMT_SIG_SCHEME *inScheme,
const TPM2B_MAX_BUFFER *partialCertificate,
TPM2B_MAX_BUFFER **addedToCertificate,
TPM2B_DIGEST **tbsDigest,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_CertifyX509_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR objectHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *reserved,
const TPMT_SIG_SCHEME *inScheme,
const TPM2B_MAX_BUFFER *partialCertificate);
TSS2_RC
Esys_CertifyX509_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_MAX_BUFFER **addedToCertificate,
TPM2B_DIGEST **tbsDigest,
TPMT_SIGNATURE **signature);
/* Table 85 - TPM2_Quote Command */
TSS2_RC
Esys_Quote(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
const TPML_PCR_SELECTION *PCRselect,
TPM2B_ATTEST **quoted,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_Quote_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
const TPML_PCR_SELECTION *PCRselect);
TSS2_RC
Esys_Quote_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ATTEST **quoted,
TPMT_SIGNATURE **signature);
/* Table 87 - TPM2_GetSessionAuditDigest Command */
TSS2_RC
Esys_GetSessionAuditDigest(
ESYS_CONTEXT *esysContext,
ESYS_TR privacyAdminHandle,
ESYS_TR signHandle,
ESYS_TR sessionHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
TPM2B_ATTEST **auditInfo,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_GetSessionAuditDigest_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR privacyAdminHandle,
ESYS_TR signHandle,
ESYS_TR sessionHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme);
TSS2_RC
Esys_GetSessionAuditDigest_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ATTEST **auditInfo,
TPMT_SIGNATURE **signature);
/* Table 89 - TPM2_GetCommandAuditDigest Command */
TSS2_RC
Esys_GetCommandAuditDigest(
ESYS_CONTEXT *esysContext,
ESYS_TR privacyHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
TPM2B_ATTEST **auditInfo,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_GetCommandAuditDigest_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR privacyHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme);
TSS2_RC
Esys_GetCommandAuditDigest_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ATTEST **auditInfo,
TPMT_SIGNATURE **signature);
/* Table 91 - TPM2_GetTime Command */
TSS2_RC
Esys_GetTime(
ESYS_CONTEXT *esysContext,
ESYS_TR privacyAdminHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
TPM2B_ATTEST **timeInfo,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_GetTime_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR privacyAdminHandle,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme);
TSS2_RC
Esys_GetTime_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ATTEST **timeInfo,
TPMT_SIGNATURE **signature);
/* Table 93 - TPM2_Commit Command */
TSS2_RC
Esys_Commit(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ECC_POINT *P1,
const TPM2B_SENSITIVE_DATA *s2,
const TPM2B_ECC_PARAMETER *y2,
TPM2B_ECC_POINT **K,
TPM2B_ECC_POINT **L,
TPM2B_ECC_POINT **E,
UINT16 *counter);
TSS2_RC
Esys_Commit_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_ECC_POINT *P1,
const TPM2B_SENSITIVE_DATA *s2,
const TPM2B_ECC_PARAMETER *y2);
TSS2_RC
Esys_Commit_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ECC_POINT **K,
TPM2B_ECC_POINT **L,
TPM2B_ECC_POINT **E,
UINT16 *counter);
/* Table 95 - TPM2_EC_Ephemeral Command */
TSS2_RC
Esys_EC_Ephemeral(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_ECC_CURVE curveID,
TPM2B_ECC_POINT **Q,
UINT16 *counter);
TSS2_RC
Esys_EC_Ephemeral_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_ECC_CURVE curveID);
TSS2_RC
Esys_EC_Ephemeral_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ECC_POINT **Q,
UINT16 *counter);
/* Table 97 - TPM2_VerifySignature Command */
TSS2_RC
Esys_VerifySignature(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *digest,
const TPMT_SIGNATURE *signature,
TPMT_TK_VERIFIED **validation);
TSS2_RC
Esys_VerifySignature_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *digest,
const TPMT_SIGNATURE *signature);
TSS2_RC
Esys_VerifySignature_Finish(
ESYS_CONTEXT *esysContext,
TPMT_TK_VERIFIED **validation);
/* Table 99 - TPM2_Sign Command */
TSS2_RC
Esys_Sign(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *digest,
const TPMT_SIG_SCHEME *inScheme,
const TPMT_TK_HASHCHECK *validation,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_Sign_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *digest,
const TPMT_SIG_SCHEME *inScheme,
const TPMT_TK_HASHCHECK *validation);
TSS2_RC
Esys_Sign_Finish(
ESYS_CONTEXT *esysContext,
TPMT_SIGNATURE **signature);
/* Table 101 - TPM2_SetCommandCodeAuditStatus Command */
TSS2_RC
Esys_SetCommandCodeAuditStatus(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_ALG_HASH auditAlg,
const TPML_CC *setList,
const TPML_CC *clearList);
TSS2_RC
Esys_SetCommandCodeAuditStatus_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_ALG_HASH auditAlg,
const TPML_CC *setList,
const TPML_CC *clearList);
TSS2_RC
Esys_SetCommandCodeAuditStatus_Finish(
ESYS_CONTEXT *esysContext);
/* Table 103 - TPM2_PCR_Extend Command */
TSS2_RC
Esys_PCR_Extend(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_DIGEST_VALUES *digests);
TSS2_RC
Esys_PCR_Extend_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_DIGEST_VALUES *digests);
TSS2_RC
Esys_PCR_Extend_Finish(
ESYS_CONTEXT *esysContext);
/* Table 105 - TPM2_PCR_Event Command */
TSS2_RC
Esys_PCR_Event(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_EVENT *eventData,
TPML_DIGEST_VALUES **digests);
TSS2_RC
Esys_PCR_Event_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_EVENT *eventData);
TSS2_RC
Esys_PCR_Event_Finish(
ESYS_CONTEXT *esysContext,
TPML_DIGEST_VALUES **digests);
/* Table 107 - TPM2_PCR_Read Command */
TSS2_RC
Esys_PCR_Read(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_PCR_SELECTION *pcrSelectionIn,
UINT32 *pcrUpdateCounter,
TPML_PCR_SELECTION **pcrSelectionOut,
TPML_DIGEST **pcrValues);
TSS2_RC
Esys_PCR_Read_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_PCR_SELECTION *pcrSelectionIn);
TSS2_RC
Esys_PCR_Read_Finish(
ESYS_CONTEXT *esysContext,
UINT32 *pcrUpdateCounter,
TPML_PCR_SELECTION **pcrSelectionOut,
TPML_DIGEST **pcrValues);
/* Table 109 - TPM2_PCR_Allocate Command */
TSS2_RC
Esys_PCR_Allocate(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_PCR_SELECTION *pcrAllocation,
TPMI_YES_NO *allocationSuccess,
UINT32 *maxPCR,
UINT32 *sizeNeeded,
UINT32 *sizeAvailable);
TSS2_RC
Esys_PCR_Allocate_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_PCR_SELECTION *pcrAllocation);
TSS2_RC
Esys_PCR_Allocate_Finish(
ESYS_CONTEXT *esysContext,
TPMI_YES_NO *allocationSuccess,
UINT32 *maxPCR,
UINT32 *sizeNeeded,
UINT32 *sizeAvailable);
/* Table 111 - TPM2_PCR_SetAuthPolicy Command */
TSS2_RC
Esys_PCR_SetAuthPolicy(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *authPolicy,
TPMI_ALG_HASH hashAlg,
TPMI_DH_PCR pcrNum);
TSS2_RC
Esys_PCR_SetAuthPolicy_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *authPolicy,
TPMI_ALG_HASH hashAlg,
TPMI_DH_PCR pcrNum);
TSS2_RC
Esys_PCR_SetAuthPolicy_Finish(
ESYS_CONTEXT *esysContext);
/* Table 113 - TPM2_PCR_SetAuthValue Command */
TSS2_RC
Esys_PCR_SetAuthValue(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *auth);
TSS2_RC
Esys_PCR_SetAuthValue_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *auth);
TSS2_RC
Esys_PCR_SetAuthValue_Finish(
ESYS_CONTEXT *esysContext);
/* Table 115 - TPM2_PCR_Reset Command */
TSS2_RC
Esys_PCR_Reset(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PCR_Reset_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR pcrHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PCR_Reset_Finish(
ESYS_CONTEXT *esysContext);
/* Table 117 - TPM2_PolicySigned Command */
TSS2_RC
Esys_PolicySigned(
ESYS_CONTEXT *esysContext,
ESYS_TR authObject,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NONCE *nonceTPM,
const TPM2B_DIGEST *cpHashA,
const TPM2B_NONCE *policyRef,
INT32 expiration,
const TPMT_SIGNATURE *auth,
TPM2B_TIMEOUT **timeout,
TPMT_TK_AUTH **policyTicket);
TSS2_RC
Esys_PolicySigned_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authObject,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NONCE *nonceTPM,
const TPM2B_DIGEST *cpHashA,
const TPM2B_NONCE *policyRef,
INT32 expiration,
const TPMT_SIGNATURE *auth);
TSS2_RC
Esys_PolicySigned_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_TIMEOUT **timeout,
TPMT_TK_AUTH **policyTicket);
/* Table 119 - TPM2_PolicySecret Command */
TSS2_RC
Esys_PolicySecret(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NONCE *nonceTPM,
const TPM2B_DIGEST *cpHashA,
const TPM2B_NONCE *policyRef,
INT32 expiration,
TPM2B_TIMEOUT **timeout,
TPMT_TK_AUTH **policyTicket);
TSS2_RC
Esys_PolicySecret_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NONCE *nonceTPM,
const TPM2B_DIGEST *cpHashA,
const TPM2B_NONCE *policyRef,
INT32 expiration);
TSS2_RC
Esys_PolicySecret_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_TIMEOUT **timeout,
TPMT_TK_AUTH **policyTicket);
/* Table 121 - TPM2_PolicyTicket Command */
TSS2_RC
Esys_PolicyTicket(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_TIMEOUT *timeout,
const TPM2B_DIGEST *cpHashA,
const TPM2B_NONCE *policyRef,
const TPM2B_NAME *authName,
const TPMT_TK_AUTH *ticket);
TSS2_RC
Esys_PolicyTicket_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_TIMEOUT *timeout,
const TPM2B_DIGEST *cpHashA,
const TPM2B_NONCE *policyRef,
const TPM2B_NAME *authName,
const TPMT_TK_AUTH *ticket);
TSS2_RC
Esys_PolicyTicket_Finish(
ESYS_CONTEXT *esysContext);
/* Table 123 - TPM2_PolicyOR Command */
TSS2_RC
Esys_PolicyOR(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_DIGEST *pHashList);
TSS2_RC
Esys_PolicyOR_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_DIGEST *pHashList);
TSS2_RC
Esys_PolicyOR_Finish(
ESYS_CONTEXT *esysContext);
/* Table 125 - TPM2_PolicyPCR Command */
TSS2_RC
Esys_PolicyPCR(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *pcrDigest,
const TPML_PCR_SELECTION *pcrs);
TSS2_RC
Esys_PolicyPCR_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *pcrDigest,
const TPML_PCR_SELECTION *pcrs);
TSS2_RC
Esys_PolicyPCR_Finish(
ESYS_CONTEXT *esysContext);
/* Table 127 - TPM2_PolicyLocality Command */
TSS2_RC
Esys_PolicyLocality(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMA_LOCALITY locality);
TSS2_RC
Esys_PolicyLocality_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMA_LOCALITY locality);
TSS2_RC
Esys_PolicyLocality_Finish(
ESYS_CONTEXT *esysContext);
/* Table 129 - TPM2_PolicyNV Command */
TSS2_RC
Esys_PolicyNV(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_OPERAND *operandB,
UINT16 offset,
TPM2_EO operation);
TSS2_RC
Esys_PolicyNV_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_OPERAND *operandB,
UINT16 offset,
TPM2_EO operation);
TSS2_RC
Esys_PolicyNV_Finish(
ESYS_CONTEXT *esysContext);
/* Table 131 - TPM2_PolicyCounterTimer Command */
TSS2_RC
Esys_PolicyCounterTimer(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_OPERAND *operandB,
UINT16 offset,
TPM2_EO operation);
TSS2_RC
Esys_PolicyCounterTimer_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_OPERAND *operandB,
UINT16 offset,
TPM2_EO operation);
TSS2_RC
Esys_PolicyCounterTimer_Finish(
ESYS_CONTEXT *esysContext);
/* Table 133 - TPM2_PolicyCommandCode Command */
TSS2_RC
Esys_PolicyCommandCode(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_CC code);
TSS2_RC
Esys_PolicyCommandCode_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_CC code);
TSS2_RC
Esys_PolicyCommandCode_Finish(
ESYS_CONTEXT *esysContext);
/* Table 135 - TPM2_PolicyPhysicalPresence Command */
TSS2_RC
Esys_PolicyPhysicalPresence(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyPhysicalPresence_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyPhysicalPresence_Finish(
ESYS_CONTEXT *esysContext);
/* Table 137 - TPM2_PolicyCpHash Command */
TSS2_RC
Esys_PolicyCpHash(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *cpHashA);
TSS2_RC
Esys_PolicyCpHash_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *cpHashA);
TSS2_RC
Esys_PolicyCpHash_Finish(
ESYS_CONTEXT *esysContext);
/* Table 139 - TPM2_PolicyNameHash Command */
TSS2_RC
Esys_PolicyNameHash(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *nameHash);
TSS2_RC
Esys_PolicyNameHash_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *nameHash);
TSS2_RC
Esys_PolicyNameHash_Finish(
ESYS_CONTEXT *esysContext);
/* Table 141 - TPM2_PolicyDuplicationSelect Command */
TSS2_RC
Esys_PolicyDuplicationSelect(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NAME *objectName,
const TPM2B_NAME *newParentName,
TPMI_YES_NO includeObject);
TSS2_RC
Esys_PolicyDuplicationSelect_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_NAME *objectName,
const TPM2B_NAME *newParentName,
TPMI_YES_NO includeObject);
TSS2_RC
Esys_PolicyDuplicationSelect_Finish(
ESYS_CONTEXT *esysContext);
/* Table 143 - TPM2_PolicyAuthorize Command */
TSS2_RC
Esys_PolicyAuthorize(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *approvedPolicy,
const TPM2B_NONCE *policyRef,
const TPM2B_NAME *keySign,
const TPMT_TK_VERIFIED *checkTicket);
TSS2_RC
Esys_PolicyAuthorize_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *approvedPolicy,
const TPM2B_NONCE *policyRef,
const TPM2B_NAME *keySign,
const TPMT_TK_VERIFIED *checkTicket);
TSS2_RC
Esys_PolicyAuthorize_Finish(
ESYS_CONTEXT *esysContext);
/* Table 145 - TPM2_PolicyAuthValue Command */
TSS2_RC
Esys_PolicyAuthValue(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyAuthValue_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyAuthValue_Finish(
ESYS_CONTEXT *esysContext);
/* Table 147 - TPM2_PolicyPassword Command */
TSS2_RC
Esys_PolicyPassword(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyPassword_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyPassword_Finish(
ESYS_CONTEXT *esysContext);
/* Table 149 - TPM2_PolicyGetDigest Command */
TSS2_RC
Esys_PolicyGetDigest(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2B_DIGEST **policyDigest);
TSS2_RC
Esys_PolicyGetDigest_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyGetDigest_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DIGEST **policyDigest);
/* Table 151 - TPM2_PolicyNvWritten Command */
TSS2_RC
Esys_PolicyNvWritten(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO writtenSet);
TSS2_RC
Esys_PolicyNvWritten_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO writtenSet);
TSS2_RC
Esys_PolicyNvWritten_Finish(
ESYS_CONTEXT *esysContext);
/* Table 153 - TPM2_PolicyTemplate Command */
TSS2_RC
Esys_PolicyTemplate(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *templateHash);
TSS2_RC
Esys_PolicyTemplate_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *templateHash);
TSS2_RC
Esys_PolicyTemplate_Finish(
ESYS_CONTEXT *esysContext);
/* Table 155 - TPM2_PolicyAuthorizeNV Command */
TSS2_RC
Esys_PolicyAuthorizeNV(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyAuthorizeNV_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR policySession,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_PolicyAuthorizeNV_Finish(
ESYS_CONTEXT *esysContext);
/* Table 157 - TPM2_CreatePrimary Command */
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_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_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *objectHandle,
TPM2B_PUBLIC **outPublic,
TPM2B_CREATION_DATA **creationData,
TPM2B_DIGEST **creationHash,
TPMT_TK_CREATION **creationTicket);
/* Table 159 - TPM2_HierarchyControl Command */
TSS2_RC
Esys_HierarchyControl(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
ESYS_TR enable,
TPMI_YES_NO state);
TSS2_RC
Esys_HierarchyControl_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
ESYS_TR enable,
TPMI_YES_NO state);
TSS2_RC
Esys_HierarchyControl_Finish(
ESYS_CONTEXT *esysContext);
/* Table 161 - TPM2_SetPrimaryPolicy Command */
TSS2_RC
Esys_SetPrimaryPolicy(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *authPolicy,
TPMI_ALG_HASH hashAlg);
TSS2_RC
Esys_SetPrimaryPolicy_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *authPolicy,
TPMI_ALG_HASH hashAlg);
TSS2_RC
Esys_SetPrimaryPolicy_Finish(
ESYS_CONTEXT *esysContext);
/* Table 163 - TPM2_ChangePPS Command */
TSS2_RC
Esys_ChangePPS(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_ChangePPS_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_ChangePPS_Finish(
ESYS_CONTEXT *esysContext);
/* Table 165 - TPM2_ChangeEPS Command */
TSS2_RC
Esys_ChangeEPS(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_ChangeEPS_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_ChangeEPS_Finish(
ESYS_CONTEXT *esysContext);
/* Table 167 - TPM2_Clear Command */
TSS2_RC
Esys_Clear(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_Clear_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_Clear_Finish(
ESYS_CONTEXT *esysContext);
/* Table 169 - TPM2_ClearControl Command */
TSS2_RC
Esys_ClearControl(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO disable);
TSS2_RC
Esys_ClearControl_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_YES_NO disable);
TSS2_RC
Esys_ClearControl_Finish(
ESYS_CONTEXT *esysContext);
/* Table 171 - TPM2_HierarchyChangeAuth Command */
TSS2_RC
Esys_HierarchyChangeAuth(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *newAuth);
TSS2_RC
Esys_HierarchyChangeAuth_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *newAuth);
TSS2_RC
Esys_HierarchyChangeAuth_Finish(
ESYS_CONTEXT *esysContext);
/* Table 173 - TPM2_DictionaryAttackLockReset Command */
TSS2_RC
Esys_DictionaryAttackLockReset(
ESYS_CONTEXT *esysContext,
ESYS_TR lockHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_DictionaryAttackLockReset_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR lockHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_DictionaryAttackLockReset_Finish(
ESYS_CONTEXT *esysContext);
/* Table 175 - TPM2_DictionaryAttackParameters Command */
TSS2_RC
Esys_DictionaryAttackParameters(
ESYS_CONTEXT *esysContext,
ESYS_TR lockHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 newMaxTries,
UINT32 newRecoveryTime,
UINT32 lockoutRecovery);
TSS2_RC
Esys_DictionaryAttackParameters_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR lockHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 newMaxTries,
UINT32 newRecoveryTime,
UINT32 lockoutRecovery);
TSS2_RC
Esys_DictionaryAttackParameters_Finish(
ESYS_CONTEXT *esysContext);
/* Table 177 - TPM2_PP_Commands Command */
TSS2_RC
Esys_PP_Commands(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_CC *setList,
const TPML_CC *clearList);
TSS2_RC
Esys_PP_Commands_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPML_CC *setList,
const TPML_CC *clearList);
TSS2_RC
Esys_PP_Commands_Finish(
ESYS_CONTEXT *esysContext);
/* Table 179 - TPM2_SetAlgorithmSet Command */
TSS2_RC
Esys_SetAlgorithmSet(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 algorithmSet);
TSS2_RC
Esys_SetAlgorithmSet_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 algorithmSet);
TSS2_RC
Esys_SetAlgorithmSet_Finish(
ESYS_CONTEXT *esysContext);
/* Table 181 - TPM2_FieldUpgradeStart Command */
TSS2_RC
Esys_FieldUpgradeStart(
ESYS_CONTEXT *esysContext,
ESYS_TR authorization,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *fuDigest,
const TPMT_SIGNATURE *manifestSignature);
TSS2_RC
Esys_FieldUpgradeStart_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authorization,
ESYS_TR keyHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DIGEST *fuDigest,
const TPMT_SIGNATURE *manifestSignature);
TSS2_RC
Esys_FieldUpgradeStart_Finish(
ESYS_CONTEXT *esysContext);
/* Table 183 - TPM2_FieldUpgradeData Command */
TSS2_RC
Esys_FieldUpgradeData(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *fuData,
TPMT_HA **nextDigest,
TPMT_HA **firstDigest);
TSS2_RC
Esys_FieldUpgradeData_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_BUFFER *fuData);
TSS2_RC
Esys_FieldUpgradeData_Finish(
ESYS_CONTEXT *esysContext,
TPMT_HA **nextDigest,
TPMT_HA **firstDigest);
/* Table 185 - TPM2_FirmwareRead Command */
TSS2_RC
Esys_FirmwareRead(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 sequenceNumber,
TPM2B_MAX_BUFFER **fuData);
TSS2_RC
Esys_FirmwareRead_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT32 sequenceNumber);
TSS2_RC
Esys_FirmwareRead_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_MAX_BUFFER **fuData);
/* Table 187 - TPM2_ContextSave Command */
TSS2_RC
Esys_ContextSave(
ESYS_CONTEXT *esysContext,
ESYS_TR saveHandle,
TPMS_CONTEXT **context);
TSS2_RC
Esys_ContextSave_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR saveHandle);
TSS2_RC
Esys_ContextSave_Finish(
ESYS_CONTEXT *esysContext,
TPMS_CONTEXT **context);
/* Table 189 - TPM2_ContextLoad Command */
TSS2_RC
Esys_ContextLoad(
ESYS_CONTEXT *esysContext,
const TPMS_CONTEXT *context,
ESYS_TR *loadedHandle);
TSS2_RC
Esys_ContextLoad_Async(
ESYS_CONTEXT *esysContext,
const TPMS_CONTEXT *context);
TSS2_RC
Esys_ContextLoad_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *loadedHandle);
/* Table 191 - TPM2_FlushContext Command */
TSS2_RC
Esys_FlushContext(
ESYS_CONTEXT *esysContext,
ESYS_TR flushHandle);
TSS2_RC
Esys_FlushContext_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR flushHandle);
TSS2_RC
Esys_FlushContext_Finish(
ESYS_CONTEXT *esysContext);
/* Table 193 - TPM2_EvictControl Command */
TSS2_RC
Esys_EvictControl(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR objectHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_DH_PERSISTENT persistentHandle,
ESYS_TR *newObjectHandle);
TSS2_RC
Esys_EvictControl_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR objectHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMI_DH_PERSISTENT persistentHandle);
TSS2_RC
Esys_EvictControl_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *newObjectHandle);
/* Table 195 - TPM2_ReadClock Command */
TSS2_RC
Esys_ReadClock(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPMS_TIME_INFO **currentTime);
TSS2_RC
Esys_ReadClock_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_ReadClock_Finish(
ESYS_CONTEXT *esysContext,
TPMS_TIME_INFO **currentTime);
/* Table 197 - TPM2_ClockSet Command */
TSS2_RC
Esys_ClockSet(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT64 newTime);
TSS2_RC
Esys_ClockSet_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT64 newTime);
TSS2_RC
Esys_ClockSet_Finish(
ESYS_CONTEXT *esysContext);
/* Table 199 - TPM2_ClockRateAdjust Command */
TSS2_RC
Esys_ClockRateAdjust(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_CLOCK_ADJUST rateAdjust);
TSS2_RC
Esys_ClockRateAdjust_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR auth,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_CLOCK_ADJUST rateAdjust);
TSS2_RC
Esys_ClockRateAdjust_Finish(
ESYS_CONTEXT *esysContext);
/* Table 201 - TPM2_GetCapability Command */
TSS2_RC
Esys_GetCapability(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_CAP capability,
UINT32 property,
UINT32 propertyCount,
TPMI_YES_NO *moreData,
TPMS_CAPABILITY_DATA **capabilityData);
TSS2_RC
Esys_GetCapability_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2_CAP capability,
UINT32 property,
UINT32 propertyCount);
TSS2_RC
Esys_GetCapability_Finish(
ESYS_CONTEXT *esysContext,
TPMI_YES_NO *moreData,
TPMS_CAPABILITY_DATA **capabilityData);
/* Table 203 - TPM2_TestParms Command */
TSS2_RC
Esys_TestParms(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPMT_PUBLIC_PARMS *parameters);
TSS2_RC
Esys_TestParms_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPMT_PUBLIC_PARMS *parameters);
TSS2_RC
Esys_TestParms_Finish(
ESYS_CONTEXT *esysContext);
/* Table 205 - TPM2_NV_DefineSpace Command */
TSS2_RC
Esys_NV_DefineSpace(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *auth,
const TPM2B_NV_PUBLIC *publicInfo,
ESYS_TR *nvHandle);
TSS2_RC
Esys_NV_DefineSpace_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *auth,
const TPM2B_NV_PUBLIC *publicInfo);
TSS2_RC
Esys_NV_DefineSpace_Finish(
ESYS_CONTEXT *esysContext,
ESYS_TR *nvHandle);
/* Table 207 - TPM2_NV_UndefineSpace Command */
TSS2_RC
Esys_NV_UndefineSpace(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_UndefineSpace_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_UndefineSpace_Finish(
ESYS_CONTEXT *esysContext);
/* Table 209 - TPM2_NV_UndefineSpaceSpecial Command */
TSS2_RC
Esys_NV_UndefineSpaceSpecial(
ESYS_CONTEXT *esysContext,
ESYS_TR nvIndex,
ESYS_TR platform,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_UndefineSpaceSpecial_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR nvIndex,
ESYS_TR platform,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_UndefineSpaceSpecial_Finish(
ESYS_CONTEXT *esysContext);
/* Table 211 - TPM2_NV_ReadPublic Command */
TSS2_RC
Esys_NV_ReadPublic(
ESYS_CONTEXT *esysContext,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
TPM2B_NV_PUBLIC **nvPublic,
TPM2B_NAME **nvName);
TSS2_RC
Esys_NV_ReadPublic_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_ReadPublic_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_NV_PUBLIC **nvPublic,
TPM2B_NAME **nvName);
/* Table 213 - TPM2_NV_Write Command */
TSS2_RC
Esys_NV_Write(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_NV_BUFFER *data,
UINT16 offset);
TSS2_RC
Esys_NV_Write_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_NV_BUFFER *data,
UINT16 offset);
TSS2_RC
Esys_NV_Write_Finish(
ESYS_CONTEXT *esysContext);
/* Table 215 - TPM2_NV_Increment Command */
TSS2_RC
Esys_NV_Increment(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_Increment_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_Increment_Finish(
ESYS_CONTEXT *esysContext);
/* Table 217 - TPM2_NV_Extend Command */
TSS2_RC
Esys_NV_Extend(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_NV_BUFFER *data);
TSS2_RC
Esys_NV_Extend_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_MAX_NV_BUFFER *data);
TSS2_RC
Esys_NV_Extend_Finish(
ESYS_CONTEXT *esysContext);
/* Table 219 - TPM2_NV_SetBits Command */
TSS2_RC
Esys_NV_SetBits(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT64 bits);
TSS2_RC
Esys_NV_SetBits_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT64 bits);
TSS2_RC
Esys_NV_SetBits_Finish(
ESYS_CONTEXT *esysContext);
/* Table 221 - TPM2_NV_WriteLock Command */
TSS2_RC
Esys_NV_WriteLock(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_WriteLock_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_WriteLock_Finish(
ESYS_CONTEXT *esysContext);
/* Table 223 - TPM2_NV_GlobalWriteLock Command */
TSS2_RC
Esys_NV_GlobalWriteLock(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_GlobalWriteLock_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_GlobalWriteLock_Finish(
ESYS_CONTEXT *esysContext);
/* Table 225 - TPM2_NV_Read Command */
TSS2_RC
Esys_NV_Read(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT16 size,
UINT16 offset,
TPM2B_MAX_NV_BUFFER **data);
TSS2_RC
Esys_NV_Read_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
UINT16 size,
UINT16 offset);
TSS2_RC
Esys_NV_Read_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_MAX_NV_BUFFER **data);
/* Table 227 - TPM2_NV_ReadLock Command */
TSS2_RC
Esys_NV_ReadLock(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_ReadLock_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3);
TSS2_RC
Esys_NV_ReadLock_Finish(
ESYS_CONTEXT *esysContext);
/* Table 229 - TPM2_NV_ChangeAuth Command */
TSS2_RC
Esys_NV_ChangeAuth(
ESYS_CONTEXT *esysContext,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *newAuth);
TSS2_RC
Esys_NV_ChangeAuth_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_AUTH *newAuth);
TSS2_RC
Esys_NV_ChangeAuth_Finish(
ESYS_CONTEXT *esysContext);
/* Table 231 - TPM2_NV_Certify Command */
TSS2_RC
Esys_NV_Certify(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
UINT16 size,
UINT16 offset,
TPM2B_ATTEST **certifyInfo,
TPMT_SIGNATURE **signature);
TSS2_RC
Esys_NV_Certify_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR signHandle,
ESYS_TR authHandle,
ESYS_TR nvIndex,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *qualifyingData,
const TPMT_SIG_SCHEME *inScheme,
UINT16 size,
UINT16 offset);
TSS2_RC
Esys_NV_Certify_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_ATTEST **certifyInfo,
TPMT_SIGNATURE **signature);
/* Table 233 - TPM2_Vendor_TCG_Test Command */
TSS2_RC
Esys_Vendor_TCG_Test(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *inputData,
TPM2B_DATA **outputData);
TSS2_RC
Esys_Vendor_TCG_Test_Async(
ESYS_CONTEXT *esysContext,
ESYS_TR shandle1,
ESYS_TR shandle2,
ESYS_TR shandle3,
const TPM2B_DATA *inputData);
TSS2_RC
Esys_Vendor_TCG_Test_Finish(
ESYS_CONTEXT *esysContext,
TPM2B_DATA **outputData);
/*
* TPM 2.0 ESAPI Helper Functions
*/
void
Esys_Free(
void *__ptr);
TSS2_RC
Esys_GetSysContext(
ESYS_CONTEXT *esys_context,
TSS2_SYS_CONTEXT **sys_context);
TSS2_RC
Esys_SetCryptoCallbacks(
ESYS_CONTEXT *esysContext,
ESYS_CRYPTO_CALLBACKS *callbacks);
#ifdef __cplusplus
}
#endif
#endif /* TSS2_ESYS_H */
Esys_SetCryptoCallbacks
TSS2_RC Esys_SetCryptoCallbacks(ESYS_CONTEXT *esysContext, ESYS_CRYPTO_CALLBACKS *callbacks)
Definition esys_context.c:268
Esys_GetSysContext
TSS2_RC Esys_GetSysContext(ESYS_CONTEXT *esys_context, TSS2_SYS_CONTEXT **sys_context)
Definition esys_context.c:237
Esys_GetPollHandles
TSS2_RC Esys_GetPollHandles(ESYS_CONTEXT *esys_context, TSS2_TCTI_POLL_HANDLE **handles, size_t *count)
Definition esys_context.c:185
Esys_Initialize
TSS2_RC Esys_Initialize(ESYS_CONTEXT **esys_context, TSS2_TCTI_CONTEXT *tcti, TSS2_ABI_VERSION *abiVersion)
Definition esys_context.c:45
Esys_SetTimeout
TSS2_RC Esys_SetTimeout(ESYS_CONTEXT *esys_context, int32_t timeout)
Definition esys_context.c:221
Esys_GetTcti
TSS2_RC Esys_GetTcti(ESYS_CONTEXT *esys_context, TSS2_TCTI_CONTEXT **tcti)
Definition esys_context.c:164
ESYS_TR
uint32_t ESYS_TR
Definition tss2_esys.h:16
Esys_TR_Deserialize
TSS2_RC Esys_TR_Deserialize(ESYS_CONTEXT *esys_context, uint8_t const *buffer, size_t buffer_size, ESYS_TR *esys_handle)
Definition esys_tr.c:80
Esys_TR_Close
TSS2_RC Esys_TR_Close(ESYS_CONTEXT *esys_context, ESYS_TR *rsrc_handle)
Definition esys_tr.c:421
Esys_TRSess_GetAttributes
TSS2_RC Esys_TRSess_GetAttributes(ESYS_CONTEXT *esysContext, ESYS_TR session, TPMA_SESSION *flags)
Definition esys_tr.c:583
Esys_TR_FromTPMPublic_Finish
TSS2_RC Esys_TR_FromTPMPublic_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *object)
Definition esys_tr.c:216
Esys_TR_FromTPMPublic_Async
TSS2_RC Esys_TR_FromTPMPublic_Async(ESYS_CONTEXT *esysContext, TPM2_HANDLE tpm_handle, ESYS_TR optionalSession1, ESYS_TR optionalSession2, ESYS_TR optionalSession3)
Definition esys_tr.c:127
Esys_TR_SetAuth
TSS2_RC Esys_TR_SetAuth(ESYS_CONTEXT *esysContext, ESYS_TR handle, TPM2B_AUTH const *authValue)
Definition esys_tr.c:464
Esys_TR_Serialize
TSS2_RC Esys_TR_Serialize(ESYS_CONTEXT *esys_context, ESYS_TR object, uint8_t **buffer, size_t *buffer_size)
Definition esys_tr.c:38
Esys_TRSess_SetAttributes
TSS2_RC Esys_TRSess_SetAttributes(ESYS_CONTEXT *esysContext, ESYS_TR session, TPMA_SESSION flags, TPMA_SESSION mask)
Definition esys_tr.c:613
Esys_TR_GetName
TSS2_RC Esys_TR_GetName(ESYS_CONTEXT *esysContext, ESYS_TR handle, TPM2B_NAME **name)
Definition esys_tr.c:523
Esys_TR_FromTPMPublic
TSS2_RC Esys_TR_FromTPMPublic(ESYS_CONTEXT *esysContext, TPM2_HANDLE tpm_handle, ESYS_TR optionalSession1, ESYS_TR optionalSession2, ESYS_TR optionalSession3, ESYS_TR *object)
Definition esys_tr.c:371
Esys_ActivateCredential_Finish
TSS2_RC Esys_ActivateCredential_Finish(ESYS_CONTEXT *esysContext, TPM2B_DIGEST **certInfo)
Definition Esys_ActivateCredential.c:261
Esys_ActivateCredential_Async
TSS2_RC Esys_ActivateCredential_Async(ESYS_CONTEXT *esysContext, ESYS_TR activateHandle, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ID_OBJECT *credentialBlob, const TPM2B_ENCRYPTED_SECRET *secret)
Definition Esys_ActivateCredential.c:145
Esys_ActivateCredential
TSS2_RC Esys_ActivateCredential(ESYS_CONTEXT *esysContext, ESYS_TR activateHandle, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ID_OBJECT *credentialBlob, const TPM2B_ENCRYPTED_SECRET *secret, TPM2B_DIGEST **certInfo)
Definition Esys_ActivateCredential.c:66
Esys_CertifyCreation
TSS2_RC Esys_CertifyCreation(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR objectHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPM2B_DIGEST *creationHash, const TPMT_SIG_SCHEME *inScheme, const TPMT_TK_CREATION *creationTicket, TPM2B_ATTEST **certifyInfo, TPMT_SIGNATURE **signature)
Definition Esys_CertifyCreation.c:71
Esys_CertifyCreation_Finish
TSS2_RC Esys_CertifyCreation_Finish(ESYS_CONTEXT *esysContext, TPM2B_ATTEST **certifyInfo, TPMT_SIGNATURE **signature)
Definition Esys_CertifyCreation.c:274
Esys_CertifyCreation_Async
TSS2_RC Esys_CertifyCreation_Async(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR objectHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPM2B_DIGEST *creationHash, const TPMT_SIG_SCHEME *inScheme, const TPMT_TK_CREATION *creationTicket)
Definition Esys_CertifyCreation.c:156
Esys_Certify
TSS2_RC Esys_Certify(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, TPM2B_ATTEST **certifyInfo, TPMT_SIGNATURE **signature)
Definition Esys_Certify.c:68
Esys_Certify_Async
TSS2_RC Esys_Certify_Async(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme)
Definition Esys_Certify.c:146
Esys_Certify_Finish
TSS2_RC Esys_Certify_Finish(ESYS_CONTEXT *esysContext, TPM2B_ATTEST **certifyInfo, TPMT_SIGNATURE **signature)
Definition Esys_Certify.c:264
Esys_ChangeEPS
TSS2_RC Esys_ChangeEPS(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_ChangeEPS.c:64
Esys_ChangeEPS_Finish
TSS2_RC Esys_ChangeEPS_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_ChangeEPS.c:236
Esys_ChangeEPS_Async
TSS2_RC Esys_ChangeEPS_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_ChangeEPS.c:138
Esys_ChangePPS
TSS2_RC Esys_ChangePPS(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_ChangePPS.c:64
Esys_ChangePPS_Async
TSS2_RC Esys_ChangePPS_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_ChangePPS.c:138
Esys_ChangePPS_Finish
TSS2_RC Esys_ChangePPS_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_ChangePPS.c:236
Esys_Clear
TSS2_RC Esys_Clear(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_Clear.c:64
Esys_Clear_Finish
TSS2_RC Esys_Clear_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_Clear.c:240
Esys_ClearControl
TSS2_RC Esys_ClearControl(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO disable)
Definition Esys_ClearControl.c:66
Esys_ClearControl_Async
TSS2_RC Esys_ClearControl_Async(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO disable)
Definition Esys_ClearControl.c:143
Esys_ClearControl_Finish
TSS2_RC Esys_ClearControl_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_ClearControl.c:242
Esys_Clear_Async
TSS2_RC Esys_Clear_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_Clear.c:137
Esys_ClockRateAdjust_Finish
TSS2_RC Esys_ClockRateAdjust_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_ClockRateAdjust.c:240
Esys_ClockRateAdjust_Async
TSS2_RC Esys_ClockRateAdjust_Async(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_CLOCK_ADJUST rateAdjust)
Definition Esys_ClockRateAdjust.c:141
Esys_ClockRateAdjust
TSS2_RC Esys_ClockRateAdjust(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_CLOCK_ADJUST rateAdjust)
Definition Esys_ClockRateAdjust.c:65
Esys_ClockSet_Finish
TSS2_RC Esys_ClockSet_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_ClockSet.c:240
Esys_ClockSet_Async
TSS2_RC Esys_ClockSet_Async(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT64 newTime)
Definition Esys_ClockSet.c:141
Esys_ClockSet
TSS2_RC Esys_ClockSet(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT64 newTime)
Definition Esys_ClockSet.c:65
Esys_Commit
TSS2_RC Esys_Commit(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ECC_POINT *P1, const TPM2B_SENSITIVE_DATA *s2, const TPM2B_ECC_PARAMETER *y2, TPM2B_ECC_POINT **K, TPM2B_ECC_POINT **L, TPM2B_ECC_POINT **E, UINT16 *counter)
Definition Esys_Commit.c:69
Esys_Commit_Finish
TSS2_RC Esys_Commit_Finish(ESYS_CONTEXT *esysContext, TPM2B_ECC_POINT **K, TPM2B_ECC_POINT **L, TPM2B_ECC_POINT **E, UINT16 *counter)
Definition Esys_Commit.c:257
Esys_Commit_Async
TSS2_RC Esys_Commit_Async(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ECC_POINT *P1, const TPM2B_SENSITIVE_DATA *s2, const TPM2B_ECC_PARAMETER *y2)
Definition Esys_Commit.c:148
Esys_ContextLoad
TSS2_RC Esys_ContextLoad(ESYS_CONTEXT *esysContext, const TPMS_CONTEXT *context, ESYS_TR *loadedHandle)
Definition Esys_ContextLoad.c:63
Esys_ContextLoad_Async
TSS2_RC Esys_ContextLoad_Async(ESYS_CONTEXT *esysContext, const TPMS_CONTEXT *context)
Definition Esys_ContextLoad.c:117
Esys_ContextLoad_Finish
TSS2_RC Esys_ContextLoad_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *loadedHandle)
Definition Esys_ContextLoad.c:208
Esys_ContextSave
TSS2_RC Esys_ContextSave(ESYS_CONTEXT *esysContext, ESYS_TR saveHandle, TPMS_CONTEXT **context)
Definition Esys_ContextSave.c:61
Esys_ContextSave_Finish
TSS2_RC Esys_ContextSave_Finish(ESYS_CONTEXT *esysContext, TPMS_CONTEXT **context)
Definition Esys_ContextSave.c:188
Esys_ContextSave_Async
TSS2_RC Esys_ContextSave_Async(ESYS_CONTEXT *esysContext, ESYS_TR saveHandle)
Definition Esys_ContextSave.c:119
Esys_Create_Async
TSS2_RC Esys_Create_Async(ESYS_CONTEXT *esysContext, ESYS_TR parentHandle, 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)
Definition Esys_Create.c:174
Esys_Create
TSS2_RC Esys_Create(ESYS_CONTEXT *esysContext, ESYS_TR parentHandle, 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, TPM2B_PRIVATE **outPrivate, TPM2B_PUBLIC **outPublic, TPM2B_CREATION_DATA **creationData, TPM2B_DIGEST **creationHash, TPMT_TK_CREATION **creationTicket)
Definition Esys_Create.c:89
Esys_Create_Finish
TSS2_RC Esys_Create_Finish(ESYS_CONTEXT *esysContext, TPM2B_PRIVATE **outPrivate, TPM2B_PUBLIC **outPublic, TPM2B_CREATION_DATA **creationData, TPM2B_DIGEST **creationHash, TPMT_TK_CREATION **creationTicket)
Definition Esys_Create.c:301
Esys_CreatePrimary_Finish
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)
Definition Esys_CreatePrimary.c:302
Esys_CreatePrimary
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)
Definition Esys_CreatePrimary.c:90
Esys_CreatePrimary_Async
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)
Definition Esys_CreatePrimary.c:177
Esys_DictionaryAttackLockReset_Async
TSS2_RC Esys_DictionaryAttackLockReset_Async(ESYS_CONTEXT *esysContext, ESYS_TR lockHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_DictionaryAttackLockReset.c:138
Esys_DictionaryAttackLockReset_Finish
TSS2_RC Esys_DictionaryAttackLockReset_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_DictionaryAttackLockReset.c:237
Esys_DictionaryAttackLockReset
TSS2_RC Esys_DictionaryAttackLockReset(ESYS_CONTEXT *esysContext, ESYS_TR lockHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_DictionaryAttackLockReset.c:64
Esys_DictionaryAttackParameters_Finish
TSS2_RC Esys_DictionaryAttackParameters_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_DictionaryAttackParameters.c:259
Esys_DictionaryAttackParameters_Async
TSS2_RC Esys_DictionaryAttackParameters_Async(ESYS_CONTEXT *esysContext, ESYS_TR lockHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT32 newMaxTries, UINT32 newRecoveryTime, UINT32 lockoutRecovery)
Definition Esys_DictionaryAttackParameters.c:154
Esys_DictionaryAttackParameters
TSS2_RC Esys_DictionaryAttackParameters(ESYS_CONTEXT *esysContext, ESYS_TR lockHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT32 newMaxTries, UINT32 newRecoveryTime, UINT32 lockoutRecovery)
Definition Esys_DictionaryAttackParameters.c:70
Esys_Duplicate_Async
TSS2_RC Esys_Duplicate_Async(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR newParentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *encryptionKeyIn, const TPMT_SYM_DEF_OBJECT *symmetricAlg)
Definition Esys_Duplicate.c:155
Esys_Duplicate_Finish
TSS2_RC Esys_Duplicate_Finish(ESYS_CONTEXT *esysContext, TPM2B_DATA **encryptionKeyOut, TPM2B_PRIVATE **duplicate, TPM2B_ENCRYPTED_SECRET **outSymSeed)
Definition Esys_Duplicate.c:274
Esys_Duplicate
TSS2_RC Esys_Duplicate(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR newParentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *encryptionKeyIn, const TPMT_SYM_DEF_OBJECT *symmetricAlg, TPM2B_DATA **encryptionKeyOut, TPM2B_PRIVATE **duplicate, TPM2B_ENCRYPTED_SECRET **outSymSeed)
Definition Esys_Duplicate.c:74
Esys_EC_Ephemeral_Async
TSS2_RC Esys_EC_Ephemeral_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_ECC_CURVE curveID)
Definition Esys_EC_Ephemeral.c:131
Esys_EC_Ephemeral
TSS2_RC Esys_EC_Ephemeral(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_ECC_CURVE curveID, TPM2B_ECC_POINT **Q, UINT16 *counter)
Definition Esys_EC_Ephemeral.c:61
Esys_EC_Ephemeral_Finish
TSS2_RC Esys_EC_Ephemeral_Finish(ESYS_CONTEXT *esysContext, TPM2B_ECC_POINT **Q, UINT16 *counter)
Definition Esys_EC_Ephemeral.c:220
Esys_ECC_Parameters_Async
TSS2_RC Esys_ECC_Parameters_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_ECC_CURVE curveID)
Definition Esys_ECC_Parameters.c:135
Esys_ECC_Parameters_Finish
TSS2_RC Esys_ECC_Parameters_Finish(ESYS_CONTEXT *esysContext, TPMS_ALGORITHM_DETAIL_ECC **parameters)
Definition Esys_ECC_Parameters.c:223
Esys_ECC_Parameters
TSS2_RC Esys_ECC_Parameters(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_ECC_CURVE curveID, TPMS_ALGORITHM_DETAIL_ECC **parameters)
Definition Esys_ECC_Parameters.c:63
Esys_ECDH_KeyGen
TSS2_RC Esys_ECDH_KeyGen(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2B_ECC_POINT **zPoint, TPM2B_ECC_POINT **pubPoint)
Definition Esys_ECDH_KeyGen.c:65
Esys_ECDH_KeyGen_Finish
TSS2_RC Esys_ECDH_KeyGen_Finish(ESYS_CONTEXT *esysContext, TPM2B_ECC_POINT **zPoint, TPM2B_ECC_POINT **pubPoint)
Definition Esys_ECDH_KeyGen.c:235
Esys_ECDH_KeyGen_Async
TSS2_RC Esys_ECDH_KeyGen_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_ECDH_KeyGen.c:138
Esys_ECDH_ZGen_Async
TSS2_RC Esys_ECDH_ZGen_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ECC_POINT *inPoint)
Definition Esys_ECDH_ZGen.c:133
Esys_ECDH_ZGen_Finish
TSS2_RC Esys_ECDH_ZGen_Finish(ESYS_CONTEXT *esysContext, TPM2B_ECC_POINT **outPoint)
Definition Esys_ECDH_ZGen.c:235
Esys_ECDH_ZGen
TSS2_RC Esys_ECDH_ZGen(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ECC_POINT *inPoint, TPM2B_ECC_POINT **outPoint)
Definition Esys_ECDH_ZGen.c:62
Esys_EncryptDecrypt_Finish
TSS2_RC Esys_EncryptDecrypt_Finish(ESYS_CONTEXT *esysContext, TPM2B_MAX_BUFFER **outData, TPM2B_IV **ivOut)
Definition Esys_EncryptDecrypt.c:261
Esys_EncryptDecrypt
TSS2_RC Esys_EncryptDecrypt(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO decrypt, TPMI_ALG_CIPHER_MODE mode, const TPM2B_IV *ivIn, const TPM2B_MAX_BUFFER *inData, TPM2B_MAX_BUFFER **outData, TPM2B_IV **ivOut)
Definition Esys_EncryptDecrypt.c:70
Esys_EncryptDecrypt_Async
TSS2_RC Esys_EncryptDecrypt_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO decrypt, TPMI_ALG_CIPHER_MODE mode, const TPM2B_IV *ivIn, const TPM2B_MAX_BUFFER *inData)
Definition Esys_EncryptDecrypt.c:152
Esys_EventSequenceComplete_Async
TSS2_RC Esys_EventSequenceComplete_Async(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR sequenceHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_BUFFER *buffer)
Definition Esys_EventSequenceComplete.c:141
Esys_EventSequenceComplete
TSS2_RC Esys_EventSequenceComplete(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR sequenceHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_BUFFER *buffer, TPML_DIGEST_VALUES **results)
Definition Esys_EventSequenceComplete.c:65
Esys_EventSequenceComplete_Finish
TSS2_RC Esys_EventSequenceComplete_Finish(ESYS_CONTEXT *esysContext, TPML_DIGEST_VALUES **results)
Definition Esys_EventSequenceComplete.c:257
Esys_EvictControl_Finish
TSS2_RC Esys_EvictControl_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *newObjectHandle)
Definition Esys_EvictControl.c:271
Esys_EvictControl_Async
TSS2_RC Esys_EvictControl_Async(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR objectHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_DH_PERSISTENT persistentHandle)
Definition Esys_EvictControl.c:157
Esys_EvictControl
TSS2_RC Esys_EvictControl(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR objectHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_DH_PERSISTENT persistentHandle, ESYS_TR *newObjectHandle)
Definition Esys_EvictControl.c:78
Esys_FlushContext_Finish
TSS2_RC Esys_FlushContext_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_FlushContext.c:183
Esys_FlushContext_Async
TSS2_RC Esys_FlushContext_Async(ESYS_CONTEXT *esysContext, ESYS_TR flushHandle)
Definition Esys_FlushContext.c:116
Esys_FlushContext
TSS2_RC Esys_FlushContext(ESYS_CONTEXT *esysContext, ESYS_TR flushHandle)
Definition Esys_FlushContext.c:59
Esys_GetCapability_Async
TSS2_RC Esys_GetCapability_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_CAP capability, UINT32 property, UINT32 propertyCount)
Definition Esys_GetCapability.c:147
Esys_GetCapability_Finish
TSS2_RC Esys_GetCapability_Finish(ESYS_CONTEXT *esysContext, TPMI_YES_NO *moreData, TPMS_CAPABILITY_DATA **capabilityData)
Definition Esys_GetCapability.c:240
Esys_GetCapability
TSS2_RC Esys_GetCapability(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_CAP capability, UINT32 property, UINT32 propertyCount, TPMI_YES_NO *moreData, TPMS_CAPABILITY_DATA **capabilityData)
Definition Esys_GetCapability.c:68
Esys_GetCommandAuditDigest_Finish
TSS2_RC Esys_GetCommandAuditDigest_Finish(ESYS_CONTEXT *esysContext, TPM2B_ATTEST **auditInfo, TPMT_SIGNATURE **signature)
Definition Esys_GetCommandAuditDigest.c:262
Esys_GetCommandAuditDigest
TSS2_RC Esys_GetCommandAuditDigest(ESYS_CONTEXT *esysContext, ESYS_TR privacyHandle, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, TPM2B_ATTEST **auditInfo, TPMT_SIGNATURE **signature)
Definition Esys_GetCommandAuditDigest.c:67
Esys_GetCommandAuditDigest_Async
TSS2_RC Esys_GetCommandAuditDigest_Async(ESYS_CONTEXT *esysContext, ESYS_TR privacyHandle, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme)
Definition Esys_GetCommandAuditDigest.c:147
Esys_GetRandom_Async
TSS2_RC Esys_GetRandom_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT16 bytesRequested)
Definition Esys_GetRandom.c:129
Esys_GetRandom_Finish
TSS2_RC Esys_GetRandom_Finish(ESYS_CONTEXT *esysContext, TPM2B_DIGEST **randomBytes)
Definition Esys_GetRandom.c:217
Esys_GetRandom
TSS2_RC Esys_GetRandom(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT16 bytesRequested, TPM2B_DIGEST **randomBytes)
Definition Esys_GetRandom.c:60
Esys_GetSessionAuditDigest_Finish
TSS2_RC Esys_GetSessionAuditDigest_Finish(ESYS_CONTEXT *esysContext, TPM2B_ATTEST **auditInfo, TPMT_SIGNATURE **signature)
Definition Esys_GetSessionAuditDigest.c:276
Esys_GetSessionAuditDigest_Async
TSS2_RC Esys_GetSessionAuditDigest_Async(ESYS_CONTEXT *esysContext, ESYS_TR privacyAdminHandle, ESYS_TR signHandle, ESYS_TR sessionHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme)
Definition Esys_GetSessionAuditDigest.c:153
Esys_GetSessionAuditDigest
TSS2_RC Esys_GetSessionAuditDigest(ESYS_CONTEXT *esysContext, ESYS_TR privacyAdminHandle, ESYS_TR signHandle, ESYS_TR sessionHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, TPM2B_ATTEST **auditInfo, TPMT_SIGNATURE **signature)
Definition Esys_GetSessionAuditDigest.c:69
Esys_GetTestResult_Async
TSS2_RC Esys_GetTestResult_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_GetTestResult.c:127
Esys_GetTestResult_Finish
TSS2_RC Esys_GetTestResult_Finish(ESYS_CONTEXT *esysContext, TPM2B_MAX_BUFFER **outData, TPM2_RC *testResult)
Definition Esys_GetTestResult.c:215
Esys_GetTestResult
TSS2_RC Esys_GetTestResult(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2B_MAX_BUFFER **outData, TPM2_RC *testResult)
Definition Esys_GetTestResult.c:60
Esys_GetTime_Async
TSS2_RC Esys_GetTime_Async(ESYS_CONTEXT *esysContext, ESYS_TR privacyAdminHandle, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme)
Definition Esys_GetTime.c:147
Esys_GetTime_Finish
TSS2_RC Esys_GetTime_Finish(ESYS_CONTEXT *esysContext, TPM2B_ATTEST **timeInfo, TPMT_SIGNATURE **signature)
Definition Esys_GetTime.c:260
Esys_GetTime
TSS2_RC Esys_GetTime(ESYS_CONTEXT *esysContext, ESYS_TR privacyAdminHandle, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, TPM2B_ATTEST **timeInfo, TPMT_SIGNATURE **signature)
Definition Esys_GetTime.c:68
Esys_HMAC_Start
TSS2_RC Esys_HMAC_Start(ESYS_CONTEXT *esysContext, ESYS_TR handle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *auth, TPMI_ALG_HASH hashAlg, ESYS_TR *sequenceHandle)
Definition Esys_HMAC_Start.c:76
Esys_HMAC_Start_Finish
TSS2_RC Esys_HMAC_Start_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *sequenceHandle)
Definition Esys_HMAC_Start.c:254
Esys_HMAC_Start_Async
TSS2_RC Esys_HMAC_Start_Async(ESYS_CONTEXT *esysContext, ESYS_TR handle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *auth, TPMI_ALG_HASH hashAlg)
Definition Esys_HMAC_Start.c:151
Esys_HMAC
TSS2_RC Esys_HMAC(ESYS_CONTEXT *esysContext, ESYS_TR handle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_BUFFER *buffer, TPMI_ALG_HASH hashAlg, TPM2B_DIGEST **outHMAC)
Definition Esys_HMAC.c:63
Esys_HMAC_Finish
TSS2_RC Esys_HMAC_Finish(ESYS_CONTEXT *esysContext, TPM2B_DIGEST **outHMAC)
Definition Esys_HMAC.c:240
Esys_HMAC_Async
TSS2_RC Esys_HMAC_Async(ESYS_CONTEXT *esysContext, ESYS_TR handle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_BUFFER *buffer, TPMI_ALG_HASH hashAlg)
Definition Esys_HMAC.c:137
Esys_Hash_Finish
TSS2_RC Esys_Hash_Finish(ESYS_CONTEXT *esysContext, TPM2B_DIGEST **outHash, TPMT_TK_HASHCHECK **validation)
Definition Esys_Hash.c:239
Esys_HashSequenceStart_Finish
TSS2_RC Esys_HashSequenceStart_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *sequenceHandle)
Definition Esys_HashSequenceStart.c:218
Esys_HashSequenceStart_Async
TSS2_RC Esys_HashSequenceStart_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *auth, TPMI_ALG_HASH hashAlg)
Definition Esys_HashSequenceStart.c:130
Esys_HashSequenceStart
TSS2_RC Esys_HashSequenceStart(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *auth, TPMI_ALG_HASH hashAlg, ESYS_TR *sequenceHandle)
Definition Esys_HashSequenceStart.c:60
Esys_HierarchyChangeAuth_Finish
TSS2_RC Esys_HierarchyChangeAuth_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_HierarchyChangeAuth.c:257
Esys_HierarchyChangeAuth
TSS2_RC Esys_HierarchyChangeAuth(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *newAuth)
Definition Esys_HierarchyChangeAuth.c:79
Esys_HierarchyChangeAuth_Async
TSS2_RC Esys_HierarchyChangeAuth_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *newAuth)
Definition Esys_HierarchyChangeAuth.c:153
Esys_HierarchyControl_Finish
TSS2_RC Esys_HierarchyControl_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_HierarchyControl.c:260
Esys_Import_Finish
TSS2_RC Esys_Import_Finish(ESYS_CONTEXT *esysContext, TPM2B_PRIVATE **outPrivate)
Definition Esys_Import.c:263
Esys_Import_Async
TSS2_RC Esys_Import_Async(ESYS_CONTEXT *esysContext, ESYS_TR parentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *encryptionKey, const TPM2B_PUBLIC *objectPublic, const TPM2B_PRIVATE *duplicate, const TPM2B_ENCRYPTED_SECRET *inSymSeed, const TPMT_SYM_DEF_OBJECT *symmetricAlg)
Definition Esys_Import.c:152
Esys_Import
TSS2_RC Esys_Import(ESYS_CONTEXT *esysContext, ESYS_TR parentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *encryptionKey, const TPM2B_PUBLIC *objectPublic, const TPM2B_PRIVATE *duplicate, const TPM2B_ENCRYPTED_SECRET *inSymSeed, const TPMT_SYM_DEF_OBJECT *symmetricAlg, TPM2B_PRIVATE **outPrivate)
Definition Esys_Import.c:69
Esys_IncrementalSelfTest_Async
TSS2_RC Esys_IncrementalSelfTest_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_ALG *toTest)
Definition Esys_IncrementalSelfTest.c:135
Esys_IncrementalSelfTest_Finish
TSS2_RC Esys_IncrementalSelfTest_Finish(ESYS_CONTEXT *esysContext, TPML_ALG **toDoList)
Definition Esys_IncrementalSelfTest.c:223
Esys_IncrementalSelfTest
TSS2_RC Esys_IncrementalSelfTest(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_ALG *toTest, TPML_ALG **toDoList)
Definition Esys_IncrementalSelfTest.c:63
Esys_LoadExternal_Finish
TSS2_RC Esys_LoadExternal_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *objectHandle)
Definition Esys_LoadExternal.c:243
Esys_Load_Finish
TSS2_RC Esys_Load_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *objectHandle)
Definition Esys_Load.c:253
Esys_Load
TSS2_RC Esys_Load(ESYS_CONTEXT *esysContext, ESYS_TR parentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PRIVATE *inPrivate, const TPM2B_PUBLIC *inPublic, ESYS_TR *objectHandle)
Definition Esys_Load.c:76
Esys_Load_Async
TSS2_RC Esys_Load_Async(ESYS_CONTEXT *esysContext, ESYS_TR parentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PRIVATE *inPrivate, const TPM2B_PUBLIC *inPublic)
Definition Esys_Load.c:149
Esys_MakeCredential_Async
TSS2_RC Esys_MakeCredential_Async(ESYS_CONTEXT *esysContext, ESYS_TR handle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *credential, const TPM2B_NAME *objectName)
Definition Esys_MakeCredential.c:141
Esys_MakeCredential
TSS2_RC Esys_MakeCredential(ESYS_CONTEXT *esysContext, ESYS_TR handle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *credential, const TPM2B_NAME *objectName, TPM2B_ID_OBJECT **credentialBlob, TPM2B_ENCRYPTED_SECRET **secret)
Definition Esys_MakeCredential.c:66
Esys_MakeCredential_Finish
TSS2_RC Esys_MakeCredential_Finish(ESYS_CONTEXT *esysContext, TPM2B_ID_OBJECT **credentialBlob, TPM2B_ENCRYPTED_SECRET **secret)
Definition Esys_MakeCredential.c:243
Esys_NV_Certify
TSS2_RC Esys_NV_Certify(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, UINT16 size, UINT16 offset, TPM2B_ATTEST **certifyInfo, TPMT_SIGNATURE **signature)
Definition Esys_NV_Certify.c:72
Esys_NV_Certify_Finish
TSS2_RC Esys_NV_Certify_Finish(ESYS_CONTEXT *esysContext, TPM2B_ATTEST **certifyInfo, TPMT_SIGNATURE **signature)
Definition Esys_NV_Certify.c:286
Esys_NV_Certify_Async
TSS2_RC Esys_NV_Certify_Async(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, UINT16 size, UINT16 offset)
Definition Esys_NV_Certify.c:158
Esys_NV_ChangeAuth_Finish
TSS2_RC Esys_NV_ChangeAuth_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_ChangeAuth.c:258
Esys_NV_ChangeAuth
TSS2_RC Esys_NV_ChangeAuth(ESYS_CONTEXT *esysContext, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *newAuth)
Definition Esys_NV_ChangeAuth.c:76
Esys_NV_ChangeAuth_Async
TSS2_RC Esys_NV_ChangeAuth_Async(ESYS_CONTEXT *esysContext, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *newAuth)
Definition Esys_NV_ChangeAuth.c:149
Esys_NV_DefineSpace_Async
TSS2_RC Esys_NV_DefineSpace_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *auth, const TPM2B_NV_PUBLIC *publicInfo)
Definition Esys_NV_DefineSpace.c:160
Esys_NV_DefineSpace_Finish
TSS2_RC Esys_NV_DefineSpace_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *nvHandle)
Definition Esys_NV_DefineSpace.c:283
Esys_NV_DefineSpace
TSS2_RC Esys_NV_DefineSpace(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *auth, const TPM2B_NV_PUBLIC *publicInfo, ESYS_TR *nvHandle)
Definition Esys_NV_DefineSpace.c:85
Esys_NV_Extend_Async
TSS2_RC Esys_NV_Extend_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_NV_BUFFER *data)
Definition Esys_NV_Extend.c:148
Esys_NV_Extend_Finish
TSS2_RC Esys_NV_Extend_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_Extend.c:255
Esys_NV_Extend
TSS2_RC Esys_NV_Extend(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_NV_BUFFER *data)
Definition Esys_NV_Extend.c:72
Esys_NV_GlobalWriteLock_Finish
TSS2_RC Esys_NV_GlobalWriteLock_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_GlobalWriteLock.c:237
Esys_NV_GlobalWriteLock_Async
TSS2_RC Esys_NV_GlobalWriteLock_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_GlobalWriteLock.c:138
Esys_NV_GlobalWriteLock
TSS2_RC Esys_NV_GlobalWriteLock(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_GlobalWriteLock.c:64
Esys_NV_Increment_Async
TSS2_RC Esys_NV_Increment_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_Increment.c:151
Esys_NV_Increment
TSS2_RC Esys_NV_Increment(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_Increment.c:74
Esys_NV_Increment_Finish
TSS2_RC Esys_NV_Increment_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_Increment.c:256
Esys_NV_Read_Finish
TSS2_RC Esys_NV_Read_Finish(ESYS_CONTEXT *esysContext, TPM2B_MAX_NV_BUFFER **data)
Definition Esys_NV_Read.c:255
Esys_NV_Read
TSS2_RC Esys_NV_Read(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT16 size, UINT16 offset, TPM2B_MAX_NV_BUFFER **data)
Definition Esys_NV_Read.c:67
Esys_NV_Read_Async
TSS2_RC Esys_NV_Read_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT16 size, UINT16 offset)
Definition Esys_NV_Read.c:146
Esys_NV_ReadLock_Async
TSS2_RC Esys_NV_ReadLock_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_ReadLock.c:151
Esys_NV_ReadLock
TSS2_RC Esys_NV_ReadLock(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_ReadLock.c:74
Esys_NV_ReadLock_Finish
TSS2_RC Esys_NV_ReadLock_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_ReadLock.c:256
Esys_NV_ReadPublic
TSS2_RC Esys_NV_ReadPublic(ESYS_CONTEXT *esysContext, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2B_NV_PUBLIC **nvPublic, TPM2B_NAME **nvName)
Definition Esys_NV_ReadPublic.c:73
Esys_NV_ReadPublic_Async
TSS2_RC Esys_NV_ReadPublic_Async(ESYS_CONTEXT *esysContext, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_ReadPublic.c:146
Esys_NV_ReadPublic_Finish
TSS2_RC Esys_NV_ReadPublic_Finish(ESYS_CONTEXT *esysContext, TPM2B_NV_PUBLIC **nvPublic, TPM2B_NAME **nvName)
Definition Esys_NV_ReadPublic.c:244
Esys_NV_SetBits_Finish
TSS2_RC Esys_NV_SetBits_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_SetBits.c:261
Esys_NV_SetBits_Async
TSS2_RC Esys_NV_SetBits_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT64 bits)
Definition Esys_NV_SetBits.c:154
Esys_NV_SetBits
TSS2_RC Esys_NV_SetBits(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT64 bits)
Definition Esys_NV_SetBits.c:75
Esys_NV_UndefineSpace_Finish
TSS2_RC Esys_NV_UndefineSpace_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_UndefineSpace.c:254
Esys_NV_UndefineSpace
TSS2_RC Esys_NV_UndefineSpace(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_UndefineSpace.c:73
Esys_NV_UndefineSpace_Async
TSS2_RC Esys_NV_UndefineSpace_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_UndefineSpace.c:149
Esys_NV_UndefineSpaceSpecial
TSS2_RC Esys_NV_UndefineSpaceSpecial(ESYS_CONTEXT *esysContext, ESYS_TR nvIndex, ESYS_TR platform, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_UndefineSpaceSpecial.c:73
Esys_NV_UndefineSpaceSpecial_Async
TSS2_RC Esys_NV_UndefineSpaceSpecial_Async(ESYS_CONTEXT *esysContext, ESYS_TR nvIndex, ESYS_TR platform, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_UndefineSpaceSpecial.c:149
Esys_NV_UndefineSpaceSpecial_Finish
TSS2_RC Esys_NV_UndefineSpaceSpecial_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_UndefineSpaceSpecial.c:261
Esys_NV_Write_Async
TSS2_RC Esys_NV_Write_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_NV_BUFFER *data, UINT16 offset)
Definition Esys_NV_Write.c:151
Esys_NV_Write
TSS2_RC Esys_NV_Write(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_NV_BUFFER *data, UINT16 offset)
Definition Esys_NV_Write.c:73
Esys_NV_Write_Finish
TSS2_RC Esys_NV_Write_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_Write.c:259
Esys_NV_WriteLock
TSS2_RC Esys_NV_WriteLock(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_WriteLock.c:74
Esys_NV_WriteLock_Async
TSS2_RC Esys_NV_WriteLock_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_NV_WriteLock.c:151
Esys_NV_WriteLock_Finish
TSS2_RC Esys_NV_WriteLock_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_NV_WriteLock.c:256
Esys_ObjectChangeAuth_Async
TSS2_RC Esys_ObjectChangeAuth_Async(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR parentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *newAuth)
Definition Esys_ObjectChangeAuth.c:135
Esys_ObjectChangeAuth_Finish
TSS2_RC Esys_ObjectChangeAuth_Finish(ESYS_CONTEXT *esysContext, TPM2B_PRIVATE **outPrivate)
Definition Esys_ObjectChangeAuth.c:264
Esys_ObjectChangeAuth
TSS2_RC Esys_ObjectChangeAuth(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR parentHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_AUTH *newAuth, TPM2B_PRIVATE **outPrivate)
Definition Esys_ObjectChangeAuth.c:62
Esys_PCR_Allocate
TSS2_RC Esys_PCR_Allocate(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_PCR_SELECTION *pcrAllocation, TPMI_YES_NO *allocationSuccess, UINT32 *maxPCR, UINT32 *sizeNeeded, UINT32 *sizeAvailable)
Definition Esys_PCR_Allocate.c:70
Esys_PCR_Allocate_Async
TSS2_RC Esys_PCR_Allocate_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_PCR_SELECTION *pcrAllocation)
Definition Esys_PCR_Allocate.c:151
Esys_PCR_Allocate_Finish
TSS2_RC Esys_PCR_Allocate_Finish(ESYS_CONTEXT *esysContext, TPMI_YES_NO *allocationSuccess, UINT32 *maxPCR, UINT32 *sizeNeeded, UINT32 *sizeAvailable)
Definition Esys_PCR_Allocate.c:256
Esys_PCR_Event_Finish
TSS2_RC Esys_PCR_Event_Finish(ESYS_CONTEXT *esysContext, TPML_DIGEST_VALUES **digests)
Definition Esys_PCR_Event.c:239
Esys_PCR_Event_Async
TSS2_RC Esys_PCR_Event_Async(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_EVENT *eventData)
Definition Esys_PCR_Event.c:138
Esys_PCR_Event
TSS2_RC Esys_PCR_Event(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_EVENT *eventData, TPML_DIGEST_VALUES **digests)
Definition Esys_PCR_Event.c:64
Esys_PCR_Extend
TSS2_RC Esys_PCR_Extend(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_DIGEST_VALUES *digests)
Definition Esys_PCR_Extend.c:65
Esys_PCR_Extend_Finish
TSS2_RC Esys_PCR_Extend_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PCR_Extend.c:240
Esys_PCR_Extend_Async
TSS2_RC Esys_PCR_Extend_Async(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_DIGEST_VALUES *digests)
Definition Esys_PCR_Extend.c:141
Esys_PCR_Read_Finish
TSS2_RC Esys_PCR_Read_Finish(ESYS_CONTEXT *esysContext, UINT32 *pcrUpdateCounter, TPML_PCR_SELECTION **pcrSelectionOut, TPML_DIGEST **pcrValues)
Definition Esys_PCR_Read.c:234
Esys_PCR_Read
TSS2_RC Esys_PCR_Read(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_PCR_SELECTION *pcrSelectionIn, UINT32 *pcrUpdateCounter, TPML_PCR_SELECTION **pcrSelectionOut, TPML_DIGEST **pcrValues)
Definition Esys_PCR_Read.c:67
Esys_PCR_Read_Async
TSS2_RC Esys_PCR_Read_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_PCR_SELECTION *pcrSelectionIn)
Definition Esys_PCR_Read.c:142
Esys_PCR_Reset_Async
TSS2_RC Esys_PCR_Reset_Async(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PCR_Reset.c:138
Esys_PCR_Reset
TSS2_RC Esys_PCR_Reset(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PCR_Reset.c:64
Esys_PCR_Reset_Finish
TSS2_RC Esys_PCR_Reset_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PCR_Reset.c:236
Esys_PCR_SetAuthPolicy_Finish
TSS2_RC Esys_PCR_SetAuthPolicy_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PCR_SetAuthPolicy.c:245
Esys_PCR_SetAuthPolicy
TSS2_RC Esys_PCR_SetAuthPolicy(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *authPolicy, TPMI_ALG_HASH hashAlg, TPMI_DH_PCR pcrNum)
Definition Esys_PCR_SetAuthPolicy.c:64
Esys_PCR_SetAuthPolicy_Async
TSS2_RC Esys_PCR_SetAuthPolicy_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *authPolicy, TPMI_ALG_HASH hashAlg, TPMI_DH_PCR pcrNum)
Definition Esys_PCR_SetAuthPolicy.c:141
Esys_PCR_SetAuthValue_Async
TSS2_RC Esys_PCR_SetAuthValue_Async(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *auth)
Definition Esys_PCR_SetAuthValue.c:152
Esys_PCR_SetAuthValue
TSS2_RC Esys_PCR_SetAuthValue(ESYS_CONTEXT *esysContext, ESYS_TR pcrHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *auth)
Definition Esys_PCR_SetAuthValue.c:78
Esys_PCR_SetAuthValue_Finish
TSS2_RC Esys_PCR_SetAuthValue_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PCR_SetAuthValue.c:253
Esys_PP_Commands_Async
TSS2_RC Esys_PP_Commands_Async(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_CC *setList, const TPML_CC *clearList)
Definition Esys_PP_Commands.c:148
Esys_PP_Commands_Finish
TSS2_RC Esys_PP_Commands_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PP_Commands.c:250
Esys_PP_Commands
TSS2_RC Esys_PP_Commands(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_CC *setList, const TPML_CC *clearList)
Definition Esys_PP_Commands.c:68
Esys_PolicyAuthValue
TSS2_RC Esys_PolicyAuthValue(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyAuthValue.c:72
Esys_PolicyAuthValue_Async
TSS2_RC Esys_PolicyAuthValue_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyAuthValue.c:146
Esys_PolicyAuthValue_Finish
TSS2_RC Esys_PolicyAuthValue_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyAuthValue.c:241
Esys_PolicyAuthorize_Async
TSS2_RC Esys_PolicyAuthorize_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *approvedPolicy, const TPM2B_NONCE *policyRef, const TPM2B_NAME *keySign, const TPMT_TK_VERIFIED *checkTicket)
Definition Esys_PolicyAuthorize.c:153
Esys_PolicyAuthorize_Finish
TSS2_RC Esys_PolicyAuthorize_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyAuthorize.c:255
Esys_PolicyAuthorize
TSS2_RC Esys_PolicyAuthorize(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *approvedPolicy, const TPM2B_NONCE *policyRef, const TPM2B_NAME *keySign, const TPMT_TK_VERIFIED *checkTicket)
Definition Esys_PolicyAuthorize.c:69
Esys_PolicyCommandCode_Finish
TSS2_RC Esys_PolicyCommandCode_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyCommandCode.c:237
Esys_PolicyCommandCode
TSS2_RC Esys_PolicyCommandCode(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_CC code)
Definition Esys_PolicyCommandCode.c:65
Esys_PolicyCommandCode_Async
TSS2_RC Esys_PolicyCommandCode_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_CC code)
Definition Esys_PolicyCommandCode.c:141
Esys_PolicyCounterTimer
TSS2_RC Esys_PolicyCounterTimer(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_OPERAND *operandB, UINT16 offset, TPM2_EO operation)
Definition Esys_PolicyCounterTimer.c:65
Esys_PolicyCounterTimer_Finish
TSS2_RC Esys_PolicyCounterTimer_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyCounterTimer.c:243
Esys_PolicyCounterTimer_Async
TSS2_RC Esys_PolicyCounterTimer_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_OPERAND *operandB, UINT16 offset, TPM2_EO operation)
Definition Esys_PolicyCounterTimer.c:144
Esys_PolicyCpHash_Finish
TSS2_RC Esys_PolicyCpHash_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyCpHash.c:236
Esys_PolicyCpHash
TSS2_RC Esys_PolicyCpHash(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *cpHashA)
Definition Esys_PolicyCpHash.c:65
Esys_PolicyCpHash_Async
TSS2_RC Esys_PolicyCpHash_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *cpHashA)
Definition Esys_PolicyCpHash.c:141
Esys_PolicyDuplicationSelect
TSS2_RC Esys_PolicyDuplicationSelect(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NAME *objectName, const TPM2B_NAME *newParentName, TPMI_YES_NO includeObject)
Definition Esys_PolicyDuplicationSelect.c:68
Esys_PolicyDuplicationSelect_Async
TSS2_RC Esys_PolicyDuplicationSelect_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NAME *objectName, const TPM2B_NAME *newParentName, TPMI_YES_NO includeObject)
Definition Esys_PolicyDuplicationSelect.c:150
Esys_PolicyDuplicationSelect_Finish
TSS2_RC Esys_PolicyDuplicationSelect_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyDuplicationSelect.c:250
Esys_PolicyGetDigest
TSS2_RC Esys_PolicyGetDigest(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2B_DIGEST **policyDigest)
Definition Esys_PolicyGetDigest.c:64
Esys_PolicyGetDigest_Finish
TSS2_RC Esys_PolicyGetDigest_Finish(ESYS_CONTEXT *esysContext, TPM2B_DIGEST **policyDigest)
Definition Esys_PolicyGetDigest.c:233
Esys_PolicyGetDigest_Async
TSS2_RC Esys_PolicyGetDigest_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyGetDigest.c:136
Esys_PolicyLocality_Async
TSS2_RC Esys_PolicyLocality_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMA_LOCALITY locality)
Definition Esys_PolicyLocality.c:141
Esys_PolicyLocality
TSS2_RC Esys_PolicyLocality(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMA_LOCALITY locality)
Definition Esys_PolicyLocality.c:65
Esys_PolicyLocality_Finish
TSS2_RC Esys_PolicyLocality_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyLocality.c:237
Esys_PolicyNV_Finish
TSS2_RC Esys_PolicyNV_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyNV.c:267
Esys_PolicyNV_Async
TSS2_RC Esys_PolicyNV_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_OPERAND *operandB, UINT16 offset, TPM2_EO operation)
Definition Esys_PolicyNV.c:150
Esys_PolicyNV
TSS2_RC Esys_PolicyNV(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR nvIndex, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_OPERAND *operandB, UINT16 offset, TPM2_EO operation)
Definition Esys_PolicyNV.c:67
Esys_PolicyNameHash
TSS2_RC Esys_PolicyNameHash(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *nameHash)
Definition Esys_PolicyNameHash.c:65
Esys_PolicyNameHash_Finish
TSS2_RC Esys_PolicyNameHash_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyNameHash.c:237
Esys_PolicyNameHash_Async
TSS2_RC Esys_PolicyNameHash_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *nameHash)
Definition Esys_PolicyNameHash.c:141
Esys_PolicyNvWritten_Async
TSS2_RC Esys_PolicyNvWritten_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO writtenSet)
Definition Esys_PolicyNvWritten.c:141
Esys_PolicyNvWritten_Finish
TSS2_RC Esys_PolicyNvWritten_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyNvWritten.c:237
Esys_PolicyNvWritten
TSS2_RC Esys_PolicyNvWritten(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO writtenSet)
Definition Esys_PolicyNvWritten.c:65
Esys_PolicyOR_Async
TSS2_RC Esys_PolicyOR_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_DIGEST *pHashList)
Definition Esys_PolicyOR.c:141
Esys_PolicyOR
TSS2_RC Esys_PolicyOR(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPML_DIGEST *pHashList)
Definition Esys_PolicyOR.c:65
Esys_PolicyOR_Finish
TSS2_RC Esys_PolicyOR_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyOR.c:235
Esys_PolicyPCR_Finish
TSS2_RC Esys_PolicyPCR_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyPCR.c:237
Esys_PolicyPCR
TSS2_RC Esys_PolicyPCR(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *pcrDigest, const TPML_PCR_SELECTION *pcrs)
Definition Esys_PolicyPCR.c:64
Esys_PolicyPCR_Async
TSS2_RC Esys_PolicyPCR_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *pcrDigest, const TPML_PCR_SELECTION *pcrs)
Definition Esys_PolicyPCR.c:140
Esys_PolicyPassword_Finish
TSS2_RC Esys_PolicyPassword_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyPassword.c:241
Esys_PolicyPassword_Async
TSS2_RC Esys_PolicyPassword_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyPassword.c:146
Esys_PolicyPassword
TSS2_RC Esys_PolicyPassword(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyPassword.c:72
Esys_PolicyPhysicalPresence_Async
TSS2_RC Esys_PolicyPhysicalPresence_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyPhysicalPresence.c:138
Esys_PolicyPhysicalPresence_Finish
TSS2_RC Esys_PolicyPhysicalPresence_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyPhysicalPresence.c:232
Esys_PolicyPhysicalPresence
TSS2_RC Esys_PolicyPhysicalPresence(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyPhysicalPresence.c:64
Esys_PolicyRestart
TSS2_RC Esys_PolicyRestart(ESYS_CONTEXT *esysContext, ESYS_TR sessionHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyRestart.c:64
Esys_PolicyRestart_Async
TSS2_RC Esys_PolicyRestart_Async(ESYS_CONTEXT *esysContext, ESYS_TR sessionHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_PolicyRestart.c:138
Esys_PolicyRestart_Finish
TSS2_RC Esys_PolicyRestart_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyRestart.c:231
Esys_PolicySecret_Async
TSS2_RC Esys_PolicySecret_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NONCE *nonceTPM, const TPM2B_DIGEST *cpHashA, const TPM2B_NONCE *policyRef, INT32 expiration)
Definition Esys_PolicySecret.c:157
Esys_PolicySecret
TSS2_RC Esys_PolicySecret(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NONCE *nonceTPM, const TPM2B_DIGEST *cpHashA, const TPM2B_NONCE *policyRef, INT32 expiration, TPM2B_TIMEOUT **timeout, TPMT_TK_AUTH **policyTicket)
Definition Esys_PolicySecret.c:73
Esys_PolicySecret_Finish
TSS2_RC Esys_PolicySecret_Finish(ESYS_CONTEXT *esysContext, TPM2B_TIMEOUT **timeout, TPMT_TK_AUTH **policyTicket)
Definition Esys_PolicySecret.c:276
Esys_PolicySigned_Async
TSS2_RC Esys_PolicySigned_Async(ESYS_CONTEXT *esysContext, ESYS_TR authObject, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NONCE *nonceTPM, const TPM2B_DIGEST *cpHashA, const TPM2B_NONCE *policyRef, INT32 expiration, const TPMT_SIGNATURE *auth)
Definition Esys_PolicySigned.c:160
Esys_PolicySigned_Finish
TSS2_RC Esys_PolicySigned_Finish(ESYS_CONTEXT *esysContext, TPM2B_TIMEOUT **timeout, TPMT_TK_AUTH **policyTicket)
Definition Esys_PolicySigned.c:276
Esys_PolicySigned
TSS2_RC Esys_PolicySigned(ESYS_CONTEXT *esysContext, ESYS_TR authObject, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NONCE *nonceTPM, const TPM2B_DIGEST *cpHashA, const TPM2B_NONCE *policyRef, INT32 expiration, const TPMT_SIGNATURE *auth, TPM2B_TIMEOUT **timeout, TPMT_TK_AUTH **policyTicket)
Definition Esys_PolicySigned.c:74
Esys_PolicyTicket_Finish
TSS2_RC Esys_PolicyTicket_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_PolicyTicket.c:256
Esys_PolicyTicket_Async
TSS2_RC Esys_PolicyTicket_Async(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_TIMEOUT *timeout, const TPM2B_DIGEST *cpHashA, const TPM2B_NONCE *policyRef, const TPM2B_NAME *authName, const TPMT_TK_AUTH *ticket)
Definition Esys_PolicyTicket.c:154
Esys_PolicyTicket
TSS2_RC Esys_PolicyTicket(ESYS_CONTEXT *esysContext, ESYS_TR policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_TIMEOUT *timeout, const TPM2B_DIGEST *cpHashA, const TPM2B_NONCE *policyRef, const TPM2B_NAME *authName, const TPMT_TK_AUTH *ticket)
Definition Esys_PolicyTicket.c:69
Esys_Quote_Finish
TSS2_RC Esys_Quote_Finish(ESYS_CONTEXT *esysContext, TPM2B_ATTEST **quoted, TPMT_SIGNATURE **signature)
Definition Esys_Quote.c:250
Esys_Quote
TSS2_RC Esys_Quote(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, const TPML_PCR_SELECTION *PCRselect, TPM2B_ATTEST **quoted, TPMT_SIGNATURE **signature)
Definition Esys_Quote.c:66
Esys_Quote_Async
TSS2_RC Esys_Quote_Async(ESYS_CONTEXT *esysContext, ESYS_TR signHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *qualifyingData, const TPMT_SIG_SCHEME *inScheme, const TPML_PCR_SELECTION *PCRselect)
Definition Esys_Quote.c:143
Esys_RSA_Decrypt
TSS2_RC Esys_RSA_Decrypt(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *cipherText, const TPMT_RSA_DECRYPT *inScheme, const TPM2B_DATA *label, TPM2B_PUBLIC_KEY_RSA **message)
Definition Esys_RSA_Decrypt.c:64
Esys_RSA_Decrypt_Finish
TSS2_RC Esys_RSA_Decrypt_Finish(ESYS_CONTEXT *esysContext, TPM2B_PUBLIC_KEY_RSA **message)
Definition Esys_RSA_Decrypt.c:245
Esys_RSA_Decrypt_Async
TSS2_RC Esys_RSA_Decrypt_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *cipherText, const TPMT_RSA_DECRYPT *inScheme, const TPM2B_DATA *label)
Definition Esys_RSA_Decrypt.c:140
Esys_RSA_Encrypt
TSS2_RC Esys_RSA_Encrypt(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *message, const TPMT_RSA_DECRYPT *inScheme, const TPM2B_DATA *label, TPM2B_PUBLIC_KEY_RSA **outData)
Definition Esys_RSA_Encrypt.c:65
Esys_RSA_Encrypt_Async
TSS2_RC Esys_RSA_Encrypt_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *message, const TPMT_RSA_DECRYPT *inScheme, const TPM2B_DATA *label)
Definition Esys_RSA_Encrypt.c:142
Esys_RSA_Encrypt_Finish
TSS2_RC Esys_RSA_Encrypt_Finish(ESYS_CONTEXT *esysContext, TPM2B_PUBLIC_KEY_RSA **outData)
Definition Esys_RSA_Encrypt.c:242
Esys_ReadClock
TSS2_RC Esys_ReadClock(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMS_TIME_INFO **currentTime)
Definition Esys_ReadClock.c:62
Esys_ReadClock_Finish
TSS2_RC Esys_ReadClock_Finish(ESYS_CONTEXT *esysContext, TPMS_TIME_INFO **currentTime)
Definition Esys_ReadClock.c:218
Esys_ReadClock_Async
TSS2_RC Esys_ReadClock_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_ReadClock.c:131
Esys_ReadPublic_Async
TSS2_RC Esys_ReadPublic_Async(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_ReadPublic.c:141
Esys_ReadPublic
TSS2_RC Esys_ReadPublic(ESYS_CONTEXT *esysContext, ESYS_TR objectHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2B_PUBLIC **outPublic, TPM2B_NAME **name, TPM2B_NAME **qualifiedName)
Definition Esys_ReadPublic.c:67
Esys_ReadPublic_Finish
TSS2_RC Esys_ReadPublic_Finish(ESYS_CONTEXT *esysContext, TPM2B_PUBLIC **outPublic, TPM2B_NAME **name, TPM2B_NAME **qualifiedName)
Definition Esys_ReadPublic.c:240
Esys_Rewrap_Async
TSS2_RC Esys_Rewrap_Async(ESYS_CONTEXT *esysContext, ESYS_TR oldParent, ESYS_TR newParent, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PRIVATE *inDuplicate, const TPM2B_NAME *name, const TPM2B_ENCRYPTED_SECRET *inSymSeed)
Definition Esys_Rewrap.c:148
Esys_Rewrap_Finish
TSS2_RC Esys_Rewrap_Finish(ESYS_CONTEXT *esysContext, TPM2B_PRIVATE **outDuplicate, TPM2B_ENCRYPTED_SECRET **outSymSeed)
Definition Esys_Rewrap.c:264
Esys_Rewrap
TSS2_RC Esys_Rewrap(ESYS_CONTEXT *esysContext, ESYS_TR oldParent, ESYS_TR newParent, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PRIVATE *inDuplicate, const TPM2B_NAME *name, const TPM2B_ENCRYPTED_SECRET *inSymSeed, TPM2B_PRIVATE **outDuplicate, TPM2B_ENCRYPTED_SECRET **outSymSeed)
Definition Esys_Rewrap.c:69
Esys_SelfTest_Async
TSS2_RC Esys_SelfTest_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO fullTest)
Definition Esys_SelfTest.c:132
Esys_SelfTest
TSS2_RC Esys_SelfTest(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_YES_NO fullTest)
Definition Esys_SelfTest.c:61
Esys_SelfTest_Finish
TSS2_RC Esys_SelfTest_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_SelfTest.c:218
Esys_SequenceComplete_Finish
TSS2_RC Esys_SequenceComplete_Finish(ESYS_CONTEXT *esysContext, TPM2B_DIGEST **result, TPMT_TK_HASHCHECK **validation)
Definition Esys_SequenceComplete.c:266
Esys_SequenceUpdate
TSS2_RC Esys_SequenceUpdate(ESYS_CONTEXT *esysContext, ESYS_TR sequenceHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_BUFFER *buffer)
Definition Esys_SequenceUpdate.c:62
Esys_SequenceUpdate_Async
TSS2_RC Esys_SequenceUpdate_Async(ESYS_CONTEXT *esysContext, ESYS_TR sequenceHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_MAX_BUFFER *buffer)
Definition Esys_SequenceUpdate.c:135
Esys_SequenceUpdate_Finish
TSS2_RC Esys_SequenceUpdate_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_SequenceUpdate.c:236
Esys_SetAlgorithmSet_Async
TSS2_RC Esys_SetAlgorithmSet_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT32 algorithmSet)
Definition Esys_SetAlgorithmSet.c:143
Esys_SetAlgorithmSet
TSS2_RC Esys_SetAlgorithmSet(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, UINT32 algorithmSet)
Definition Esys_SetAlgorithmSet.c:66
Esys_SetAlgorithmSet_Finish
TSS2_RC Esys_SetAlgorithmSet_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_SetAlgorithmSet.c:243
Esys_SetCommandCodeAuditStatus_Async
TSS2_RC Esys_SetCommandCodeAuditStatus_Async(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_ALG_HASH auditAlg, const TPML_CC *setList, const TPML_CC *clearList)
Definition Esys_SetCommandCodeAuditStatus.c:152
Esys_SetCommandCodeAuditStatus
TSS2_RC Esys_SetCommandCodeAuditStatus(ESYS_CONTEXT *esysContext, ESYS_TR auth, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPMI_ALG_HASH auditAlg, const TPML_CC *setList, const TPML_CC *clearList)
Definition Esys_SetCommandCodeAuditStatus.c:69
Esys_SetCommandCodeAuditStatus_Finish
TSS2_RC Esys_SetCommandCodeAuditStatus_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_SetCommandCodeAuditStatus.c:257
Esys_SetPrimaryPolicy
TSS2_RC Esys_SetPrimaryPolicy(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *authPolicy, TPMI_ALG_HASH hashAlg)
Definition Esys_SetPrimaryPolicy.c:65
Esys_SetPrimaryPolicy_Finish
TSS2_RC Esys_SetPrimaryPolicy_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_SetPrimaryPolicy.c:244
Esys_SetPrimaryPolicy_Async
TSS2_RC Esys_SetPrimaryPolicy_Async(ESYS_CONTEXT *esysContext, ESYS_TR authHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *authPolicy, TPMI_ALG_HASH hashAlg)
Definition Esys_SetPrimaryPolicy.c:142
Esys_Shutdown_Finish
TSS2_RC Esys_Shutdown_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_Shutdown.c:218
Esys_Shutdown
TSS2_RC Esys_Shutdown(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_SU shutdownType)
Definition Esys_Shutdown.c:61
Esys_Shutdown_Async
TSS2_RC Esys_Shutdown_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2_SU shutdownType)
Definition Esys_Shutdown.c:132
Esys_Sign_Finish
TSS2_RC Esys_Sign_Finish(ESYS_CONTEXT *esysContext, TPMT_SIGNATURE **signature)
Definition Esys_Sign.c:251
Esys_Sign
TSS2_RC Esys_Sign(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *digest, const TPMT_SIG_SCHEME *inScheme, const TPMT_TK_HASHCHECK *validation, TPMT_SIGNATURE **signature)
Definition Esys_Sign.c:67
Esys_Sign_Async
TSS2_RC Esys_Sign_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *digest, const TPMT_SIG_SCHEME *inScheme, const TPMT_TK_HASHCHECK *validation)
Definition Esys_Sign.c:146
Esys_StartAuthSession_Async
TSS2_RC Esys_StartAuthSession_Async(ESYS_CONTEXT *esysContext, ESYS_TR tpmKey, ESYS_TR bind, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NONCE *nonceCaller, TPM2_SE sessionType, const TPMT_SYM_DEF *symmetric, TPMI_ALG_HASH authHash)
Definition Esys_StartAuthSession.c:177
Esys_StartAuthSession
TSS2_RC Esys_StartAuthSession(ESYS_CONTEXT *esysContext, ESYS_TR tpmKey, ESYS_TR bind, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_NONCE *nonceCaller, TPM2_SE sessionType, const TPMT_SYM_DEF *symmetric, TPMI_ALG_HASH authHash, ESYS_TR *sessionHandle)
Definition Esys_StartAuthSession.c:96
Esys_StartAuthSession_Finish
TSS2_RC Esys_StartAuthSession_Finish(ESYS_CONTEXT *esysContext, ESYS_TR *sessionHandle)
Definition Esys_StartAuthSession.c:320
Esys_Startup_Finish
TSS2_RC Esys_Startup_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_Startup.c:161
Esys_Startup
TSS2_RC Esys_Startup(ESYS_CONTEXT *esysContext, TPM2_SU startupType)
Definition Esys_Startup.c:48
Esys_Startup_Async
TSS2_RC Esys_Startup_Async(ESYS_CONTEXT *esysContext, TPM2_SU startupType)
Definition Esys_Startup.c:102
Esys_StirRandom_Finish
TSS2_RC Esys_StirRandom_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_StirRandom.c:212
Esys_StirRandom_Async
TSS2_RC Esys_StirRandom_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_SENSITIVE_DATA *inData)
Definition Esys_StirRandom.c:126
Esys_StirRandom
TSS2_RC Esys_StirRandom(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_SENSITIVE_DATA *inData)
Definition Esys_StirRandom.c:58
Esys_TestParms_Finish
TSS2_RC Esys_TestParms_Finish(ESYS_CONTEXT *esysContext)
Definition Esys_TestParms.c:220
Esys_TestParms
TSS2_RC Esys_TestParms(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPMT_PUBLIC_PARMS *parameters)
Definition Esys_TestParms.c:61
Esys_TestParms_Async
TSS2_RC Esys_TestParms_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPMT_PUBLIC_PARMS *parameters)
Definition Esys_TestParms.c:134
Esys_Unseal_Async
TSS2_RC Esys_Unseal_Async(ESYS_CONTEXT *esysContext, ESYS_TR itemHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3)
Definition Esys_Unseal.c:135
Esys_Unseal_Finish
TSS2_RC Esys_Unseal_Finish(ESYS_CONTEXT *esysContext, TPM2B_SENSITIVE_DATA **outData)
Definition Esys_Unseal.c:235
Esys_Unseal
TSS2_RC Esys_Unseal(ESYS_CONTEXT *esysContext, ESYS_TR itemHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, TPM2B_SENSITIVE_DATA **outData)
Definition Esys_Unseal.c:63
Esys_Vendor_TCG_Test
TSS2_RC Esys_Vendor_TCG_Test(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *inputData, TPM2B_DATA **outputData)
Definition Esys_Vendor_TCG_Test.c:57
Esys_Vendor_TCG_Test_Finish
TSS2_RC Esys_Vendor_TCG_Test_Finish(ESYS_CONTEXT *esysContext, TPM2B_DATA **outputData)
Definition Esys_Vendor_TCG_Test.c:211
Esys_Vendor_TCG_Test_Async
TSS2_RC Esys_Vendor_TCG_Test_Async(ESYS_CONTEXT *esysContext, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DATA *inputData)
Definition Esys_Vendor_TCG_Test.c:123
Esys_VerifySignature_Async
TSS2_RC Esys_VerifySignature_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *digest, const TPMT_SIGNATURE *signature)
Definition Esys_VerifySignature.c:143
Esys_VerifySignature_Finish
TSS2_RC Esys_VerifySignature_Finish(ESYS_CONTEXT *esysContext, TPMT_TK_VERIFIED **validation)
Definition Esys_VerifySignature.c:242
Esys_VerifySignature
TSS2_RC Esys_VerifySignature(ESYS_CONTEXT *esysContext, ESYS_TR keyHandle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *digest, const TPMT_SIGNATURE *signature, TPMT_TK_VERIFIED **validation)
Definition Esys_VerifySignature.c:66
Esys_ZGen_2Phase_Finish
TSS2_RC Esys_ZGen_2Phase_Finish(ESYS_CONTEXT *esysContext, TPM2B_ECC_POINT **outZ1, TPM2B_ECC_POINT **outZ2)
Definition Esys_ZGen_2Phase.c:257
Esys_ZGen_2Phase
TSS2_RC Esys_ZGen_2Phase(ESYS_CONTEXT *esysContext, ESYS_TR keyA, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ECC_POINT *inQsB, const TPM2B_ECC_POINT *inQeB, TPMI_ECC_KEY_EXCHANGE inScheme, UINT16 counter, TPM2B_ECC_POINT **outZ1, TPM2B_ECC_POINT **outZ2)
Definition Esys_ZGen_2Phase.c:68
Esys_ZGen_2Phase_Async
TSS2_RC Esys_ZGen_2Phase_Async(ESYS_CONTEXT *esysContext, ESYS_TR keyA, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_ECC_POINT *inQsB, const TPM2B_ECC_POINT *inQeB, TPMI_ECC_KEY_EXCHANGE inScheme, UINT16 counter)
Definition Esys_ZGen_2Phase.c:146
ESYS_CONTEXT
Definition esys_int.h:162
ESYS_CRYPTO_CALLBACKS
Definition tss2_esys.h:416
ESYS_CRYPTO_CONTEXT_BLOB
Definition esys_crypto_mbed.c:34