Lines Matching refs:sys_ctx
41 TSS2_SYS_CONTEXT *sys_ctx, in create_policy_session() argument
54 rc = Tss2_Sys_StartAuthSession (sys_ctx, in create_policy_session()
71 setup_nv (TSS2_SYS_CONTEXT *sys_ctx, in setup_nv() argument
91 rc = create_policy_session (sys_ctx, &auth_handle); in setup_nv()
94 rc = Tss2_Sys_PolicyGetDigest (sys_ctx, auth_handle, 0, &policy_hash, 0); in setup_nv()
98 rc = Tss2_Sys_NV_DefineSpace (sys_ctx, in setup_nv()
106 rc = Tss2_Sys_FlushContext (sys_ctx, auth_handle); in setup_nv()
113 nv_write_read_test (TSS2_SYS_CONTEXT *sys_ctx, in nv_write_read_test() argument
124 rc = TSS2_RETRY_EXP (Tss2_Sys_NV_Write (sys_ctx, in nv_write_read_test()
133 rc = Tss2_Sys_NV_Read (sys_ctx, in nv_write_read_test()
155 teardown_nv (TSS2_SYS_CONTEXT *sys_ctx, in teardown_nv() argument
161 rc = Tss2_Sys_NV_UndefineSpace (sys_ctx, in teardown_nv()
172 test_invoke (TSS2_SYS_CONTEXT *sys_ctx) in test_invoke() argument
176 rc = setup_nv (sys_ctx, INDEX_LCP_OWN); in test_invoke()
178 rc = nv_write_read_test (sys_ctx, INDEX_LCP_OWN); in test_invoke()
180 rc_teardown = teardown_nv (sys_ctx, INDEX_LCP_OWN); in test_invoke()
184 rc = setup_nv (sys_ctx, INDEX_LCP_SUP); in test_invoke()
186 rc = nv_write_read_test (sys_ctx, INDEX_LCP_SUP); in test_invoke()
188 rc_teardown = teardown_nv (sys_ctx, INDEX_LCP_SUP); in test_invoke()