Home | History | Annotate | Download | only in ec

Lines Matching refs:get_bit

924 /* get_bit returns the |i|th bit in |in| */
925 static char get_bit(const felem_bytearray in, unsigned i) {
964 bits = get_bit(g_scalar, i + 196) << 3;
965 bits |= get_bit(g_scalar, i + 140) << 2;
966 bits |= get_bit(g_scalar, i + 84) << 1;
967 bits |= get_bit(g_scalar, i + 28);
980 bits = get_bit(g_scalar, i + 168) << 3;
981 bits |= get_bit(g_scalar, i + 112) << 2;
982 bits |= get_bit(g_scalar, i + 56) << 1;
983 bits |= get_bit(g_scalar, i);
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);