Home
last modified time | relevance | path

Searched refs:MP_EQ (Results 1 – 25 of 27) sorted by relevance

12

/external/dropbear/libtommath/
Dbn_mp_prime_miller_rabin.c70 if (mp_cmp_d (&y, 1) != MP_EQ && mp_cmp (&y, &n1) != MP_EQ) { in mp_prime_miller_rabin()
73 while ((j <= (s - 1)) && mp_cmp (&y, &n1) != MP_EQ) { in mp_prime_miller_rabin()
79 if (mp_cmp_d (&y, 1) == MP_EQ) { in mp_prime_miller_rabin()
87 if (mp_cmp (&y, &n1) != MP_EQ) { in mp_prime_miller_rabin()
Dbn_mp_jacobi.c39 if (mp_cmp_d (a, 1) == MP_EQ) { in mp_jacobi()
82 if (mp_cmp_d (&a1, 1) == MP_EQ) { in mp_jacobi()
Dbn_mp_cmp_d.c37 return MP_EQ; in mp_cmp_d()
Dbn_mp_prime_fermat.c50 if (mp_cmp (&t, b) == MP_EQ) { in mp_prime_fermat()
Dbn_mp_cmp_mag.c49 return MP_EQ; in mp_cmp_mag()
Dbn_mp_fread.c56 if (mp_cmp_d(a, 0) != MP_EQ) { in mp_fread()
Dbn_mp_prime_is_prime.c40 if (mp_cmp_d(a, ltm_prime_tab[ix]) == MP_EQ) { in mp_prime_is_prime()
Dbn_mp_is_square.c101 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO; in mp_is_square()
Dbn_mp_n_root.c95 } while (mp_cmp (&t1, &t2) != MP_EQ); in mp_n_root()
Dbn_fast_mp_invmod.c125 if (mp_cmp_d (&v, 1) != MP_EQ) { in fast_mp_invmod()
Dbn_mp_prime_next_prime.c65 if (mp_cmp_d(a, 1) == MP_EQ) { in mp_prime_next_prime()
Dbn_mp_invmod_slow.c146 if (mp_cmp_d (&v, 1) != MP_EQ) { in mp_invmod_slow()
/external/dropbear/libtommath/demo/
Ddemo.c94 if (mp_cmp(&c, &d) != MP_EQ) { in main()
138 if (mp_cmp_mag(&b, &a) != MP_EQ) { in main()
327 if (mp_cmp(&b, &c) != MP_EQ) { in main()
375 if (mp_cmp(&b, &c) != MP_EQ) { in main()
446 if (mp_cmp(&a, &b) != MP_EQ) { in main()
466 if (mp_cmp(&a, &b) != MP_EQ) { in main()
482 if (mp_cmp(&c, &d) != MP_EQ) { in main()
497 if (mp_cmp(&c, &d) != MP_EQ) { in main()
509 if (mp_cmp_mag(&c, &d) != MP_EQ) { in main()
526 if (mp_cmp(&c, &d) != MP_EQ) { in main()
[all …]
Dtiming.c292 } while (mp_cmp_d(&c, 1) != MP_EQ); in main()
304 if (mp_cmp_d(&d, 1) != MP_EQ) { in main()
/external/dropbear/libtommath/etc/
Dpprime.c260 if (mp_cmp_d (&y, 1) != MP_EQ) in pprime()
273 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime()
281 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime()
290 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime()
298 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime()
307 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime()
316 if (mp_cmp_d (&y, 1) != MP_EQ) in pprime()
Dmont.c32 if (mp_cmp(&pp, &p) != MP_EQ) { in main()
/external/dropbear/libtommath/mtest/
Dmpi.c86 #define MP_EQ 0 macro
706 if(s_mp_cmp_d(q, 0) == MP_EQ) in mp_div_d()
844 if(s_mp_cmp_d(b, 0) == MP_EQ) in mp_neg()
1070 if(sgn == MP_ZPOS || s_mp_cmp_d(c, 0) == MP_EQ) in mp_mul()
1151 if(mp_cmp_z(b) == MP_EQ) in mp_div()
1203 if(s_mp_cmp_d(&qtmp, 0) == MP_EQ) in mp_div()
1205 if(s_mp_cmp_d(&rtmp, 0) == MP_EQ) in mp_div()
1467 if(mp_cmp_d(a, 0) == MP_EQ || mp_cmp_d(a, 1) == MP_EQ) in mp_sqrt()
1495 if(mp_cmp_z(&t) == MP_EQ) in mp_sqrt()
1781 return MP_EQ; in mp_cmp_z()
[all …]
Dmpi.h18 #define MP_EQ 0 macro
/external/dropbear/
Dgenrsa.c129 } while (mp_cmp_d(&temp_gcd, 1) != MP_EQ); /* while gcd(p-1, e) != 1 */ in getrsaprime()
Drsa.c257 if (mp_cmp(&rsa_em, &rsa_mdash) == MP_EQ) { in buf_rsa_verify()
Ddss.c247 if (mp_cmp(&val2, &val1) == MP_EQ) { in buf_dss_verify()
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c127 case MP_EQ: return LTC_MP_EQ; in compare()
140 case MP_EQ: return LTC_MP_EQ; in compare_d()
/external/dropbear/libtommath/pre_gen/
Dmpi.c177 if (mp_cmp_d (&v, 1) != MP_EQ) { in fast_mp_invmod()
1307 return MP_EQ; in mp_cmp_d()
1367 return MP_EQ; in mp_cmp_mag()
3084 if (mp_cmp_d(a, 0) != MP_EQ) { in mp_fread()
3839 if (mp_cmp_d (&v, 1) != MP_EQ) { in mp_invmod_slow()
3973 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO; in mp_is_square()
4024 if (mp_cmp_d (a, 1) == MP_EQ) { in mp_jacobi()
4067 if (mp_cmp_d (&a1, 1) == MP_EQ) { in mp_jacobi()
5382 } while (mp_cmp (&t1, &t2) != MP_EQ); in mp_n_root()
5571 if (mp_cmp (&t, b) == MP_EQ) { in mp_prime_fermat()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c84 #define MP_EQ 0 /* equal to */ macro
710 return MP_EQ; in mp_cmp_d()
882 if (mp_cmp_d (&v, 1) != MP_EQ) { in mp_invmod_slow()
941 return MP_EQ; in mp_cmp_mag()
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c84 #define MP_EQ 0 /* equal to */ macro
710 return MP_EQ; in mp_cmp_d()
882 if (mp_cmp_d (&v, 1) != MP_EQ) { in mp_invmod_slow()
941 return MP_EQ; in mp_cmp_mag()

12