Lines Matching refs:mu
1681 mp_int s, x, mu;
1696 if((res = mp_init(&mu, FLAG(a))) != MP_OKAY)
1701 /* mu = b^2k / m */
1702 s_mp_add_d(&mu, 1);
1703 s_mp_lshd(&mu, 2 * USED(m));
1704 if((res = mp_div(&mu, m, &mu, NULL)) != MP_OKAY)
1716 if((res = s_mp_reduce(&s, m, &mu)) != MP_OKAY)
1724 if((res = s_mp_reduce(&x, m, &mu)) != MP_OKAY)
1736 if((res = s_mp_reduce(&s, m, &mu)) != MP_OKAY)
1744 if((res = s_mp_reduce(&x, m, &mu)) != MP_OKAY)
1751 mp_clear(&mu);
4543 /* {{{ s_mp_reduce(x, m, mu) */
4547 mu = b^2k / m, where b = RADIX and k = #digits(m). This should be
4558 mp_err s_mp_reduce(mp_int *x, const mp_int *m, const mp_int *mu)
4567 s_mp_mul(&q, mu); /* q2 = q1 * mu */