Home
last modified time | relevance | path

Searched refs:MP_NO (Results 1 – 16 of 16) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_reduce_is_2k_l.c24 return MP_NO; in mp_reduce_is_2k_l()
34 return (iy >= (a->used/2)) ? MP_YES : MP_NO; in mp_reduce_is_2k_l()
37 return MP_NO; in mp_reduce_is_2k_l()
Dbn_mp_reduce_is_2k.c25 return MP_NO; in mp_reduce_is_2k()
36 return MP_NO; in mp_reduce_is_2k()
Dbn_mp_prime_is_prime.c31 *result = MP_NO; in mp_prime_is_prime()
69 if (res == MP_NO) { in mp_prime_is_prime()
Dbn_mp_is_square.c49 *ret = MP_NO; in mp_is_square()
101 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO; in mp_is_square()
Dbn_mp_prime_random_ex.c94 if (res == MP_NO) { in mp_prime_random_ex()
106 } while (res == MP_NO); in mp_prime_random_ex()
Dtommath.h148 #define MP_NO 0 /* no response */ macro
221 #define mp_iszero(a) (((a)->used == 0) ? MP_YES : MP_NO)
222 #define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO)
223 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO)
Dbn_mp_prime_is_divisible.c29 *result = MP_NO; in mp_prime_is_divisible()
Dbn_mp_prime_fermat.c32 *result = MP_NO; in mp_prime_fermat()
Dbn_mp_radix_size.c60 while (mp_iszero (&t) == MP_NO) { in mp_radix_size()
Dbn_mp_prime_miller_rabin.c31 *result = MP_NO; in mp_prime_miller_rabin()
Dbn_mp_prime_next_prime.c150 if (res == MP_NO) { in mp_prime_next_prime()
Dbn_mp_exteuclid.c39 while (mp_iszero(&v3) == MP_NO) { in mp_exteuclid()
/external/dropbear/libtommath/pre_gen/
Dmpi.c2981 while (mp_iszero(&v3) == MP_NO) { in mp_exteuclid()
3921 *ret = MP_NO; in mp_is_square()
3973 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO; in mp_is_square()
5553 *result = MP_NO; in mp_prime_fermat()
5616 *result = MP_NO; in mp_prime_is_divisible()
5672 *result = MP_NO; in mp_prime_is_prime()
5710 if (res == MP_NO) { in mp_prime_is_prime()
5759 *result = MP_NO; in mp_prime_miller_rabin()
5985 if (res == MP_NO) { in mp_prime_next_prime()
6159 if (res == MP_NO) { in mp_prime_random_ex()
[all …]
/external/dropbear/libtommath/mtest/
Dmpi.h42 #define MP_NO -1 /* no (boolean result) */ macro
/external/wpa_supplicant/
Dlibtommath.c72 #define MP_NO 0 /* no response */ macro
99 #define mp_iszero(a) (((a)->used == 0) ? MP_YES : MP_NO)
100 #define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO)
101 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO)
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dlibtommath.c95 #define MP_NO 0 /* no response */ macro
122 #define mp_iszero(a) (((a)->used == 0) ? MP_YES : MP_NO)
123 #define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO)
124 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO)