Lines Matching refs:group

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