Lines Matching refs:rho
3544 mp_montgomery_setup(mp_int * n, mp_digit * rho)
3570 /* rho = -1/m mod b */
3571 *rho = (unsigned long)(((mp_word)1 << ((mp_word) DIGIT_BIT)) - x) & MP_MASK;
3589 fast_mp_montgomery_reduce(mp_int * x, mp_int * n, mp_digit rho)
3640 mu = (mp_digit) (((W[ix] & MP_MASK) * rho) & MP_MASK);
3739 mp_montgomery_reduce(mp_int * x, mp_int * n, mp_digit rho)
3752 return fast_mp_montgomery_reduce(x, n, rho);
3764 /* mu = ai * rho mod b
3766 * The value of rho must be precalculated via
3772 mu = (mp_digit) (((mp_word)x->dp[ix]) * ((mp_word)rho) & MP_MASK);