Lines Matching defs:k1
408 /* Elliptic curve scalar-point multiplication. Computes R(x, y) = k1 * G +
410 * points on the elliptic curve. Allows k1 = NULL or { k2, P } = NULL.
416 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px,
436 ARGCHK(!((k1 == NULL)
441 if (k1 == NULL) {
444 return ECPoint_mul(group, k1, NULL, NULL, rx, ry);
450 MP_CHECKOK(mp_init(&precomp[i][j][0], FLAG(k1)));
451 MP_CHECKOK(mp_init(&precomp[i][j][1], FLAG(k1)));
456 /* assign {k1, k2} = {a, b} such that len(a) >= len(b) */
457 if (mpl_significant_bits(k1) < mpl_significant_bits(k2)) {
459 b = k1;
472 a = k1;
528 MP_CHECKOK(mp_init(&rz, FLAG(k1)));