Lines Matching refs:mp_sub
456 static int mp_sub (mp_int * a, mp_int * b, mp_int * c) in mp_sub() function
824 if ((res = mp_sub (&B, &x, &B)) != MP_OKAY) { in mp_invmod_slow()
849 if ((res = mp_sub (&D, &x, &D)) != MP_OKAY) { in mp_invmod_slow()
865 if ((res = mp_sub (&u, &v, &u)) != MP_OKAY) { in mp_invmod_slow()
869 if ((res = mp_sub (&A, &C, &A)) != MP_OKAY) { in mp_invmod_slow()
873 if ((res = mp_sub (&B, &D, &B)) != MP_OKAY) { in mp_invmod_slow()
878 if ((res = mp_sub (&v, &u, &v)) != MP_OKAY) { in mp_invmod_slow()
882 if ((res = mp_sub (&C, &A, &C)) != MP_OKAY) { in mp_invmod_slow()
886 if ((res = mp_sub (&D, &B, &D)) != MP_OKAY) { in mp_invmod_slow()
912 if ((res = mp_sub(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow()
1649 if (((res = mp_sub(&ta, &tb, &ta)) != MP_OKAY) || in mp_div()
1764 if ((res = mp_sub (&x, &y, &x)) != MP_OKAY) { in mp_div()
1826 if ((res = mp_sub (&x, &t1, &x)) != MP_OKAY) { in mp_div()
2308 if ((res = mp_sub (x, &q, x)) != MP_OKAY) { in mp_reduce()