/external/dropbear/libtommath/ |
D | bn_mp_prime_miller_rabin.c | 70 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()
|
D | bn_mp_jacobi.c | 39 if (mp_cmp_d (a, 1) == MP_EQ) { in mp_jacobi() 82 if (mp_cmp_d (&a1, 1) == MP_EQ) { in mp_jacobi()
|
D | bn_mp_cmp_d.c | 37 return MP_EQ; in mp_cmp_d()
|
D | bn_mp_prime_fermat.c | 50 if (mp_cmp (&t, b) == MP_EQ) { in mp_prime_fermat()
|
D | bn_mp_cmp_mag.c | 49 return MP_EQ; in mp_cmp_mag()
|
D | bn_mp_fread.c | 56 if (mp_cmp_d(a, 0) != MP_EQ) { in mp_fread()
|
D | bn_mp_prime_is_prime.c | 40 if (mp_cmp_d(a, ltm_prime_tab[ix]) == MP_EQ) { in mp_prime_is_prime()
|
D | bn_mp_is_square.c | 101 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO; in mp_is_square()
|
D | bn_mp_n_root.c | 95 } while (mp_cmp (&t1, &t2) != MP_EQ); in mp_n_root()
|
D | bn_fast_mp_invmod.c | 125 if (mp_cmp_d (&v, 1) != MP_EQ) { in fast_mp_invmod()
|
D | bn_mp_prime_next_prime.c | 65 if (mp_cmp_d(a, 1) == MP_EQ) { in mp_prime_next_prime()
|
D | bn_mp_invmod_slow.c | 146 if (mp_cmp_d (&v, 1) != MP_EQ) { in mp_invmod_slow()
|
/external/dropbear/libtommath/demo/ |
D | demo.c | 94 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 …]
|
D | timing.c | 292 } 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/ |
D | pprime.c | 260 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()
|
D | mont.c | 32 if (mp_cmp(&pp, &p) != MP_EQ) { in main()
|
/external/dropbear/libtommath/mtest/ |
D | mpi.c | 86 #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 …]
|
D | mpi.h | 18 #define MP_EQ 0 macro
|
/external/dropbear/ |
D | genrsa.c | 129 } while (mp_cmp_d(&temp_gcd, 1) != MP_EQ); /* while gcd(p-1, e) != 1 */ in getrsaprime()
|
D | rsa.c | 257 if (mp_cmp(&rsa_em, &rsa_mdash) == MP_EQ) { in buf_rsa_verify()
|
D | dss.c | 247 if (mp_cmp(&val2, &val1) == MP_EQ) { in buf_dss_verify()
|
/external/dropbear/libtomcrypt/src/math/ |
D | ltm_desc.c | 127 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/ |
D | mpi.c | 177 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/ |
D | libtommath.c | 84 #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/ |
D | libtommath.c | 84 #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()
|