Searched refs:MP_DIGIT_BIT (Results 1 – 8 of 8) sorted by relevance
134 ix = bitNum / MP_DIGIT_BIT; in mpl_set_bit()141 bitNum = bitNum % MP_DIGIT_BIT; in mpl_set_bit()163 ix = bitNum / MP_DIGIT_BIT; in mpl_get_bit()166 bit = bitNum % MP_DIGIT_BIT; in mpl_get_bit()183 mp_size rshift = (lsbNum % MP_DIGIT_BIT); in mpl_get_bits()184 mp_size lsWndx = (lsbNum / MP_DIGIT_BIT); in mpl_get_bits()189 ARGCHK(MP_HOWMANY(lsbNum, MP_DIGIT_BIT) <= MP_USED(a), MP_RANGE); in mpl_get_bits()191 if ((numBits + lsbNum % MP_DIGIT_BIT <= MP_DIGIT_BIT) || in mpl_get_bits()195 mask &= ((digit[0] >> rshift) | (digit[1] << (MP_DIGIT_BIT - rshift))); in mpl_get_bits()224 bits += ix * MP_DIGIT_BIT; in mpl_significant_bits()
217 #define MP_DIGIT_BIT (CHAR_BIT*sizeof(mp_digit)) macro221 #define MP_HALF_DIGIT_BIT (MP_DIGIT_BIT/2)367 #define DIGIT_BIT MP_DIGIT_BIT
2052 n += MP_DIGIT_BIT; in mp_trailing_zeros()2196 ix = MP_HOWMANY(k, MP_DIGIT_BIT) + MP_USED(p) + 1; in s_mp_fixup_reciprocal()2203 int j = MP_MIN(k, MP_DIGIT_BIT); in s_mp_fixup_reciprocal()2205 if (j < MP_DIGIT_BIT) { in s_mp_fixup_reciprocal()2303 if (k <= MP_DIGIT_BIT) { in s_mp_invmod_2d()2305 if (k < MP_DIGIT_BIT) in s_mp_invmod_2d()3009 dshift = d / MP_DIGIT_BIT; in s_mp_mul_2d()3010 bshift = d % MP_DIGIT_BIT; in s_mp_mul_2d()3012 mask = ((mp_digit)~0 << (MP_DIGIT_BIT - bshift)); in s_mp_mul_2d()3778 w >>= MP_DIGIT_BIT; in s_mp_sub()[all …]
575 top_bit <<= MP_DIGIT_BIT - 1; in mp_bpoly2arr()582 for (j = MP_DIGIT_BIT - 1; j >= 0; j--) { in mp_bpoly2arr()584 if (k < max) p[k] = MP_DIGIT_BIT * i + j; in mp_bpoly2arr()
233 j = MP_DIGIT_BIT - 1; in ec_GF2m_pt_mul_mont()235 top_bit <<= MP_DIGIT_BIT - 1; in ec_GF2m_pt_mul_mont()247 j = MP_DIGIT_BIT - 1; in ec_GF2m_pt_mul_mont()262 j = MP_DIGIT_BIT - 1; in ec_GF2m_pt_mul_mont()
96 i += MP_DIGIT_BIT - 1; in GFMethod_consGFp_mont()97 mmm->b = i - i % MP_DIGIT_BIT; in GFMethod_consGFp_mont()
89 | (MP_DIGIT(a, 1+i) << (MP_DIGIT_BIT-9)); in ec_GFp_nistp521_mod()
85 bout = (w >> MP_DIGIT_BIT) & 1; }