Lines Matching refs:sts

37   EpidStatus sts = kEpidErr;  in EpidPrivateExp()  local
72 sts = EpidMemberInitialProvision(ctx); in EpidPrivateExp()
73 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
77 sts = NewEcPoint(G1, &k_pt); in EpidPrivateExp()
78 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
79 sts = NewEcPoint(G1, &l_pt); in EpidPrivateExp()
80 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
81 sts = NewEcPoint(G1, &e_pt); in EpidPrivateExp()
82 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
83 sts = NewEcPoint(G1, &t1); in EpidPrivateExp()
84 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
85 sts = NewEcPoint(G1, &h); in EpidPrivateExp()
86 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
88 sts = in EpidPrivateExp()
90 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
93 sts = NewFfElement(Fp, &k); in EpidPrivateExp()
94 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
95 sts = NewFfElement(Fp, &s); in EpidPrivateExp()
96 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
98 sts = Tpm2Sign(ctx->tpm2_ctx, digest, digest_len, counter, k, s); in EpidPrivateExp()
99 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
102 sts = FfInv(Fp, k, k); in EpidPrivateExp()
103 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
106 sts = WriteFfElement(Fp, s, &tmp_ff_str, sizeof(tmp_ff_str)); in EpidPrivateExp()
107 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
108 sts = EcSscmExp(G1, a, &tmp_ff_str, t1); in EpidPrivateExp()
109 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
112 sts = EcInverse(G1, e_pt, e_pt); in EpidPrivateExp()
113 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
116 sts = EcMul(G1, t1, e_pt, h); in EpidPrivateExp()
117 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
120 sts = WriteFfElement(Fp, k, &tmp_ff_str, sizeof(tmp_ff_str)); in EpidPrivateExp()
121 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
122 sts = EcSscmExp(G1, h, &tmp_ff_str, r); in EpidPrivateExp()
123 BREAK_ON_EPID_ERROR(sts); in EpidPrivateExp()
126 if (sts != kEpidNoErr) { in EpidPrivateExp()
140 return sts; in EpidPrivateExp()