Home
last modified time | relevance | path

Searched refs:mp_div_2 (Results 1 – 24 of 24) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_invmod_slow.c63 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { in mp_invmod_slow()
77 if ((res = mp_div_2 (&A, &A)) != MP_OKAY) { in mp_invmod_slow()
80 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) { in mp_invmod_slow()
88 if ((res = mp_div_2 (&v, &v)) != MP_OKAY) { in mp_invmod_slow()
102 if ((res = mp_div_2 (&C, &C)) != MP_OKAY) { in mp_invmod_slow()
105 if ((res = mp_div_2 (&D, &D)) != MP_OKAY) { in mp_invmod_slow()
Dbn_fast_mp_invmod.c62 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { in fast_mp_invmod()
72 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) { in fast_mp_invmod()
80 if ((res = mp_div_2 (&v, &v)) != MP_OKAY) { in fast_mp_invmod()
91 if ((res = mp_div_2 (&D, &D)) != MP_OKAY) { in fast_mp_invmod()
Dbn_mp_sqrt.c53 if ((res = mp_div_2(&t1,&t1)) != MP_OKAY) { in mp_sqrt()
64 if ((res = mp_div_2(&t1,&t1)) != MP_OKAY) { in mp_sqrt()
Dbn_mp_toom_sqr.c127 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { in mp_toom_sqr()
131 if ((res = mp_div_2(&w3, &w3)) != MP_OKAY) { in mp_toom_sqr()
Dbn_mp_div_2.c19 int mp_div_2(mp_int * a, mp_int * b) in mp_div_2() function
Dbn_mp_prime_random_ex.c101 if ((err = mp_div_2(a, a)) != MP_OKAY) { goto error; } in mp_prime_random_ex()
Dbn_mp_toom_mul.c183 if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) { in mp_toom_mul()
187 if ((res = mp_div_2(&w3, &w3)) != MP_OKAY) { in mp_toom_mul()
Dtommath.h264 int mp_div_2(mp_int *a, mp_int *b);
Dbn.tex984 int mp_div_2(mp_int * a, mp_int * b);
/external/dropbear/libtommath/etc/
D2kprime.c49 mp_div_2(&p, &p); in main()
Ddrprime.c38 mp_div_2(&b, &b); in main()
Dpprime.c343 mp_div_2 (q, q); in pprime()
/external/dropbear/libtommath/pre_gen/
Dmpi.c114 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { in fast_mp_invmod()
124 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) { in fast_mp_invmod()
132 if ((res = mp_div_2 (&v, &v)) != MP_OKAY) { in fast_mp_invmod()
143 if ((res = mp_div_2 (&D, &D)) != MP_OKAY) { in fast_mp_invmod()
1870 int mp_div_2(mp_int * a, mp_int * b) in mp_div_2() function
3756 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { in mp_invmod_slow()
3770 if ((res = mp_div_2 (&A, &A)) != MP_OKAY) { in mp_invmod_slow()
3773 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) { in mp_invmod_slow()
3781 if ((res = mp_div_2 (&v, &v)) != MP_OKAY) { in mp_invmod_slow()
3795 if ((res = mp_div_2 (&C, &C)) != MP_OKAY) { in mp_invmod_slow()
[all …]
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c161 static int mp_div_2(mp_int * a, mp_int * b);
807 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { in mp_invmod_slow()
821 if ((res = mp_div_2 (&A, &A)) != MP_OKAY) { in mp_invmod_slow()
824 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) { in mp_invmod_slow()
832 if ((res = mp_div_2 (&v, &v)) != MP_OKAY) { in mp_invmod_slow()
846 if ((res = mp_div_2 (&C, &C)) != MP_OKAY) { in mp_invmod_slow()
849 if ((res = mp_div_2 (&D, &D)) != MP_OKAY) { in mp_invmod_slow()
1327 static int mp_div_2(mp_int * a, mp_int * b) in mp_div_2() function
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c153 static int mp_div_2(mp_int * a, mp_int * b);
799 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { in mp_invmod_slow()
813 if ((res = mp_div_2 (&A, &A)) != MP_OKAY) { in mp_invmod_slow()
816 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) { in mp_invmod_slow()
824 if ((res = mp_div_2 (&v, &v)) != MP_OKAY) { in mp_invmod_slow()
838 if ((res = mp_div_2 (&C, &C)) != MP_OKAY) { in mp_invmod_slow()
841 if ((res = mp_div_2 (&D, &D)) != MP_OKAY) { in mp_invmod_slow()
1319 static int mp_div_2(mp_int * a, mp_int * b) in mp_div_2() function
/external/dropbear/libtomcrypt/src/pk/ecc/
Dltc_ecc_projective_dbl_point.c105 if ((err = mp_div_2(t2, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
Dltc_ecc_projective_add_point.c179 if ((err = mp_div_2(y, y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
/external/dropbear/libtommath/mtest/
Dmtest.c268 mp_div_2(&a, &b); in main()
Dmpi.h112 mp_err mp_div_2(mp_int *a, mp_int *c);
Dmpi.c739 mp_err mp_div_2(mp_int *a, mp_int *c) in mp_div_2() function
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h478 #define mp_div_2(a, b) ltc_mp.div_2(a, b) macro
/external/dropbear/libtommath/demo/
Ddemo.c212 mp_div_2(&a, &a); in main()
677 mp_div_2(&a, &c); in main()
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c274 return mpi_to_ltc_error(mp_div_2(a, b)); in div_2()
/external/dropbear/
Dcommon-kex.c496 if (mp_div_2(dh_priv, &dh_q) != MP_OKAY) { in gen_kexdh_vals()