Home
last modified time | relevance | path

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

/external/dropbear/libtommath/
Dbn_mp_cmp.c34 return mp_cmp_mag(b, a); in mp_cmp()
36 return mp_cmp_mag(a, b); in mp_cmp()
Dbn_mp_div.c32 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
114 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
227 } while (mp_cmp_mag(&t1, &t2) == MP_GT); in mp_div()
Dbn_mp_cmp_mag.c19 int mp_cmp_mag (mp_int * a, mp_int * b) in mp_cmp_mag() function
Dbn_mp_add.c38 if (mp_cmp_mag (a, b) == MP_LT) { in mp_add()
Dbn_mp_sub.c39 if (mp_cmp_mag (a, b) != MP_LT) { in mp_sub()
Dbn_mp_montgomery_calc_normalization.c46 if (mp_cmp_mag (a, b) != MP_LT) { in mp_montgomery_calc_normalization()
Dbn_mp_reduce_2k.c47 if (mp_cmp_mag(a, n) != MP_LT) { in mp_reduce_2k()
Dbn_mp_reduce_2k_l.c48 if (mp_cmp_mag(a, n) != MP_LT) { in mp_reduce_2k_l()
Dbn_mp_lcm.c35 if (mp_cmp_mag(a, b) == MP_LT) { in mp_lcm()
Dbn_mp_dr_reduce.c84 if (mp_cmp_mag (x, n) != MP_LT) { in mp_dr_reduce()
Dbn_mp_is_square.c101 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO; in mp_is_square()
Dbn_mp_sqrt.c68 } while (mp_cmp_mag(&t1,&t2) == MP_GT); in mp_sqrt()
Dbn_mp_montgomery_reduce.c108 if (mp_cmp_mag (x, n) != MP_LT) { in mp_montgomery_reduce()
Dbn_mp_gcd.c75 if (mp_cmp_mag(&u, &v) == MP_GT) { in mp_gcd()
Dbn_fast_mp_montgomery_reduce.c163 if (mp_cmp_mag (x, n) != MP_LT) { in fast_mp_montgomery_reduce()
Dbn_mp_invmod_slow.c159 while (mp_cmp_mag(&C, b) != MP_LT) { in mp_invmod_slow()
Dtommath.h308 int mp_cmp_mag(mp_int *a, mp_int *b);
Dchanges.txt241 -- removed call to mp_cmp in inner loop of mp_div and put mp_cmp_mag in its place :-)
385 -- Added mp_cmp_mag, mp_neg, mp_abs and mp_radix_size that were missing.
Dbn.tex815 int mp_cmp_mag(mp_int * a, mp_int * b);
843 switch(mp_cmp_mag(&number1, &number2)) \{
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c162 static int mp_cmp_mag(mp_int * a, mp_int * b);
430 if (mp_cmp_mag (a, b) == MP_LT) { in mp_add()
462 if (mp_cmp_mag (a, b) != MP_LT) { in mp_sub()
684 return mp_cmp_mag(b, a); in mp_cmp()
686 return mp_cmp_mag(a, b); in mp_cmp()
895 while (mp_cmp_mag(&C, b) != MP_LT) { in mp_invmod_slow()
911 static int mp_cmp_mag (mp_int * a, mp_int * b) in mp_cmp_mag() function
1605 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
1687 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
1800 } while (mp_cmp_mag(&t1, &t2) == MP_GT); in mp_div()
[all …]
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c162 static int mp_cmp_mag(mp_int * a, mp_int * b);
430 if (mp_cmp_mag (a, b) == MP_LT) { in mp_add()
462 if (mp_cmp_mag (a, b) != MP_LT) { in mp_sub()
684 return mp_cmp_mag(b, a); in mp_cmp()
686 return mp_cmp_mag(a, b); in mp_cmp()
895 while (mp_cmp_mag(&C, b) != MP_LT) { in mp_invmod_slow()
911 static int mp_cmp_mag (mp_int * a, mp_int * b) in mp_cmp_mag() function
1605 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
1687 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
1800 } while (mp_cmp_mag(&t1, &t2) == MP_GT); in mp_div()
[all …]
/external/dropbear/libtommath/pre_gen/
Dmpi.c367 if (mp_cmp_mag (x, n) != MP_LT) { in fast_mp_montgomery_reduce()
848 if (mp_cmp_mag (a, b) == MP_LT) { in mp_add()
1257 return mp_cmp_mag(b, a); in mp_cmp()
1259 return mp_cmp_mag(a, b); in mp_cmp()
1337 int mp_cmp_mag (mp_int * a, mp_int * b) in mp_cmp_mag() function
1587 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
1669 if (mp_cmp_mag (a, b) == MP_LT) { in mp_div()
1782 } while (mp_cmp_mag(&t1, &t2) == MP_GT); in mp_div()
2352 if (mp_cmp_mag (x, n) != MP_LT) { in mp_dr_reduce()
3230 if (mp_cmp_mag(&u, &v) == MP_GT) { in mp_gcd()
[all …]
/external/dropbear/libtommath/mtest/
Dmpi.h163 int mp_cmp_mag(mp_int *a, mp_int *b);
Dmpi.c1845 int mp_cmp_mag(mp_int *a, mp_int *b) in mp_cmp_mag() function
/external/dropbear/libtommath/demo/
Ddemo.c138 if (mp_cmp_mag(&b, &a) != MP_EQ) { in main()
509 if (mp_cmp_mag(&c, &d) != MP_EQ) { in main()