Home
last modified time | relevance | path

Searched refs:capabilityData (Results 1 – 23 of 23) sorted by relevance

/external/tpm2-tss/src/tss2-esys/api/
DEsys_GetCapability.c78 TPMS_CAPABILITY_DATA **capabilityData) in Esys_GetCapability() argument
97 r = Esys_GetCapability_Finish(esysContext, moreData, capabilityData); in Esys_GetCapability()
245 TPMS_CAPABILITY_DATA **capabilityData) in Esys_GetCapability_Finish() argument
249 esysContext, moreData, capabilityData); in Esys_GetCapability_Finish()
265 if (capabilityData != NULL) { in Esys_GetCapability_Finish()
266 *capabilityData = calloc(sizeof(TPMS_CAPABILITY_DATA), 1); in Esys_GetCapability_Finish()
267 if (*capabilityData == NULL) { in Esys_GetCapability_Finish()
325 (capabilityData != NULL) in Esys_GetCapability_Finish()
326 ? *capabilityData : NULL); in Esys_GetCapability_Finish()
336 if (capabilityData != NULL) in Esys_GetCapability_Finish()
[all …]
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_Provision.c182 command->capabilityData = NULL; in Fapi_Provision_Async()
248 TPMS_CAPABILITY_DATA **capabilityData = &command->capabilityData; in Fapi_Provision_Finish() local
296 r = Esys_GetCapability_Finish(context->esys, &moreData, capabilityData); in Fapi_Provision_Finish()
301 TPML_PCR_SELECTION pcr_capability = (*capabilityData)->data.assignedPCR; in Fapi_Provision_Finish()
306 SAFE_FREE(*capabilityData); in Fapi_Provision_Finish()
487 r = Esys_GetCapability_Finish(context->esys, &moreData, capabilityData); in Fapi_Provision_Finish()
491 if ((*capabilityData)->data.handles.count == 0) { in Fapi_Provision_Finish()
493 Esys_Free(*capabilityData); in Fapi_Provision_Finish()
497 command->capabilityData = *capabilityData; in Fapi_Provision_Finish()
498 command->cert_count = (*capabilityData)->data.handles.count; in Fapi_Provision_Finish()
[all …]
DFapi_PcrExtend.c241 TPMS_CAPABILITY_DATA **capabilityData = &command->capabilityData; in Fapi_PcrExtend_Finish() local
247 r = Esys_GetCapability_Finish(context->esys, &moreData, capabilityData); in Fapi_PcrExtend_Finish()
319 SAFE_FREE(*capabilityData); in Fapi_PcrExtend_Finish()
DFapi_GetInfo.c217 TPMS_CAPABILITY_DATA *capabilityData = NULL; in Fapi_GetInfo_Finish() local
236 &capabilityData); in Fapi_GetInfo_Finish()
241 infoObj->cap[capIdx].capability = capabilityData; in Fapi_GetInfo_Finish()
DFapi_GetPlatformCertificates.c244 SAFE_FREE(context->cmd.Provision.capabilityData); in Fapi_GetPlatformCertificates_Finish()
253 SAFE_FREE(context->cmd.Provision.capabilityData); in Fapi_GetPlatformCertificates_Finish()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_AC_GetCapability.c59 TPML_AC_CAPABILITIES *capabilityData) in Tss2_Sys_AC_GetCapability_Complete() argument
81 capabilityData); in Tss2_Sys_AC_GetCapability_Complete()
91 TPML_AC_CAPABILITIES *capabilityData, in Tss2_Sys_AC_GetCapability() argument
106 capabilityData); in Tss2_Sys_AC_GetCapability()
DTss2_Sys_GetCapability.c59 TPMS_CAPABILITY_DATA *capabilityData) in Tss2_Sys_GetCapability_Complete() argument
81 capabilityData); in Tss2_Sys_GetCapability_Complete()
91 TPMS_CAPABILITY_DATA *capabilityData, in Tss2_Sys_GetCapability() argument
106 return Tss2_Sys_GetCapability_Complete(sysContext, moreData, capabilityData); in Tss2_Sys_GetCapability()
/external/tpm2-tss/test/integration/
Desys-get-capability.int.c37 TPMS_CAPABILITY_DATA *capabilityData; in test_esys_get_capability() local
44 &moreData, &capabilityData); in test_esys_get_capability()
Desys-audit.int.c59 TPMS_CAPABILITY_DATA *capabilityData = NULL; in test_esys_audit() local
172 &moreData, &capabilityData); in test_esys_audit()
255 Esys_Free(capabilityData); in test_esys_audit()
277 Esys_Free(capabilityData); in test_esys_audit()
/external/tpm2-tss/test/tpmclient/
Dtpmclient.int.c244 TPMS_CAPABILITY_DATA capabilityData; in TestTpmGetCapability() local
248 …( sysContext, 0, TPM2_CAP_TPM_PROPERTIES, TPM2_PT_MANUFACTURER, 1, &moreData, &capabilityData, 0 ); in TestTpmGetCapability()
251 *((UINT32 *)manuIDPtr) = BE_TO_HOST_32(capabilityData.data.tpmProperties.tpmProperty[0].value); in TestTpmGetCapability()
253 capabilityData.data.tpmProperties.count, in TestTpmGetCapability()
254 capabilityData.data.tpmProperties.tpmProperty[0].property, in TestTpmGetCapability()
257 …sContext, 0, TPM2_CAP_TPM_PROPERTIES, TPM2_PT_MAX_COMMAND_SIZE, 1, &moreData, &capabilityData, 0 ); in TestTpmGetCapability()
260 capabilityData.data.tpmProperties.count, in TestTpmGetCapability()
261 capabilityData.data.tpmProperties.tpmProperty[0].property, in TestTpmGetCapability()
262 capabilityData.data.tpmProperties.tpmProperty[0].value ); in TestTpmGetCapability()
265 …Context, 0, TPM2_CAP_TPM_PROPERTIES, TPM2_PT_MAX_COMMAND_SIZE, 40, &moreData, &capabilityData, 0 ); in TestTpmGetCapability()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Capability/
DGetCapability.c55 TPMU_CAPABILITIES *data = &out->capabilityData.data; in TPM2_GetCapability()
59 out->capabilityData.capability = in->capability; in TPM2_GetCapability()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DGetCapability_fp.h55 TPMS_CAPABILITY_DATA capabilityData; member
/external/tpm2-tss/src/tss2-fapi/
Dfapi_util.c396 TPMS_CAPABILITY_DATA *capabilityData = NULL; in ifapi_get_free_handle_finish() local
398 &moreData, &capabilityData); in ifapi_get_free_handle_finish()
405 if (capabilityData->data.handles.count == 0 || in ifapi_get_free_handle_finish()
406 capabilityData->data.handles.handle[0] != *handle) { in ifapi_get_free_handle_finish()
407 SAFE_FREE(capabilityData); in ifapi_get_free_handle_finish()
410 SAFE_FREE(capabilityData); in ifapi_get_free_handle_finish()
3686 TPMS_CAPABILITY_DATA **capabilityData = &context->cmd.Provision.capabilityData; in ifapi_get_certificates() local
3692 context->cmd.Provision.capabilityData = NULL; in ifapi_get_certificates()
3707 r = Esys_GetCapability_Finish(context->esys, &moreData, capabilityData); in ifapi_get_certificates()
3711 if (!*capabilityData || (*capabilityData)->data.handles.count == 0) { in ifapi_get_certificates()
[all …]
Dfapi_int.h253 TPMS_CAPABILITY_DATA *capabilityData; /* TPM capability data to check available algs */ member
470 TPMS_CAPABILITY_DATA *capabilityData; member
/external/tpm2-tss/include/tss2/
Dtss2_sys.h1838 TPMS_CAPABILITY_DATA *capabilityData);
1847 TPMS_CAPABILITY_DATA *capabilityData,
2127 TPML_AC_CAPABILITIES *capabilityData);
2136 TPML_AC_CAPABILITIES *capabilityData,
Dtss2_esys.h2804 TPMS_CAPABILITY_DATA **capabilityData);
2820 TPMS_CAPABILITY_DATA **capabilityData);
/external/tpm2-tss/test/unit/
Desys-sequence-finish.c1756 TPMS_CAPABILITY_DATA *capabilityData; in check_GetCapability() local
1760 r = Esys_GetCapability_Finish(esys_context, &moreData, &capabilityData); in check_GetCapability()
Desys-tcti-rcs.c2324 TPMS_CAPABILITY_DATA *capabilityData; in test_GetCapability() local
2331 property, propertyCount, &moreData, &capabilityData); in test_GetCapability()
Desys-tpm-rcs.c2304 TPMS_CAPABILITY_DATA *capabilityData; in test_GetCapability() local
2311 property, propertyCount, &moreData, &capabilityData); in test_GetCapability()
Desys-resubmissions.c2518 TPMS_CAPABILITY_DATA *capabilityData; in test_GetCapability() local
2525 property, propertyCount, &moreData, &capabilityData); in test_GetCapability()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCommandDispatcher.h1812 *respParmSize += TPMS_CAPABILITY_DATA_Marshal(&out->capabilityData,
DCommandDispatchData.h4183 (UINT16)(offsetof(GetCapability_Out, capabilityData))},
/external/tpm2-tss/doc/
Ddoxygen.dox322 …INT32 property, UINT32 propertyCount, TPMI_YES_NO *moreData, TPMS_CAPABILITY_DATA **capabilityData)
323 …ity_Finish(ESYS_CONTEXT *esysContext, TPMI_YES_NO *moreData, TPMS_CAPABILITY_DATA **capabilityData)