Lines Matching defs:k1
399 /* Elliptic curve scalar-point multiplication. Computes R(x, y) = k1 * G +
401 * points on the elliptic curve. Allows k1 = NULL or { k2, P } = NULL.
407 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px,
427 ARGCHK(!((k1 == NULL)
432 if (k1 == NULL) {
435 return ECPoint_mul(group, k1, NULL, NULL, rx, ry);
441 MP_CHECKOK(mp_init(&precomp[i][j][0], FLAG(k1)));
442 MP_CHECKOK(mp_init(&precomp[i][j][1], FLAG(k1)));
447 /* assign {k1, k2} = {a, b} such that len(a) >= len(b) */
448 if (mpl_significant_bits(k1) < mpl_significant_bits(k2)) {
450 b = k1;
463 a = k1;
519 MP_CHECKOK(mp_init(&rz, FLAG(k1)));