Lines Matching refs:mp_copy
159 static int mp_copy(mp_int * a, mp_int * b);
792 if ((res = mp_copy (b, &y)) != MP_OKAY) { in mp_invmod_slow()
803 if ((res = mp_copy (&x, &u)) != MP_OKAY) { in mp_invmod_slow()
806 if ((res = mp_copy (&y, &v)) != MP_OKAY) { in mp_invmod_slow()
1039 res = mp_copy (a, c); in mp_div_2d()
1059 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_div_2d()
1114 return mp_copy (b, a); in mp_init_copy()
1137 mp_copy (mp_int * a, mp_int * b) in mp_copy() function
1324 if ((res = mp_copy (a, b)) != MP_OKAY) { in mp_abs()
1407 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mul_2d()
1607 res = mp_copy (a, c); in mp_mod_2d()
1612 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mod_2d()
1645 res = mp_copy (a, d); in mp_div()
1728 res = mp_copy (a, d); in mp_div()
1856 if ((res = mp_copy (&y, &t1)) != MP_OKAY) { in mp_div()
1988 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in s_mp_exptmod()
3133 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast()