/external/tpm2-tss/test/integration/ |
D | esys-get-time.int.c | 42 ESYS_TR signHandle = ESYS_TR_NONE; in test_esys_get_time() local 136 &signHandle, &outPublic, &creationData, in test_esys_get_time() 140 r = esys_GetResourceObject(esys_context, signHandle, in test_esys_get_time() 147 r = Esys_TR_SetAuth(esys_context, signHandle, in test_esys_get_time() 158 signHandle, in test_esys_get_time() 170 r = Esys_FlushContext(esys_context, signHandle); in test_esys_get_time() 173 signHandle = ESYS_TR_NONE; in test_esys_get_time() 179 r = Esys_FlushContext(esys_context, signHandle); in test_esys_get_time() 192 if (signHandle != ESYS_TR_NONE) { in test_esys_get_time() 193 if (Esys_FlushContext(esys_context, signHandle) != TSS2_RC_SUCCESS) { in test_esys_get_time()
|
D | esys-certify.int.c | 39 ESYS_TR signHandle = ESYS_TR_NONE; in test_esys_certify() local 130 &signHandle, &outPublic, &creationData, in test_esys_certify() 139 signHandle, in test_esys_certify() 140 signHandle, in test_esys_certify() 151 r = Esys_FlushContext(esys_context,signHandle); in test_esys_certify() 164 if (signHandle != ESYS_TR_NONE) { in test_esys_certify() 165 if (Esys_FlushContext(esys_context, signHandle) != TSS2_RC_SUCCESS) { in test_esys_certify()
|
D | esys-certify-creation.int.c | 39 ESYS_TR signHandle = ESYS_TR_NONE; in test_esys_certify_creation() local 130 &signHandle, &outPublic, &creationData, in test_esys_certify_creation() 139 signHandle, in test_esys_certify_creation() 140 signHandle, in test_esys_certify_creation() 152 r = Esys_FlushContext(esys_context,signHandle); in test_esys_certify_creation() 165 if (signHandle != ESYS_TR_NONE) { in test_esys_certify_creation() 166 if (Esys_FlushContext(esys_context, signHandle) != TSS2_RC_SUCCESS) { in test_esys_certify_creation()
|
D | esys-audit.int.c | 51 ESYS_TR signHandle = ESYS_TR_NONE; in test_esys_audit() local 142 &signHandle, &outPublic, &creationData, in test_esys_audit() 184 signHandle, in test_esys_audit() 209 signHandle, in test_esys_audit() 243 r = Esys_FlushContext(esys_context, signHandle); in test_esys_audit() 246 signHandle = ESYS_TR_NONE; in test_esys_audit() 268 if (signHandle != ESYS_TR_NONE) { in test_esys_audit() 269 if (Esys_FlushContext(esys_context, signHandle) != TSS2_RC_SUCCESS) { in test_esys_audit()
|
D | esys-nv-certify.int.c | 44 ESYS_TR signHandle = ESYS_TR_NONE; in test_esys_nv_certify() local 137 &signHandle, &outPublic, &creationData, in test_esys_nv_certify() 196 signHandle, in test_esys_nv_certify() 228 r = Esys_FlushContext(esys_context,signHandle); in test_esys_nv_certify() 241 if (signHandle != ESYS_TR_NONE) { in test_esys_nv_certify() 242 if (Esys_FlushContext(esys_context, signHandle) != TSS2_RC_SUCCESS) { in test_esys_nv_certify()
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_Certify.c | 18 TPMI_DH_OBJECT signHandle, in Tss2_Sys_Certify_Prepare() argument 38 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_Certify_Prepare() 103 TPMI_DH_OBJECT signHandle, in Tss2_Sys_Certify() argument 117 rval = Tss2_Sys_Certify_Prepare(sysContext, objectHandle, signHandle, in Tss2_Sys_Certify()
|
D | Tss2_Sys_GetTime.c | 18 TPMI_DH_OBJECT signHandle, in Tss2_Sys_GetTime_Prepare() argument 38 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_GetTime_Prepare() 103 TPMI_DH_OBJECT signHandle, in Tss2_Sys_GetTime() argument 118 signHandle, qualifyingData, inScheme); in Tss2_Sys_GetTime()
|
D | Tss2_Sys_GetCommandAuditDigest.c | 18 TPMI_DH_OBJECT signHandle, in Tss2_Sys_GetCommandAuditDigest_Prepare() argument 38 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_GetCommandAuditDigest_Prepare() 102 TPMI_DH_OBJECT signHandle, in Tss2_Sys_GetCommandAuditDigest() argument 117 signHandle, qualifyingData, in Tss2_Sys_GetCommandAuditDigest()
|
D | Tss2_Sys_GetSessionAuditDigest.c | 18 TPMI_DH_OBJECT signHandle, in Tss2_Sys_GetSessionAuditDigest_Prepare() argument 39 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_GetSessionAuditDigest_Prepare() 109 TPMI_DH_OBJECT signHandle, in Tss2_Sys_GetSessionAuditDigest() argument 125 signHandle, sessionHandle, in Tss2_Sys_GetSessionAuditDigest()
|
D | Tss2_Sys_Quote.c | 17 TPMI_DH_OBJECT signHandle, in Tss2_Sys_Quote_Prepare() argument 36 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_Quote_Prepare() 105 TPMI_DH_OBJECT signHandle, in Tss2_Sys_Quote() argument 120 rval = Tss2_Sys_Quote_Prepare(sysContext, signHandle, qualifyingData, in Tss2_Sys_Quote()
|
D | Tss2_Sys_NV_Certify.c | 17 TPMI_DH_OBJECT signHandle, in Tss2_Sys_NV_Certify_Prepare() argument 35 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_NV_Certify_Prepare() 124 TPMI_DH_OBJECT signHandle, in Tss2_Sys_NV_Certify() argument 142 rval = Tss2_Sys_NV_Certify_Prepare(sysContext, signHandle, authHandle, in Tss2_Sys_NV_Certify()
|
D | Tss2_Sys_CertifyCreation.c | 17 TPMI_DH_OBJECT signHandle, in Tss2_Sys_CertifyCreation_Prepare() argument 34 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_CertifyCreation_Prepare() 117 TPMI_DH_OBJECT signHandle, in Tss2_Sys_CertifyCreation() argument 134 rval = Tss2_Sys_CertifyCreation_Prepare(sysContext, signHandle, objectHandle, in Tss2_Sys_CertifyCreation()
|
D | Tss2_Sys_Commit.c | 17 TPMI_DH_OBJECT signHandle, in Tss2_Sys_Commit_Prepare() argument 32 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare() 132 TPMI_DH_OBJECT signHandle, in Tss2_Sys_Commit() argument 146 rval = Tss2_Sys_Commit_Prepare(sysContext, signHandle, P1, s2, y2); in Tss2_Sys_Commit()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/ |
D | GetCommandAuditDigest.c | 63 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetCommandAuditDigest() 72 FillInAttestInfo(in->signHandle, &in->inScheme, &in->qualifyingData, in TPM2_GetCommandAuditDigest() 92 if(result == TPM_RC_SUCCESS && in->signHandle != TPM_RH_NULL) in TPM2_GetCommandAuditDigest()
|
D | GetTime.c | 62 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetTime() 71 FillInAttestInfo(in->signHandle, &in->inScheme, &in->qualifyingData, &timeInfo); in TPM2_GetTime()
|
D | GetSessionAuditDigest.c | 64 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetSessionAuditDigest() 77 FillInAttestInfo(in->signHandle, &in->inScheme, &in->qualifyingData, in TPM2_GetSessionAuditDigest()
|
D | Quote.c | 58 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_Quote() 70 FillInAttestInfo(in->signHandle, &in->inScheme, &in->qualifyingData, "ed); in TPM2_Quote()
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_Quote.c | 68 ESYS_TR signHandle, in Esys_Quote() argument 80 r = Esys_Quote_Async(esysContext, signHandle, shandle1, shandle2, shandle3, in Esys_Quote() 145 ESYS_TR signHandle, in Esys_Quote_Async() argument 156 esysContext, signHandle, qualifyingData, inScheme, PCRselect); in Esys_Quote_Async() 175 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_Quote_Async()
|
D | Esys_GetSessionAuditDigest.c | 72 ESYS_TR signHandle, in Esys_GetSessionAuditDigest() argument 85 signHandle, sessionHandle, shandle1, in Esys_GetSessionAuditDigest() 156 ESYS_TR signHandle, in Esys_GetSessionAuditDigest_Async() argument 167 esysContext, privacyAdminHandle, signHandle, sessionHandle, qualifyingData, in Esys_GetSessionAuditDigest_Async() 191 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_GetSessionAuditDigest_Async()
|
D | Esys_GetCommandAuditDigest.c | 70 ESYS_TR signHandle, in Esys_GetCommandAuditDigest() argument 81 r = Esys_GetCommandAuditDigest_Async(esysContext, privacyHandle, signHandle, in Esys_GetCommandAuditDigest() 150 ESYS_TR signHandle, in Esys_GetCommandAuditDigest_Async() argument 160 esysContext, privacyHandle, signHandle, qualifyingData, inScheme); in Esys_GetCommandAuditDigest_Async() 182 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_GetCommandAuditDigest_Async()
|
D | Esys_Certify.c | 71 ESYS_TR signHandle, in Esys_Certify() argument 82 r = Esys_Certify_Async(esysContext, objectHandle, signHandle, shandle1, in Esys_Certify() 149 ESYS_TR signHandle, in Esys_Certify_Async() argument 159 esysContext, objectHandle, signHandle, qualifyingData, inScheme); in Esys_Certify_Async() 181 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_Certify_Async()
|
D | Esys_CertifyCreation.c | 73 ESYS_TR signHandle, in Esys_CertifyCreation() argument 87 r = Esys_CertifyCreation_Async(esysContext, signHandle, objectHandle, in Esys_CertifyCreation() 158 ESYS_TR signHandle, in Esys_CertifyCreation_Async() argument 172 esysContext, signHandle, objectHandle, qualifyingData, creationHash, in Esys_CertifyCreation_Async() 193 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_CertifyCreation_Async()
|
D | Esys_GetTime.c | 71 ESYS_TR signHandle, in Esys_GetTime() argument 82 r = Esys_GetTime_Async(esysContext, privacyAdminHandle, signHandle, shandle1, in Esys_GetTime() 150 ESYS_TR signHandle, in Esys_GetTime_Async() argument 160 esysContext, privacyAdminHandle, signHandle, qualifyingData, inScheme); in Esys_GetTime_Async() 182 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_GetTime_Async()
|
D | Esys_Commit.c | 72 ESYS_TR signHandle, in Esys_Commit() argument 86 r = Esys_Commit_Async(esysContext, signHandle, shandle1, shandle2, shandle3, in Esys_Commit() 151 ESYS_TR signHandle, in Esys_Commit_Async() argument 162 esysContext, signHandle, P1, s2, y2); in Esys_Commit_Async() 181 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_Commit_Async()
|
D | Esys_NV_Certify.c | 74 ESYS_TR signHandle, in Esys_NV_Certify() argument 89 r = Esys_NV_Certify_Async(esysContext, signHandle, authHandle, nvIndex, in Esys_NV_Certify() 160 ESYS_TR signHandle, in Esys_NV_Certify_Async() argument 175 esysContext, signHandle, authHandle, nvIndex, qualifyingData, in Esys_NV_Certify_Async() 197 r = esys_GetResourceObject(esysContext, signHandle, &signHandleNode); in Esys_NV_Certify_Async()
|