Lines Matching refs:mp_copy
162 static int mp_copy(mp_int * a, mp_int * b);
783 if ((res = mp_copy (b, &y)) != MP_OKAY) { in mp_invmod_slow()
794 if ((res = mp_copy (&x, &u)) != MP_OKAY) { in mp_invmod_slow()
797 if ((res = mp_copy (&y, &v)) != MP_OKAY) { in mp_invmod_slow()
1026 res = mp_copy (a, c); in mp_div_2d()
1046 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_div_2d()
1100 return mp_copy (b, a); in mp_init_copy()
1121 static int mp_copy (mp_int * a, mp_int * b) in mp_copy() function
1303 if ((res = mp_copy (a, b)) != MP_OKAY) { in mp_abs()
1383 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mul_2d()
1577 res = mp_copy (a, c); in mp_mod_2d()
1582 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mod_2d()
1614 res = mp_copy (a, d); in mp_div()
1696 res = mp_copy (a, d); in mp_div()
1824 if ((res = mp_copy (&y, &t1)) != MP_OKAY) { in mp_div()
1955 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in s_mp_exptmod()
3090 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast()