Lines Matching refs:mp_sqr
2473 if ((res = mp_sqr (c, c)) != MP_OKAY) { in mp_expt_d()
2792 if ((err = mp_sqr (&M[1 << (winsize - 1)], &M[1 << (winsize - 1)])) != MP_OKAY) { in mp_exptmod_fast()
2845 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast()
2862 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast()
2889 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in mp_exptmod_fast()
3969 if ((res = mp_sqr(&t,&t)) != MP_OKAY) { in mp_is_square()
4343 if (mp_sqr (&x0, &x0x0) != MP_OKAY) in mp_karatsuba_sqr()
4345 if (mp_sqr (&x1, &x1x1) != MP_OKAY) in mp_karatsuba_sqr()
4351 if (mp_sqr (&t1, &t1) != MP_OKAY) in mp_karatsuba_sqr()
7283 mp_sqr (mp_int * a, mp_int * b) in mp_sqr() function
7354 if ((res = mp_sqr (a, &t)) != MP_OKAY) { in mp_sqrmod()
8158 if ((res = mp_sqr(&a0, &w0)) != MP_OKAY) { in mp_toom_sqr()
8163 if ((res = mp_sqr(&a2, &w4)) != MP_OKAY) { in mp_toom_sqr()
8181 if ((res = mp_sqr(&tmp1, &w1)) != MP_OKAY) { in mp_toom_sqr()
8199 if ((res = mp_sqr(&tmp1, &w3)) != MP_OKAY) { in mp_toom_sqr()
8211 if ((res = mp_sqr(&tmp1, &w2)) != MP_OKAY) { in mp_toom_sqr()
8966 if ((err = mp_sqr (&M[1 << (winsize - 1)], in s_mp_exptmod()
9030 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod()
9047 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod()
9074 if ((err = mp_sqr (&res, &res)) != MP_OKAY) { in s_mp_exptmod()