• Home
  • Raw
  • Download

Lines Matching refs:rval

23     TSS2_RC rval;  in Tss2_Sys_Commit_Prepare()  local
28 rval = CommonPreparePrologue(ctx, TPM2_CC_Commit); in Tss2_Sys_Commit_Prepare()
29 if (rval) in Tss2_Sys_Commit_Prepare()
30 return rval; in Tss2_Sys_Commit_Prepare()
32 rval = Tss2_MU_UINT32_Marshal(signHandle, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare()
35 if (rval) in Tss2_Sys_Commit_Prepare()
36 return rval; in Tss2_Sys_Commit_Prepare()
41 rval = Tss2_MU_UINT16_Marshal(0, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare()
45 rval = Tss2_MU_TPM2B_ECC_POINT_Marshal(P1, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare()
50 if (rval) in Tss2_Sys_Commit_Prepare()
51 return rval; in Tss2_Sys_Commit_Prepare()
54 rval = Tss2_MU_UINT16_Marshal(0, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare()
60 rval = Tss2_MU_TPM2B_SENSITIVE_DATA_Marshal(s2, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare()
65 if (rval) in Tss2_Sys_Commit_Prepare()
66 return rval; in Tss2_Sys_Commit_Prepare()
69 rval = Tss2_MU_UINT16_Marshal(0, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare()
75 rval = Tss2_MU_TPM2B_ECC_PARAMETER_Marshal(y2, ctx->cmdBuffer, in Tss2_Sys_Commit_Prepare()
80 if (rval) in Tss2_Sys_Commit_Prepare()
81 return rval; in Tss2_Sys_Commit_Prepare()
98 TSS2_RC rval; in Tss2_Sys_Commit_Complete() local
103 rval = CommonComplete(ctx); in Tss2_Sys_Commit_Complete()
104 if (rval) in Tss2_Sys_Commit_Complete()
105 return rval; in Tss2_Sys_Commit_Complete()
107 rval = Tss2_MU_TPM2B_ECC_POINT_Unmarshal(ctx->cmdBuffer, in Tss2_Sys_Commit_Complete()
110 if (rval) in Tss2_Sys_Commit_Complete()
111 return rval; in Tss2_Sys_Commit_Complete()
113 rval = Tss2_MU_TPM2B_ECC_POINT_Unmarshal(ctx->cmdBuffer, in Tss2_Sys_Commit_Complete()
116 if (rval) in Tss2_Sys_Commit_Complete()
117 return rval; in Tss2_Sys_Commit_Complete()
119 rval = Tss2_MU_TPM2B_ECC_POINT_Unmarshal(ctx->cmdBuffer, in Tss2_Sys_Commit_Complete()
122 if (rval) in Tss2_Sys_Commit_Complete()
123 return rval; in Tss2_Sys_Commit_Complete()
144 TSS2_RC rval; in Tss2_Sys_Commit() local
146 rval = Tss2_Sys_Commit_Prepare(sysContext, signHandle, P1, s2, y2); in Tss2_Sys_Commit()
147 if (rval) in Tss2_Sys_Commit()
148 return rval; in Tss2_Sys_Commit()
150 rval = CommonOneCall(ctx, cmdAuthsArray, rspAuthsArray); in Tss2_Sys_Commit()
151 if (rval) in Tss2_Sys_Commit()
152 return rval; in Tss2_Sys_Commit()