• Home
  • Raw
  • Download

Lines Matching refs:mp_copy

92   if ((res = mp_copy (b, &x)) != MP_OKAY) {  in fast_mp_invmod()
102 if ((res = mp_copy (&x, &u)) != MP_OKAY) { in fast_mp_invmod()
105 if ((res = mp_copy (&y, &v)) != MP_OKAY) { in fast_mp_invmod()
792 if ((res = mp_copy (a, b)) != MP_OKAY) { in mp_abs()
1454 mp_copy (mp_int * a, mp_int * b) in mp_copy() function
1589 res = mp_copy (a, d); in mp_div()
1671 res = mp_copy (a, d); in mp_div()
1799 if ((res = mp_copy (&y, &t1)) != MP_OKAY) { in mp_div()
1951 res = mp_copy (a, c); in mp_div_2d()
1971 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_div_2d()
2157 return mp_copy(a, c); in mp_div_d()
2787 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast()
2974 if ((err = mp_copy(a, &u3)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
2978 if ((err = mp_copy(b, &v3)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
2994 if ((err = mp_copy(&v1, &u1)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
2995 if ((err = mp_copy(&v2, &u2)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
2996 if ((err = mp_copy(&v3, &u3)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
2999 if ((err = mp_copy(&t1, &v1)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
3000 if ((err = mp_copy(&t2, &v2)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
3001 if ((err = mp_copy(&t3, &v3)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
3450 return mp_copy (b, a); in mp_init_copy()
3732 if ((res = mp_copy (b, &y)) != MP_OKAY) { in mp_invmod_slow()
3743 if ((res = mp_copy (&x, &u)) != MP_OKAY) { in mp_invmod_slow()
3746 if ((res = mp_copy (&y, &v)) != MP_OKAY) { in mp_invmod_slow()
4609 res = mp_copy (a, c); in mp_mod_2d()
4614 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mod_2d()
5097 if ((res = mp_copy (a, c)) != MP_OKAY) { in mp_mul_2d()
5346 if ((res = mp_copy (&t2, &t1)) != MP_OKAY) { in mp_n_root()
5446 if ((res = mp_copy (a, b)) != MP_OKAY) { in mp_neg()
7865 if ((res = mp_copy(a, &a1)) != MP_OKAY) { in mp_toom_mul()
7871 if ((res = mp_copy(a, &a2)) != MP_OKAY) { in mp_toom_mul()
7881 if ((res = mp_copy(b, &b1)) != MP_OKAY) { in mp_toom_mul()
7887 if ((res = mp_copy(b, &b2)) != MP_OKAY) { in mp_toom_mul()
8146 if ((res = mp_copy(a, &a1)) != MP_OKAY) { in mp_toom_sqr()
8152 if ((res = mp_copy(a, &a2)) != MP_OKAY) { in mp_toom_sqr()
8960 if ((err = mp_copy (&M[1], &M[1 << (winsize - 1)])) != MP_OKAY) { in s_mp_exptmod()