• Home
  • Raw
  • Download

Lines Matching refs:rsrc

49     r = iesys_MU_IESYS_RESOURCE_Marshal(&esys_object->rsrc, NULL, SIZE_MAX,  in Esys_TR_Serialize()
57 r = iesys_MU_IESYS_RESOURCE_Marshal(&esys_object->rsrc, *buffer, in Esys_TR_Serialize()
96 &esys_object->rsrc); in Esys_TR_Deserialize()
140 esysHandleNode->rsrc.handle = tpm_handle; in Esys_TR_FromTPMPublic_Async()
200 if (objectHandleNode->rsrc.handle >= TPM2_NV_INDEX_FIRST in Esys_TR_FromTPMPublic_Finish()
201 && objectHandleNode->rsrc.handle <= TPM2_NV_INDEX_LAST) { in Esys_TR_FromTPMPublic_Finish()
212 objectHandleNode->rsrc.rsrcType = IESYSC_NV_RSRC; in Esys_TR_FromTPMPublic_Finish()
213 objectHandleNode->rsrc.name = *nvName; in Esys_TR_FromTPMPublic_Finish()
214 objectHandleNode->rsrc.misc.rsrc_nv_pub = *nvPublic; in Esys_TR_FromTPMPublic_Finish()
217 } else if(objectHandleNode->rsrc.handle >> TPM2_HR_SHIFT == TPM2_HT_LOADED_SESSION in Esys_TR_FromTPMPublic_Finish()
218 || objectHandleNode->rsrc.handle >> TPM2_HR_SHIFT == TPM2_HT_SAVED_SESSION) { in Esys_TR_FromTPMPublic_Finish()
219 objectHandleNode->rsrc.rsrcType = IESYSC_DEGRADED_SESSION_RSRC; in Esys_TR_FromTPMPublic_Finish()
233 objectHandleNode->rsrc.rsrcType = IESYSC_KEY_RSRC; in Esys_TR_FromTPMPublic_Finish()
234 objectHandleNode->rsrc.name = *name; in Esys_TR_FromTPMPublic_Finish()
235 objectHandleNode->rsrc.misc.rsrc_key_pub = *public; in Esys_TR_FromTPMPublic_Finish()
429 if (esys_object->rsrc.rsrcType == IESYSC_KEY_RSRC) { in Esys_TR_GetName()
430 r = iesys_get_name(&esys_object->rsrc.misc.rsrc_key_pub, *name); in Esys_TR_GetName()
434 if (esys_object->rsrc.rsrcType == IESYSC_NV_RSRC) { in Esys_TR_GetName()
435 r = iesys_nv_get_name(&esys_object->rsrc.misc.rsrc_nv_pub, *name); in Esys_TR_GetName()
440 r = Tss2_MU_TPM2_HANDLE_Marshal(esys_object->rsrc.handle, in Esys_TR_GetName()
477 if (esys_object->rsrc.rsrcType != IESYSC_SESSION_RSRC) in Esys_TRSess_GetAttributes()
479 *flags = esys_object->rsrc.misc.rsrc_session.sessionAttributes; in Esys_TRSess_GetAttributes()
509 if (esys_object->rsrc.rsrcType != IESYSC_SESSION_RSRC) in Esys_TRSess_SetAttributes()
511 esys_object->rsrc.misc.rsrc_session.sessionAttributes = in Esys_TRSess_SetAttributes()
512 (esys_object->rsrc.misc.rsrc_session. in Esys_TRSess_SetAttributes()
548 if (esys_object->rsrc.rsrcType != IESYSC_SESSION_RSRC) { in Esys_TRSess_GetNonceTPM()
554 **nonceTPM = esys_object->rsrc.misc.rsrc_session.nonceTPM; in Esys_TRSess_GetNonceTPM()
596 *tpm_handle = esys_object->rsrc.handle; in Esys_TR_GetTpmHandle()
625 if (esys_object->rsrc.rsrcType != IESYSC_SESSION_RSRC) { in Esys_TRSess_GetAuthRequired()
630 if (esys_object->rsrc.misc.rsrc_session.type_policy_session == POLICY_AUTH || in Esys_TRSess_GetAuthRequired()
631 esys_object->rsrc.misc.rsrc_session.type_policy_session == POLICY_PASSWORD) in Esys_TRSess_GetAuthRequired()