Lines Matching refs:MP_OKAY
35 if ((res = mp_init_multi(&x, &y, &u, &v, &B, &D, NULL)) != MP_OKAY) { in fast_mp_invmod()
40 if ((res = mp_copy (b, &x)) != MP_OKAY) { in fast_mp_invmod()
45 if ((res = mp_mod (a, b, &y)) != MP_OKAY) { in fast_mp_invmod()
50 if ((res = mp_copy (&x, &u)) != MP_OKAY) { in fast_mp_invmod()
53 if ((res = mp_copy (&y, &v)) != MP_OKAY) { in fast_mp_invmod()
62 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { in fast_mp_invmod()
67 if ((res = mp_sub (&B, &x, &B)) != MP_OKAY) { in fast_mp_invmod()
72 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) { in fast_mp_invmod()
80 if ((res = mp_div_2 (&v, &v)) != MP_OKAY) { in fast_mp_invmod()
86 if ((res = mp_sub (&D, &x, &D)) != MP_OKAY) { in fast_mp_invmod()
91 if ((res = mp_div_2 (&D, &D)) != MP_OKAY) { in fast_mp_invmod()
99 if ((res = mp_sub (&u, &v, &u)) != MP_OKAY) { in fast_mp_invmod()
103 if ((res = mp_sub (&B, &D, &B)) != MP_OKAY) { in fast_mp_invmod()
108 if ((res = mp_sub (&v, &u, &v)) != MP_OKAY) { in fast_mp_invmod()
112 if ((res = mp_sub (&D, &B, &D)) != MP_OKAY) { in fast_mp_invmod()
133 if ((res = mp_add (&D, b, &D)) != MP_OKAY) { in fast_mp_invmod()
139 res = MP_OKAY; in fast_mp_invmod()