Home
last modified time | relevance | path

Searched refs:mp_isodd (Results 1 – 14 of 14) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_invmod_slow.c67 if (mp_isodd (&A) == 1 || mp_isodd (&B) == 1) { in mp_invmod_slow()
92 if (mp_isodd (&C) == 1 || mp_isodd (&D) == 1) { in mp_invmod_slow()
Dbn_fast_mp_invmod.c66 if (mp_isodd (&B) == 1) { in fast_mp_invmod()
84 if (mp_isodd (&D) == 1) { in fast_mp_invmod()
Dbn_mp_invmod.c28 if (mp_isodd (b) == 1) { in mp_invmod()
Dbn_mp_exptmod.c92 if (mp_isodd (P) == 1 || dr != 0) { in mp_exptmod()
Dtommath.h223 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO) macro
/external/wpa_supplicant/
Dlibtommath.c101 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO) macro
607 if (mp_isodd (P) == 1 || dr != 0) { in mp_exptmod()
681 if (mp_isodd (b) == 1) { in mp_invmod()
756 if (mp_isodd (&A) == 1 || mp_isodd (&B) == 1) { in mp_invmod_slow()
781 if (mp_isodd (&C) == 1 || mp_isodd (&D) == 1) { in mp_invmod_slow()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c124 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO) macro
651 if (mp_isodd (P) == 1 || dr != 0) { in mp_exptmod()
726 if (mp_isodd (b) == 1) { in mp_invmod()
803 if (mp_isodd (&A) == 1 || mp_isodd (&B) == 1) { in mp_invmod_slow()
828 if (mp_isodd (&C) == 1 || mp_isodd (&D) == 1) { in mp_invmod_slow()
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c124 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO) macro
651 if (mp_isodd (P) == 1 || dr != 0) { in mp_exptmod()
726 if (mp_isodd (b) == 1) { in mp_invmod()
803 if (mp_isodd (&A) == 1 || mp_isodd (&B) == 1) { in mp_invmod_slow()
828 if (mp_isodd (&C) == 1 || mp_isodd (&D) == 1) { in mp_invmod_slow()
/external/dropbear/libtomcrypt/src/pk/ecc/
Dltc_ecc_projective_dbl_point.c102 if (mp_isodd(t2)) { in ltc_ecc_projective_dbl_point()
Dltc_ecc_projective_add_point.c176 if (mp_isodd(y)) { in ltc_ecc_projective_add_point()
/external/dropbear/libtommath/mtest/
Dmpi.h165 int mp_isodd(mp_int *a);
Dmpi.c1887 int mp_isodd(mp_int *a) in mp_isodd() function
1901 return !mp_isodd(a); in mp_iseven()
1953 if(mp_isodd(&u)) { in mp_gcd()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h497 #define mp_isodd(a) (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_… macro
/external/dropbear/libtommath/pre_gen/
Dmpi.c118 if (mp_isodd (&B) == 1) { in fast_mp_invmod()
136 if (mp_isodd (&D) == 1) { in fast_mp_invmod()
2593 if (mp_isodd (P) == 1 || dr != 0) { in mp_exptmod()
3674 if (mp_isodd (b) == 1) { in mp_invmod()
3760 if (mp_isodd (&A) == 1 || mp_isodd (&B) == 1) { in mp_invmod_slow()
3785 if (mp_isodd (&C) == 1 || mp_isodd (&D) == 1) { in mp_invmod_slow()