Lines Matching refs:mp_copy
170 static int mp_copy(mp_int * a, mp_int * b);
791 if ((res = mp_copy (b, &y)) != MP_OKAY) { in mp_invmod_slow()
802 if ((res = mp_copy (&x, &u)) != MP_OKAY) { in mp_invmod_slow()
805 if ((res = mp_copy (&y, &v)) != MP_OKAY) { in mp_invmod_slow()
1034 res = mp_copy (a, c); in mp_div_2d()
1054 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_div_2d()
1108 return mp_copy (b, a); in mp_init_copy()
1129 static int mp_copy (mp_int * a, mp_int * b) in mp_copy() function
1311 if ((res = mp_copy (a, b)) != MP_OKAY) { in mp_abs()
1391 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mul_2d()
1585 res = mp_copy (a, c); in mp_mod_2d()
1590 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mod_2d()
1622 res = mp_copy (a, d); in mp_div()
1704 res = mp_copy (a, d); in mp_div()
1832 if ((res = mp_copy (&y, &t1)) != MP_OKAY) { in mp_div()
1963 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in s_mp_exptmod()
3097 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast()