• Home
  • Raw
  • Download

Lines Matching refs:MP_MASK

92 #define MP_MASK          ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))  macro
274 *tmpc++ &= MP_MASK; in s_mp_add()
289 *tmpc++ &= MP_MASK; in s_mp_add()
348 *tmpc++ &= MP_MASK; in s_mp_sub()
360 *tmpc++ &= MP_MASK; in s_mp_sub()
986 a->dp[0] = (*b & MP_MASK); in mp_read_unsigned_bin()
1328 a->dp[0] = b & MP_MASK; in mp_set()
1431 *tmpc = ((*tmpc << d) | r) & MP_MASK; in mp_mul_2d()
1787 if (tmp > (mp_word) MP_MASK) in mp_div()
1788 tmp = MP_MASK; in mp_div()
1789 q.dp[i - t - 1] = (mp_digit) (tmp & (mp_word) (MP_MASK)); in mp_div()
1797 q.dp[i - t - 1] = (q.dp[i - t - 1] + 1) & MP_MASK; in mp_div()
1799 q.dp[i - t - 1] = (q.dp[i - t - 1] - 1) & MP_MASK; in mp_div()
1842 q.dp[i - t - 1] = (q.dp[i - t - 1] - 1UL) & MP_MASK; in mp_div()
2390 *tmpt++ = (mp_digit) (r & ((mp_word) MP_MASK)); in s_mp_mul_digs()
2469 W[ix] = ((mp_digit)_W) & MP_MASK; in fast_s_mp_mul_digs()
2549 t.dp[ix+ix] = (mp_digit) (r & ((mp_word) MP_MASK)); in s_mp_sqr()
2570 *tmpt++ = (mp_digit) (r & ((mp_word) MP_MASK)); in s_mp_sqr()
2578 *tmpt++ = (mp_digit) (r & ((mp_word) MP_MASK)); in s_mp_sqr()
2636 *tmpt++ = (mp_digit) (r & ((mp_word) MP_MASK)); in s_mp_mul_high_digs()
2684 *rho = (unsigned long)(((mp_word)1 << ((mp_word) DIGIT_BIT)) - x) & MP_MASK; in mp_montgomery_setup()
2750 mu = (mp_digit) (((W[ix] & MP_MASK) * rho) & MP_MASK); in fast_mp_montgomery_reduce()
2821 *tmpx++ = (mp_digit)(*_W++ & ((mp_word) MP_MASK)); in fast_mp_montgomery_reduce()
2880 *tmpb++ = ((*tmpa++ << ((mp_digit)1)) | r) & MP_MASK; in mp_mul_2()
3314 W[ix] = (mp_digit)(_W & MP_MASK); in fast_s_mp_sqr()
3328 *tmpb++ = W[ix] & MP_MASK; in fast_s_mp_sqr()
3379 *tmpc++ = (mp_digit) (r & ((mp_word) MP_MASK)); in mp_mul_d()