Lines Matching refs:group
66 mp_int *raz4, mp_int scratch[], const ECGroup *group)
89 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth));
90 MP_CHECKOK(group->meth->field_add(t0, t0, M, group->meth));
91 MP_CHECKOK(group->meth->field_add(t0, M, t0, group->meth));
92 MP_CHECKOK(group->meth->field_add(t0, paz4, M, group->meth));
95 MP_CHECKOK(group->meth->field_mul(py, pz, S, group->meth));
96 MP_CHECKOK(group->meth->field_add(S, S, rz, group->meth));
99 MP_CHECKOK(group->meth->field_sqr(py, t0, group->meth));
100 MP_CHECKOK(group->meth->field_add(t0, t0, t0, group->meth));
101 MP_CHECKOK(group->meth->field_sqr(t0, t1, group->meth));
102 MP_CHECKOK(group->meth->field_add(t1, t1, t1, group->meth));
105 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth));
106 MP_CHECKOK(group->meth->field_add(S, S, S, group->meth));
110 MP_CHECKOK(group->meth->field_sqr(M, rx, group->meth));
111 MP_CHECKOK(group->meth->field_sub(rx, S, rx, group->meth));
112 MP_CHECKOK(group->meth->field_sub(rx, S, rx, group->meth));
115 MP_CHECKOK(group->meth->field_sub(S, rx, S, group->meth));
116 MP_CHECKOK(group->meth->field_mul(S, M, ry, group->meth));
117 MP_CHECKOK(group->meth->field_sub(ry, t1, ry, group->meth));
120 MP_CHECKOK(group->meth->field_mul(paz4, t1, raz4, group->meth));
121 MP_CHECKOK(group->meth->field_add(raz4, raz4, raz4, group->meth));
137 mp_int *raz4, mp_int scratch[], const ECGroup *group)
156 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group));
157 MP_CHECKOK(group->meth->field_sqr(rz, raz4, group->meth));
158 MP_CHECKOK(group->meth->field_sqr(raz4, raz4, group->meth));
159 MP_CHECKOK(group->meth->
160 field_mul(raz4, &group->curvea, raz4, group->meth));
172 MP_CHECKOK(group->meth->field_sqr(pz, A, group->meth));
173 MP_CHECKOK(group->meth->field_mul(A, pz, B, group->meth));
174 MP_CHECKOK(group->meth->field_mul(A, qx, A, group->meth));
175 MP_CHECKOK(group->meth->field_mul(B, qy, B, group->meth));
178 MP_CHECKOK(group->meth->field_sub(A, px, C, group->meth));
179 MP_CHECKOK(group->meth->field_sub(B, py, D, group->meth));
182 MP_CHECKOK(group->meth->field_sqr(C, C2, group->meth));
183 MP_CHECKOK(group->meth->field_mul(C, C2, C3, group->meth));
186 MP_CHECKOK(group->meth->field_mul(pz, C, rz, group->meth));
189 MP_CHECKOK(group->meth->field_mul(px, C2, C, group->meth));
191 MP_CHECKOK(group->meth->field_sqr(D, A, group->meth));
194 MP_CHECKOK(group->meth->field_add(C, C, rx, group->meth));
195 MP_CHECKOK(group->meth->field_add(C3, rx, rx, group->meth));
196 MP_CHECKOK(group->meth->field_sub(A, rx, rx, group->meth));
199 MP_CHECKOK(group->meth->field_mul(py, C3, C3, group->meth));
202 MP_CHECKOK(group->meth->field_sub(C, rx, ry, group->meth));
203 MP_CHECKOK(group->meth->field_mul(D, ry, ry, group->meth));
204 MP_CHECKOK(group->meth->field_sub(ry, C3, ry, group->meth));
207 MP_CHECKOK(group->meth->field_sqr(rz, raz4, group->meth));
208 MP_CHECKOK(group->meth->field_sqr(raz4, raz4, group->meth));
209 MP_CHECKOK(group->meth->
210 field_mul(raz4, &group->curvea, raz4, group->meth));
225 mp_int *rx, mp_int *ry, const ECGroup *group)
246 ARGCHK(group != NULL, MP_BADARG);
268 MP_CHECKOK(group->
270 group));
274 MP_CHECKOK(group->
277 group));
283 MP_CHECKOK(group->meth->
285 group->meth));
291 orderBitSize = mpl_significant_bits(&group->order);
311 &raz4, scratch, group);
316 &rz, &raz4, scratch, group);
321 MP_CHECKOK(ec_GFp_pt_jac2aff(rx, ry, &rz, rx, ry, group));