Lines Matching refs:sys_ctx

47 create_policy_session (TSS2_SYS_CONTEXT *sys_ctx,  in create_policy_session()  argument
58 rc = Tss2_Sys_StartAuthSession (sys_ctx, in create_policy_session()
72 rc = Tss2_Sys_PolicyLocality (sys_ctx, in create_policy_session()
86 setup_nv (TSS2_SYS_CONTEXT *sys_ctx) in setup_nv() argument
112 rc = create_policy_session (sys_ctx, &auth_handle); in setup_nv()
115 rc = Tss2_Sys_PolicyGetDigest (sys_ctx, in setup_nv()
127 rc = Tss2_Sys_NV_DefineSpace (sys_ctx, in setup_nv()
133 Tss2_Sys_FlushContext (sys_ctx, auth_handle); in setup_nv()
140 teardown_nv (TSS2_SYS_CONTEXT *sys_ctx) in teardown_nv() argument
153 rc = Tss2_Sys_NV_UndefineSpace (sys_ctx, in teardown_nv()
171 nv_write (TSS2_SYS_CONTEXT *sys_ctx) in nv_write() argument
183 rc = create_policy_session (sys_ctx, in nv_write()
187 rc = Tss2_Sys_NV_Write (sys_ctx, in nv_write()
194 Tss2_Sys_FlushContext (sys_ctx, auth_cmd.auths [0].sessionHandle); in nv_write()
205 nv_write_test (TSS2_SYS_CONTEXT *sys_ctx) in nv_write_test() argument
213 rc = Tss2_Sys_GetTctiContext (sys_ctx, &tcti_ctx); in nv_write_test()
222 rc = nv_write (sys_ctx); in nv_write_test()
250 nv_read_test (TSS2_SYS_CONTEXT *sys_ctx) in nv_read_test() argument
266 rc = Tss2_Sys_GetTctiContext (sys_ctx, &tcti_ctx); in nv_read_test()
276 rc = TSS2_RETRY_EXP (Tss2_Sys_NV_Read (sys_ctx, in nv_read_test()
294 test_invoke (TSS2_SYS_CONTEXT *sys_ctx) in test_invoke() argument
298 rc = setup_nv (sys_ctx); in test_invoke()
300 rc = nv_write_test (sys_ctx); in test_invoke()
302 rc = nv_read_test (sys_ctx); in test_invoke()
305 rc_teardown = teardown_nv (sys_ctx); in test_invoke()