• Home
  • Raw
  • Download

Lines Matching refs:rval

24     TSS2_RC rval;  in Tss2_Sys_Rewrap_Prepare()  local
29 rval = CommonPreparePrologue(ctx, TPM2_CC_Rewrap); in Tss2_Sys_Rewrap_Prepare()
30 if (rval) in Tss2_Sys_Rewrap_Prepare()
31 return rval; in Tss2_Sys_Rewrap_Prepare()
33 rval = Tss2_MU_UINT32_Marshal(oldParent, ctx->cmdBuffer, in Tss2_Sys_Rewrap_Prepare()
36 if (rval) in Tss2_Sys_Rewrap_Prepare()
37 return rval; in Tss2_Sys_Rewrap_Prepare()
39 rval = Tss2_MU_UINT32_Marshal(newParent, ctx->cmdBuffer, in Tss2_Sys_Rewrap_Prepare()
42 if (rval) in Tss2_Sys_Rewrap_Prepare()
43 return rval; in Tss2_Sys_Rewrap_Prepare()
48 rval = Tss2_MU_UINT16_Marshal(0, ctx->cmdBuffer, in Tss2_Sys_Rewrap_Prepare()
53 rval = Tss2_MU_TPM2B_PRIVATE_Marshal(inDuplicate, ctx->cmdBuffer, in Tss2_Sys_Rewrap_Prepare()
58 if (rval) in Tss2_Sys_Rewrap_Prepare()
59 return rval; in Tss2_Sys_Rewrap_Prepare()
62 rval = Tss2_MU_UINT16_Marshal(0, ctx->cmdBuffer, in Tss2_Sys_Rewrap_Prepare()
68 rval = Tss2_MU_TPM2B_NAME_Marshal(name, ctx->cmdBuffer, in Tss2_Sys_Rewrap_Prepare()
73 if (rval) in Tss2_Sys_Rewrap_Prepare()
74 return rval; in Tss2_Sys_Rewrap_Prepare()
77 rval = Tss2_MU_UINT16_Marshal(0, ctx->cmdBuffer, in Tss2_Sys_Rewrap_Prepare()
83 rval = Tss2_MU_TPM2B_ENCRYPTED_SECRET_Marshal(inSymSeed, in Tss2_Sys_Rewrap_Prepare()
89 if (rval) in Tss2_Sys_Rewrap_Prepare()
90 return rval; in Tss2_Sys_Rewrap_Prepare()
105 TSS2_RC rval; in Tss2_Sys_Rewrap_Complete() local
110 rval = CommonComplete(ctx); in Tss2_Sys_Rewrap_Complete()
111 if (rval) in Tss2_Sys_Rewrap_Complete()
112 return rval; in Tss2_Sys_Rewrap_Complete()
114 rval = Tss2_MU_TPM2B_PRIVATE_Unmarshal(ctx->cmdBuffer, in Tss2_Sys_Rewrap_Complete()
117 if (rval) in Tss2_Sys_Rewrap_Complete()
118 return rval; in Tss2_Sys_Rewrap_Complete()
139 TSS2_RC rval; in Tss2_Sys_Rewrap() local
141 rval = Tss2_Sys_Rewrap_Prepare(sysContext, oldParent, newParent, inDuplicate, name, inSymSeed); in Tss2_Sys_Rewrap()
142 if (rval) in Tss2_Sys_Rewrap()
143 return rval; in Tss2_Sys_Rewrap()
145 rval = CommonOneCall(ctx, cmdAuthsArray, rspAuthsArray); in Tss2_Sys_Rewrap()
146 if (rval) in Tss2_Sys_Rewrap()
147 return rval; in Tss2_Sys_Rewrap()