Lines Matching refs:esys_context
30 cmp_policy_digest(ESYS_CONTEXT * esys_context, in cmp_policy_digest() argument
39 r = Esys_PolicyGetDigest(esys_context, in cmp_policy_digest()
58 r = Esys_FlushContext(esys_context, *session); in cmp_policy_digest()
86 test_esys_policy_authorize_nv_opt(ESYS_CONTEXT * esys_context) in test_esys_policy_authorize_nv_opt() argument
130 r = Esys_NV_DefineSpace(esys_context, in test_esys_policy_authorize_nv_opt()
141 r = Esys_StartAuthSession(esys_context, ESYS_TR_NONE, ESYS_TR_NONE, in test_esys_policy_authorize_nv_opt()
156 r = Esys_PolicyNV(esys_context, in test_esys_policy_authorize_nv_opt()
170 if (!cmp_policy_digest(esys_context, &sessionTrial, &expectedPolicyNV, in test_esys_policy_authorize_nv_opt()
177 r = Esys_PolicyAuthorizeNV(esys_context, in test_esys_policy_authorize_nv_opt()
197 r = Esys_NV_UndefineSpace(esys_context, in test_esys_policy_authorize_nv_opt()
207 r = Esys_FlushContext(esys_context, sessionTrial); in test_esys_policy_authorize_nv_opt()
216 if (Esys_FlushContext(esys_context, sessionTrial) != TSS2_RC_SUCCESS) { in test_esys_policy_authorize_nv_opt()
222 if (Esys_NV_UndefineSpace(esys_context, in test_esys_policy_authorize_nv_opt()
236 test_invoke_esapi(ESYS_CONTEXT * esys_context) { in test_invoke_esapi() argument
237 return test_esys_policy_authorize_nv_opt(esys_context); in test_invoke_esapi()