Lines Matching defs:scalars
82 * scalars for point multiplication.
504 * Multiply a field element by a scalar: out = out * scalar The scalars we
517 * scalars we actually use are small, so results fit without overflow
1131 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars
1132 * in scalars[]. If g_scalar is non-NULL, we also add this multiple of the
1137 const felem_bytearray scalars[],
1153 * Loop over all scalars msb-to-lsb, interleaving additions of multiples
1197 /* loop over all scalars */
1199 bits = get_bit(scalars[num], i + 4) << 5;
1200 bits |= get_bit(scalars[num], i + 3) << 4;
1201 bits |= get_bit(scalars[num], i + 2) << 3;
1202 bits |= get_bit(scalars[num], i + 1) << 2;
1203 bits |= get_bit(scalars[num], i) << 1;
1204 bits |= get_bit(scalars[num], i - 1);
1413 * Computes scalar*generator + \sum scalars[i]*points[i], ignoring NULL
1419 const BIGNUM *scalars[], BN_CTX *ctx)
1508 * we treat NULL scalars as 0, and NULL points as points at infinity,
1523 p_scalar = scalars[i];