Home | History | Annotate | Download | only in mtest

Lines Matching refs:MU

180 mp_err   s_mp_reduce(mp_int *x, mp_int *m, mp_int *mu);
1636 mp_int s, x, mu;
1652 (res = mp_init(&mu)) != MP_OKAY)
1653 goto MU;
1657 /* mu = b^2k / m */
1658 s_mp_add_d(&mu, 1);
1659 s_mp_lshd(&mu, 2 * USED(m));
1660 if((res = mp_div(&mu, m, &mu, NULL)) != MP_OKAY)
1672 if((res = s_mp_reduce(&s, m, &mu)) != MP_OKAY)
1680 if((res = s_mp_reduce(&x, m, &mu)) != MP_OKAY)
1692 if((res = s_mp_reduce(&s, m, &mu)) != MP_OKAY)
1700 if((res = s_mp_reduce(&x, m, &mu)) != MP_OKAY)
1707 mp_clear(&mu);
1708 MU:
3368 mp_err s_mp_reduce(mp_int *x, mp_int *m, mp_int *mu)
3378 s_mp_mul(&q, mu); /* q2 = q1 * mu */