Home
last modified time | relevance | path

Searched refs:signHandle (Results 1 – 25 of 46) sorted by relevance

12

/external/tpm2-tss/test/integration/
Desys-get-time.int.c42 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()
Desys-certify.int.c39 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()
Desys-certify-creation.int.c39 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()
Desys-audit.int.c51 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()
Desys-nv-certify.int.c44 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/
DTss2_Sys_Certify.c18 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()
DTss2_Sys_GetTime.c18 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()
DTss2_Sys_GetCommandAuditDigest.c18 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()
DTss2_Sys_GetSessionAuditDigest.c18 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()
DTss2_Sys_Quote.c17 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()
DTss2_Sys_NV_Certify.c17 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()
DTss2_Sys_CertifyCreation.c17 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()
DTss2_Sys_Commit.c17 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/
DGetCommandAuditDigest.c63 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()
DGetTime.c62 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetTime()
71 FillInAttestInfo(in->signHandle, &in->inScheme, &in->qualifyingData, &timeInfo); in TPM2_GetTime()
DGetSessionAuditDigest.c64 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_GetSessionAuditDigest()
77 FillInAttestInfo(in->signHandle, &in->inScheme, &in->qualifyingData, in TPM2_GetSessionAuditDigest()
DQuote.c58 OBJECT *signObject = HandleToObject(in->signHandle); in TPM2_Quote()
70 FillInAttestInfo(in->signHandle, &in->inScheme, &in->qualifyingData, &quoted); in TPM2_Quote()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_Quote.c68 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()
DEsys_GetSessionAuditDigest.c72 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()
DEsys_GetCommandAuditDigest.c70 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()
DEsys_Certify.c71 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()
DEsys_CertifyCreation.c73 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()
DEsys_GetTime.c71 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()
DEsys_Commit.c72 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()
DEsys_NV_Certify.c74 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()

12