Lines Matching refs:esys_context

34 TSS2_RC (*sym_Esys_Initialize)(ESYS_CONTEXT **esys_context,  TSS2_TCTI_CONTEXT *tcti, TSS2_ABI_VERS…
94 ESYS_CONTEXT *esys_context; member
102 if (c->esys_context) in tpm2_context_destroy()
103 sym_Esys_Finalize(&c->esys_context); in tpm2_context_destroy()
220 .esys_context = TAKE_PTR(c), in tpm2_init()
883 r = tpm2_make_primary(c.esys_context, &primary, 0, &primary_alg); in tpm2_seal()
887 r = tpm2_make_encryption_session(c.esys_context, primary, &session); in tpm2_seal()
891 … r = tpm2_make_pcr_session(c.esys_context, primary, session, pcr_mask, UINT16_MAX, !!pin, NULL, in tpm2_seal()
929 (void) tpm2_credit_random(c.esys_context); in tpm2_seal()
942 c.esys_context, in tpm2_seal()
1025 primary = flush_context_verbose(c.esys_context, primary); in tpm2_seal()
1026 session = flush_context_verbose(c.esys_context, session); in tpm2_seal()
1096 r = tpm2_make_primary(c.esys_context, &primary, primary_alg, NULL); in tpm2_unseal()
1100 r = tpm2_make_encryption_session(c.esys_context, primary, &hmac_session); in tpm2_unseal()
1104 …r = tpm2_make_pcr_session(c.esys_context, primary, hmac_session, pcr_mask, pcr_bank, !!pin, &sessi… in tpm2_unseal()
1119 c.esys_context, in tpm2_unseal()
1149 rc = sym_Esys_TR_SetAuth(c.esys_context, hmac_key, &auth); in tpm2_unseal()
1163 c.esys_context, in tpm2_unseal()
1191 primary = flush_context_verbose(c.esys_context, primary); in tpm2_unseal()
1192 session = flush_context_verbose(c.esys_context, session); in tpm2_unseal()
1193 hmac_key = flush_context_verbose(c.esys_context, hmac_key); in tpm2_unseal()