Lines Matching refs:scalars
85 * scalars for point multiplication.
466 * Multiply a field element by a scalar: out = out * scalar The scalars we
479 * scalars we actually use are small, so results fit without overflow
1134 * small point multiples 0*P, 1*P, ..., 16*P are in pre_comp[], the scalars
1135 * in scalars[]. If g_scalar is non-NULL, we also add this multiple of the
1140 const felem_bytearray scalars[],
1156 * Loop over all scalars msb-to-lsb, interleaving additions of multiples
1200 /* loop over all scalars */
1202 bits = get_bit(scalars[num], i + 4) << 5;
1203 bits |= get_bit(scalars[num], i + 3) << 4;
1204 bits |= get_bit(scalars[num], i + 2) << 3;
1205 bits |= get_bit(scalars[num], i + 1) << 2;
1206 bits |= get_bit(scalars[num], i) << 1;
1207 bits |= get_bit(scalars[num], i - 1);
1408 * Computes scalar*generator + \sum scalars[i]*points[i], ignoring NULL
1414 const BIGNUM *scalars[], BN_CTX *ctx)
1496 * we treat NULL scalars as 0, and NULL points as points at infinity,
1507 p_scalar = scalars[i];