Home | History | Annotate | Download | only in libtommath

Lines Matching refs:MP_OKAY

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