Lines Matching refs:px

58 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px,  in ECPoint_mul()  argument
78 if ((px == NULL) || (py == NULL)) { in ECPoint_mul()
88 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); in ECPoint_mul()
92 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); in ECPoint_mul()
112 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, in ec_pts_mul_basic() argument
121 && ((k2 == NULL) || (px == NULL) in ec_pts_mul_basic()
126 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_basic()
127 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { in ec_pts_mul_basic()
137 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); in ec_pts_mul_basic()
167 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, in ec_pts_mul_simul_w2() argument
179 && ((k2 == NULL) || (px == NULL) in ec_pts_mul_simul_w2()
184 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_simul_w2()
185 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { in ec_pts_mul_simul_w2()
212 field_enc(px, &precomp[1][0][0], group->meth)); in ec_pts_mul_simul_w2()
216 MP_CHECKOK(mp_copy(px, &precomp[1][0][0])); in ec_pts_mul_simul_w2()
228 field_enc(px, &precomp[0][1][0], group->meth)); in ec_pts_mul_simul_w2()
232 MP_CHECKOK(mp_copy(px, &precomp[0][1][0])); in ec_pts_mul_simul_w2()
318 const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) in ECPoints_mul() argument
355 res = group->points_mul(k1p, k2p, px, py, rx, ry, group); in ECPoints_mul()
357 res = ec_pts_mul_simul_w2(k1p, k2p, px, py, rx, ry, group); in ECPoints_mul()