Home
last modified time | relevance | path

Searched refs:rsrc_session (Results 1 – 8 of 8) sorted by relevance

/external/tpm2-tss/src/tss2-esys/
Desys_iutil.c174 if (session->rsrc.misc.rsrc_session. in iesys_compute_encrypt_nonce()
182 *encryptNonce = &session->rsrc.misc.rsrc_session.nonceTPM; in iesys_compute_encrypt_nonce()
235 session->rsrc.misc.rsrc_session.authHash) { in iesys_compute_cp_hashtab()
242 r = iesys_crypto_cpHash(session->rsrc.misc.rsrc_session. in iesys_compute_cp_hashtab()
250 session->rsrc.misc.rsrc_session.authHash; in iesys_compute_cp_hashtab()
298 if (rp_hash_tab[j].alg == session->rsrc.misc.rsrc_session.authHash) { in iesys_compute_rp_hashtab()
305 r = iesys_crypto_rpHash(session->rsrc.misc.rsrc_session.authHash, in iesys_compute_rp_hashtab()
311 session->rsrc.misc.rsrc_session.authHash; in iesys_compute_rp_hashtab()
539 r = iesys_crypto_random2b(&session->rsrc.misc.rsrc_session.nonceCaller, in iesys_gen_caller_nonces()
540 session->rsrc.misc.rsrc_session.nonceCaller.size); in iesys_gen_caller_nonces()
[all …]
Desys_tr.c479 *flags = esys_object->rsrc.misc.rsrc_session.sessionAttributes; in Esys_TRSess_GetAttributes()
511 esys_object->rsrc.misc.rsrc_session.sessionAttributes = in Esys_TRSess_SetAttributes()
512 (esys_object->rsrc.misc.rsrc_session. in Esys_TRSess_SetAttributes()
554 **nonceTPM = esys_object->rsrc.misc.rsrc_session.nonceTPM; in Esys_TRSess_GetNonceTPM()
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()
Desys_types.h80 … IESYS_SESSION rsrc_session; /**< Internal esapi session information */ member
Desys_mu.c681 return iesys_MU_IESYS_SESSION_Marshal(&src->rsrc_session, buffer, size, offset); in iesys_MU_IESYS_RSRC_UNION_Marshal()
724 (dst != NULL)? &dst->rsrc_session : NULL); in iesys_MU_IESYS_RSRC_UNION_Unmarshal()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_StartAuthSession.c353 rsrc->misc.rsrc_session.sessionAttributes = TPMA_SESSION_CONTINUESESSION; in Esys_StartAuthSession_Finish()
354 rsrc->misc.rsrc_session.sessionType = esysContext->in.StartAuthSession.sessionType; in Esys_StartAuthSession_Finish()
355 rsrc->misc.rsrc_session.authHash = esysContext->in.StartAuthSession.authHash; in Esys_StartAuthSession_Finish()
356 rsrc->misc.rsrc_session.symmetric = *esysContext->in.StartAuthSession.symmetric; in Esys_StartAuthSession_Finish()
357 rsrc->misc.rsrc_session.nonceCaller = esysContext->in.StartAuthSession.nonceCallerData; in Esys_StartAuthSession_Finish()
418 sessionHandleNode->rsrc.misc.rsrc_session.nonceTPM = lnonceTPM; in Esys_StartAuthSession_Finish()
473 &sessionHandleNode->rsrc.misc.rsrc_session.bound_entity); in Esys_StartAuthSession_Finish()
479 &sessionHandleNode->rsrc.misc.rsrc_session.sessionKey.buffer[0], FALSE); in Esys_StartAuthSession_Finish()
483 sessionHandleNode->rsrc.misc.rsrc_session.sessionKey.size = authHash_size; in Esys_StartAuthSession_Finish()
484 LOGBLOB_DEBUG(&sessionHandleNode->rsrc.misc.rsrc_session.sessionKey in Esys_StartAuthSession_Finish()
DEsys_PolicyPassword.c324 policySessionNode->rsrc.misc.rsrc_session.type_policy_session = in Esys_PolicyPassword_Finish()
DEsys_PolicyAuthValue.c324 policySessionNode->rsrc.misc.rsrc_session.type_policy_session = POLICY_AUTH; in Esys_PolicyAuthValue_Finish()
DEsys_NV_UndefineSpaceSpecial.c335 session->rsrc.misc.rsrc_session.sizeHmacValue -= nvIndexNode->auth.size; in Esys_NV_UndefineSpaceSpecial_Finish()