Lines Matching defs:px
51 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px,
71 if ((px == NULL) || (py == NULL)) {
81 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth));
85 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group));
105 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px,
114 && ((k2 == NULL) || (px == NULL)
119 return ECPoint_mul(group, k2, px, py, rx, ry);
120 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) {
130 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry));
160 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px,
172 && ((k2 == NULL) || (px == NULL)
177 return ECPoint_mul(group, k2, px, py, rx, ry);
178 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) {
205 field_enc(px, &precomp[1][0][0], group->meth));
209 MP_CHECKOK(mp_copy(px, &precomp[1][0][0]));
221 field_enc(px, &precomp[0][1][0], group->meth));
225 MP_CHECKOK(mp_copy(px, &precomp[0][1][0]));
311 const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry)
348 res = group->points_mul(k1p, k2p, px, py, rx, ry, group);
350 res = ec_pts_mul_simul_w2(k1p, k2p, px, py, rx, ry, group);