Home
last modified time | relevance | path

Searched refs:outPrivate (Results 1 – 25 of 32) sorted by relevance

12

/external/tpm2-tss/src/tss2-esys/api/
DEsys_ObjectChangeAuth.c70 TPM2B_PRIVATE **outPrivate) in Esys_ObjectChangeAuth() argument
89 r = Esys_ObjectChangeAuth_Finish(esysContext, outPrivate); in Esys_ObjectChangeAuth()
248 TPM2B_PRIVATE **outPrivate) in Esys_ObjectChangeAuth_Finish() argument
252 esysContext, outPrivate); in Esys_ObjectChangeAuth_Finish()
268 if (outPrivate != NULL) { in Esys_ObjectChangeAuth_Finish()
269 *outPrivate = calloc(sizeof(TPM2B_PRIVATE), 1); in Esys_ObjectChangeAuth_Finish()
270 if (*outPrivate == NULL) { in Esys_ObjectChangeAuth_Finish()
328 (outPrivate != NULL) ? *outPrivate in Esys_ObjectChangeAuth_Finish()
339 if (outPrivate != NULL) in Esys_ObjectChangeAuth_Finish()
340 SAFE_FREE(*outPrivate); in Esys_ObjectChangeAuth_Finish()
DEsys_Import.c80 TPM2B_PRIVATE **outPrivate) in Esys_Import() argument
100 r = Esys_Import_Finish(esysContext, outPrivate); in Esys_Import()
265 TPM2B_PRIVATE **outPrivate) in Esys_Import_Finish() argument
269 esysContext, outPrivate); in Esys_Import_Finish()
285 if (outPrivate != NULL) { in Esys_Import_Finish()
286 *outPrivate = calloc(sizeof(TPM2B_PRIVATE), 1); in Esys_Import_Finish()
287 if (*outPrivate == NULL) { in Esys_Import_Finish()
345 (outPrivate != NULL) ? *outPrivate : NULL); in Esys_Import_Finish()
355 if (outPrivate != NULL) in Esys_Import_Finish()
356 SAFE_FREE(*outPrivate); in Esys_Import_Finish()
DEsys_Create.c85 TPM2B_PRIVATE **outPrivate, in Esys_Create() argument
109 r = Esys_Create_Finish(esysContext, outPrivate, outPublic, creationData, in Esys_Create()
279 TPM2B_PRIVATE **outPrivate, in Esys_Create_Finish() argument
288 esysContext, outPrivate, outPublic, in Esys_Create_Finish()
313 if (outPrivate != NULL) { in Esys_Create_Finish()
314 *outPrivate = calloc(sizeof(TPM2B_PRIVATE), 1); in Esys_Create_Finish()
315 if (*outPrivate == NULL) { in Esys_Create_Finish()
397 (outPrivate != NULL) ? *outPrivate : NULL, in Esys_Create_Finish()
412 if (outPrivate != NULL) in Esys_Create_Finish()
413 SAFE_FREE(*outPrivate); in Esys_Create_Finish()
DEsys_CreateLoaded.c98 TPM2B_PRIVATE **outPrivate, in Esys_CreateLoaded() argument
118 r = Esys_CreateLoaded_Finish(esysContext, objectHandle, outPrivate, in Esys_CreateLoaded()
278 TPM2B_PRIVATE **outPrivate, in Esys_CreateLoaded_Finish() argument
285 esysContext, objectHandle, outPrivate, in Esys_CreateLoaded_Finish()
313 if (outPrivate != NULL) { in Esys_CreateLoaded_Finish()
314 *outPrivate = calloc(sizeof(TPM2B_PRIVATE), 1); in Esys_CreateLoaded_Finish()
315 if (*outPrivate == NULL) { in Esys_CreateLoaded_Finish()
378 (outPrivate != NULL) ? *outPrivate : NULL, in Esys_CreateLoaded_Finish()
408 if (outPrivate != NULL) in Esys_CreateLoaded_Finish()
409 SAFE_FREE(*outPrivate); in Esys_CreateLoaded_Finish()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_CreateLoaded.c73 TPM2B_PRIVATE *outPrivate, in Tss2_Sys_CreateLoaded_Complete() argument
95 &ctx->nextData, outPrivate); in Tss2_Sys_CreateLoaded_Complete()
118 TPM2B_PRIVATE *outPrivate, in Tss2_Sys_CreateLoaded() argument
126 if (!ctx || !objectHandle || !outPrivate || !outPublic || !name) in Tss2_Sys_CreateLoaded()
139 rval = Tss2_Sys_CreateLoaded_Complete(sysContext, objectHandle, outPrivate, in Tss2_Sys_CreateLoaded()
DTss2_Sys_ObjectChangeAuth.c67 TPM2B_PRIVATE *outPrivate) in Tss2_Sys_ObjectChangeAuth_Complete() argument
82 outPrivate); in Tss2_Sys_ObjectChangeAuth_Complete()
91 TPM2B_PRIVATE *outPrivate, in Tss2_Sys_ObjectChangeAuth() argument
105 return Tss2_Sys_ObjectChangeAuth_Complete(sysContext, outPrivate); in Tss2_Sys_ObjectChangeAuth()
DTss2_Sys_Import.c121 TPM2B_PRIVATE *outPrivate) in Tss2_Sys_Import_Complete() argument
136 outPrivate); in Tss2_Sys_Import_Complete()
148 TPM2B_PRIVATE *outPrivate, in Tss2_Sys_Import() argument
167 return Tss2_Sys_Import_Complete(sysContext, outPrivate); in Tss2_Sys_Import()
DTss2_Sys_Create.c111 TPM2B_PRIVATE *outPrivate, in Tss2_Sys_Create_Complete() argument
130 outPrivate); in Tss2_Sys_Create_Complete()
169 TPM2B_PRIVATE *outPrivate, in Tss2_Sys_Create() argument
191 return Tss2_Sys_Create_Complete(sysContext, outPrivate, outPublic, in Tss2_Sys_Create()
/external/tpm2-tss/test/integration/
Dsapi-create-keyedhash-sha1-hmac.int.c30 TPM2B_PRIVATE outPrivate = TPM2B_PRIVATE_INIT; in test_invoke() local
72 &outPrivate, in test_invoke()
Desys-import.int.c77 TPM2B_PRIVATE *outPrivate = NULL; in test_esys_import() local
422 &outPrivate); in test_esys_import()
462 Esys_Free(outPrivate); in test_esys_import()
517 Esys_Free(outPrivate); in test_esys_import()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DObject_spt_fp.h219 TPM2B_PRIVATE *outPrivate // OUT: output private structure
278 TPM2B_PRIVATE *outPrivate // OUT: output private structure
DObjectChangeAuth_fp.h54 TPM2B_PRIVATE outPrivate; member
DCreateLoaded_fp.h55 TPM2B_PRIVATE outPrivate; member
DImport_fp.h57 TPM2B_PRIVATE outPrivate; member
DCreate_fp.h56 TPM2B_PRIVATE outPrivate; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DCreateLoaded.c209 &out->outPrivate); in TPM2_CreateLoaded()
211 out->outPrivate.t.size = 0; in TPM2_CreateLoaded()
DObject_spt.c1025 TPM2B_PRIVATE *outPrivate // OUT: output private structure in SensitiveToPrivate() argument
1048 sensitiveData = outPrivate->t.buffer; in SensitiveToPrivate()
1066 outPrivate->t.size = ProduceOuterWrap(parent, &name->b, hashAlg, NULL, in SensitiveToPrivate()
1067 TRUE, dataSize, outPrivate->t.buffer); in SensitiveToPrivate()
1181 TPM2B_PRIVATE *outPrivate // OUT: output private structure in SensitiveToDuplicate() argument
1198 sensitiveData = outPrivate->t.buffer; in SensitiveToDuplicate()
1231 innerBuffer = outPrivate->t.buffer; in SensitiveToDuplicate()
1267 dataSize, outPrivate->t.buffer); in SensitiveToDuplicate()
1270 outPrivate->t.size = dataSize; in SensitiveToDuplicate()
DObjectChangeAuth.c89 &out->outPrivate); in TPM2_ObjectChangeAuth()
DCreate.c147 &out->outPrivate); in TPM2_Create()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Duplication/
DImport.c204 &out->outPrivate); in TPM2_Import()
/external/tpm2-tss/test/tpmclient/
Dtpmclient.int.c1065 TPM2B_PRIVATE outPrivate; in CreateDataBlob() local
1127 INIT_SIMPLE_TPM2B_SIZE( outPrivate ); in CreateDataBlob()
1131 &outPrivate, &outPublic, &creationData, &creationHash, in CreateDataBlob()
1137 …rval = Tss2_Sys_Load( sysContext, srkHandle, &cmdAuthArray, &outPrivate, &outPublic, &blobHandle, … in CreateDataBlob()
1511 TPM2B_PRIVATE outPrivate; in TestUnseal() local
1558 INIT_SIMPLE_TPM2B_SIZE( outPrivate ); in TestUnseal()
1561 &outPrivate, &outPublic, &creationData, in TestUnseal()
1574 rval = Tss2_Sys_Load (sysContext, handle_parent, &sessionsData, &outPrivate, &outPublic, in TestUnseal()
/external/tpm2-tss/include/tss2/
Dtss2_sys.h231 TPM2B_PRIVATE *outPrivate,
245 TPM2B_PRIVATE *outPrivate,
382 TPM2B_PRIVATE *outPrivate);
390 TPM2B_PRIVATE *outPrivate,
454 TPM2B_PRIVATE *outPrivate);
465 TPM2B_PRIVATE *outPrivate,
2205 TPM2B_PRIVATE *outPrivate,
2216 TPM2B_PRIVATE *outPrivate,
Dtss2_esys.h359 TPM2B_PRIVATE **outPrivate,
380 TPM2B_PRIVATE **outPrivate,
565 TPM2B_PRIVATE **outPrivate);
580 TPM2B_PRIVATE **outPrivate);
594 TPM2B_PRIVATE **outPrivate,
611 TPM2B_PRIVATE **outPrivate,
696 TPM2B_PRIVATE **outPrivate);
714 TPM2B_PRIVATE **outPrivate);
/external/tpm2-tss/test/unit/
Desys-sequence-finish.c224 TPM2B_PRIVATE *outPrivate; in check_Create() local
232 &outPrivate, in check_Create()
354 TPM2B_PRIVATE *outPrivate; in check_ObjectChangeAuth() local
357 r = Esys_ObjectChangeAuth_Finish(esys_context, &outPrivate); in check_ObjectChangeAuth()
372 TPM2B_PRIVATE *outPrivate; in check_CreateLoaded() local
378 &outPrivate, &outPublic); in check_CreateLoaded()
430 TPM2B_PRIVATE *outPrivate; in check_Import() local
433 r = Esys_Import_Finish(esys_context, &outPrivate); in check_Import()
/external/tpm2-tss/src/tss2-fapi/
Dfapi_util.c2927 TPM2B_PRIVATE *outPrivate = NULL; in ifapi_key_create() local
3027 r = Esys_Create_Finish(context->esys, &outPrivate, &outPublic, &creationData, in ifapi_key_create()
3035 object->misc.key.private.size = outPrivate->size; in ifapi_key_create()
3036 object->misc.key.private.buffer = calloc(1, outPrivate->size); in ifapi_key_create()
3041 &outPrivate->buffer[0], outPrivate->size); in ifapi_key_create()
3047 SAFE_FREE(outPrivate); in ifapi_key_create()
3112 SAFE_FREE(outPrivate); in ifapi_key_create()

12