Lines Matching refs:sys_ctx

33 create_policy (TSS2_SYS_CONTEXT *sys_ctx,  in create_policy()  argument
45 rc = Tss2_Sys_GetTctiContext (sys_ctx, &tcti_ctx); in create_policy()
66 rc = Tss2_Sys_PolicyAuthValue (sys_ctx, in create_policy()
74 rc = Tss2_Sys_PolicyGetDigest (sys_ctx, in create_policy()
84 rc = Tss2_Sys_FlushContext (sys_ctx, in create_policy()
97 TSS2_SYS_CONTEXT *sys_ctx, in nv_rw_with_session() argument
144 rc = Tss2_Sys_GetTctiContext (sys_ctx, &tcti_ctx); in nv_rw_with_session()
150 rc = DefineNvIndex (sys_ctx, in nv_rw_with_session()
224 rc = Tss2_Sys_PolicyAuthValue (sys_ctx, in nv_rw_with_session()
234 rc = Tss2_Sys_NV_Write_Prepare (sys_ctx, in nv_rw_with_session()
251 rc = compute_command_hmac(sys_ctx, in nv_rw_with_session()
266 rc = TSS2_RETRY_EXP (Tss2_Sys_NV_Write (sys_ctx, in nv_rw_with_session()
287 rc = check_response_hmac (sys_ctx, in nv_rw_with_session()
299 rc = Tss2_Sys_PolicyAuthValue (sys_ctx, in nv_rw_with_session()
309 rc = Tss2_Sys_NV_Read_Prepare (sys_ctx, in nv_rw_with_session()
327 rc = compute_command_hmac (sys_ctx, in nv_rw_with_session()
342 rc = Tss2_Sys_NV_Read (sys_ctx, in nv_rw_with_session()
363 rc = check_response_hmac (sys_ctx, in nv_rw_with_session()
389 rc = Tss2_Sys_NV_UndefineSpace (sys_ctx, in nv_rw_with_session()
408 test_invoke (TSS2_SYS_CONTEXT *sys_ctx) in test_invoke() argument
416 rc = nv_rw_with_session (sys_ctx, &authPolicy, nvAttributes, TPM2_SE_HMAC); in test_invoke()
422 rc = create_policy (sys_ctx, &authPolicy); in test_invoke()
426 rc = nv_rw_with_session (sys_ctx, &authPolicy, nvAttributes, TPM2_SE_POLICY); in test_invoke()