Home | History | Annotate | Download | only in ec

Lines Matching full:scalars

60  * scalars for point multiplication. */
366 * The scalars we actually use are small, so results fit without overflow */
375 * The scalars we actually use are small, so results fit without overflow */
934 * the scalars in scalars[]. If g_scalar is non-NULL, we also add this multiple
938 const felem_bytearray scalars[],
951 /* Loop over all scalars msb-to-lsb, interleaving additions
992 /* loop over all scalars */
994 bits = get_bit(scalars[num], i + 4) << 5;
995 bits |= get_bit(scalars[num], i + 3) << 4;
996 bits |= get_bit(scalars[num], i + 2) << 3;
997 bits |= get_bit(scalars[num], i + 1) << 2;
998 bits |= get_bit(scalars[num], i) << 1;
999 bits |= get_bit(scalars[num], i - 1);
1127 /* TODO: This function used to take |points| and |scalars| as arrays of
1132 BIGNUM const *const *scalars = p_ != NULL ? &p_scalar_ : NULL;
1185 /* we treat NULL scalars as 0, and NULL points as points at infinity,
1197 p_scalar = scalars[i];