Home
last modified time | relevance | path

Searched refs:mp_div_2d (Results 1 – 19 of 19) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_gcd.c51 if ((res = mp_div_2d(&u, k, &u, NULL)) != MP_OKAY) { in mp_gcd()
55 if ((res = mp_div_2d(&v, k, &v, NULL)) != MP_OKAY) { in mp_gcd()
62 if ((res = mp_div_2d(&u, u_lsb - k, &u, NULL)) != MP_OKAY) { in mp_gcd()
68 if ((res = mp_div_2d(&v, v_lsb - k, &v, NULL)) != MP_OKAY) { in mp_gcd()
86 if ((res = mp_div_2d(&v, mp_cnt_lsb(&v), &v, NULL)) != MP_OKAY) { in mp_gcd()
Dbn_mp_div.c66 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) || in mp_div()
67 ((res = mp_div_2d(&tq, 1, &tq, NULL)) != MP_OKAY)) { in mp_div()
272 if ((res = mp_div_2d (&x, norm, &x, NULL)) != MP_OKAY) { in mp_div()
Dbn_mp_to_unsigned_bin.c35 if ((res = mp_div_2d (&t, 8, &t, NULL)) != MP_OKAY) { in mp_to_unsigned_bin()
Dbn_mp_reduce_2k_l.c34 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k_l()
Dbn_mp_reduce_2k.c31 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k()
Dbn_mp_jacobi.c58 if ((res = mp_div_2d(&a1, k, &a1, NULL)) != MP_OKAY) { in mp_jacobi()
Dbn_mp_prime_miller_rabin.c57 if ((err = mp_div_2d (&r, s, &r, NULL)) != MP_OKAY) { in mp_prime_miller_rabin()
Dbn_mp_div_2d.c19 int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d() function
Dbn_mp_div_d.c61 return mp_div_2d(a, ix, c, NULL); in mp_div_d()
Dtommath.h261 int mp_div_2d(mp_int *a, int b, mp_int *c, mp_int *d);
Dchanges.txt166 -- Optimized mp_gcd() by removing mp_div_2d calls for when one of the inputs
274 -- Sped up mp_mul_2d/mp_div_2d by aliasing pointers :-)
Dbn.tex1057 int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d);
/external/wpa_supplicant/
Dlibtommath.c122 static int mp_div_2d(mp_int * a, int b, mp_int * c, mp_int * d);
949 if ((res = mp_div_2d (&t, 8, &t, NULL)) != MP_OKAY) { in mp_to_unsigned_bin()
961 static int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d() function
1581 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) || in mp_div()
1582 ((res = mp_div_2d(&tq, 1, &tq, NULL)) != MP_OKAY)) { in mp_div()
1891 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k_l()
/external/dropbear/libtommath/pre_gen/
Dmpi.c1621 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) || in mp_div()
1622 ((res = mp_div_2d(&tq, 1, &tq, NULL)) != MP_OKAY)) { in mp_div()
1827 mp_div_2d (&x, norm, &x, NULL); in mp_div()
1942 int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d() function
2168 return mp_div_2d(a, ix, c, NULL); in mp_div_d()
3206 if ((res = mp_div_2d(&u, k, &u, NULL)) != MP_OKAY) { in mp_gcd()
3210 if ((res = mp_div_2d(&v, k, &v, NULL)) != MP_OKAY) { in mp_gcd()
3217 if ((res = mp_div_2d(&u, u_lsb - k, &u, NULL)) != MP_OKAY) { in mp_gcd()
3223 if ((res = mp_div_2d(&v, v_lsb - k, &v, NULL)) != MP_OKAY) { in mp_gcd()
3241 if ((res = mp_div_2d(&v, mp_cnt_lsb(&v), &v, NULL)) != MP_OKAY) { in mp_gcd()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c149 static int mp_div_2d(mp_int * a, int b, mp_int * c, mp_int * d);
997 if ((res = mp_div_2d (&t, 8, &t, NULL)) != MP_OKAY) { in mp_to_unsigned_bin()
1009 static int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d() function
1639 if (((res = mp_div_2d(&tb, 1, &tb, NULL)) != MP_OKAY) || in mp_div()
1640 ((res = mp_div_2d(&tq, 1, &tq, NULL)) != MP_OKAY)) { in mp_div()
1845 mp_div_2d (&x, norm, &x, NULL); in mp_div()
2149 if ((res = mp_div_2d(a, p, &q, a)) != MP_OKAY) { in mp_reduce_2k_l()
/external/dropbear/libtommath/mtest/
Dmtest.c196 mp_div_2d(&b, n, &b, NULL); in main()
Dmpi.h134 mp_err mp_div_2d(mp_int *a, mp_digit d, mp_int *q, mp_int *r);
Dmpi.c1227 mp_err mp_div_2d(mp_int *a, mp_digit d, mp_int *q, mp_int *r) in mp_div_2d() function
/external/dropbear/libtommath/demo/
Ddemo.c461 mp_div_2d(&a, rr, &a, &e); in main()