Lines Matching refs:mp_mul
2480 if ((res = mp_mul (c, &g, c)) != MP_OKAY) { in mp_expt_d()
2802 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) { in mp_exptmod_fast()
2871 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in mp_exptmod_fast()
2900 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) { in mp_exptmod_fast()
2986 if ((err = mp_mul(&v1, &q, &tmp)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
2988 if ((err = mp_mul(&v2, &q, &tmp)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
2990 if ((err = mp_mul(&v3, &q, &tmp)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
4214 if (mp_mul (&x0, &y0, &x0y0) != MP_OKAY) in mp_karatsuba_mul()
4216 if (mp_mul (&x1, &y1, &x1y1) != MP_OKAY) in mp_karatsuba_mul()
4224 if (mp_mul (&t1, &x0, &t1) != MP_OKAY) in mp_karatsuba_mul()
4430 res = mp_mul(b, &t2, c); in mp_lcm()
4436 res = mp_mul(a, &t2, c); in mp_lcm()
4934 int mp_mul (mp_int * a, mp_int * b, mp_int * c) in mp_mul() function
5271 if ((res = mp_mul (a, b, &t)) != MP_OKAY) { in mp_mulmod()
5359 if ((res = mp_mul (&t3, &t1, &t2)) != MP_OKAY) { in mp_n_root()
6593 if ((res = mp_mul (&q, mu, &q)) != MP_OKAY) { in mp_reduce()
6764 if ((res = mp_mul(&q, d, &q)) != MP_OKAY) { in mp_reduce_2k_l()
7893 if ((res = mp_mul(&a0, &b0, &w0)) != MP_OKAY) { in mp_toom_mul()
7898 if ((res = mp_mul(&a2, &b2, &w4)) != MP_OKAY) { in mp_toom_mul()
7929 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul()
7960 if ((res = mp_mul(&tmp1, &tmp2, &w3)) != MP_OKAY) { in mp_toom_mul()
7978 if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) { in mp_toom_mul()
8981 if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) { in s_mp_exptmod()
9056 if ((err = mp_mul (&res, &M[bitbuf], &res)) != MP_OKAY) { in s_mp_exptmod()
9084 if ((err = mp_mul (&res, &M[1], &res)) != MP_OKAY) { in s_mp_exptmod()