Searched refs:MP_NO (Results 1 – 16 of 16) sorted by relevance
24 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()
25 return MP_NO; in mp_reduce_is_2k()36 return MP_NO; in mp_reduce_is_2k()
31 *result = MP_NO; in mp_prime_is_prime()69 if (res == MP_NO) { in mp_prime_is_prime()
49 *ret = MP_NO; in mp_is_square()101 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO; in mp_is_square()
94 if (res == MP_NO) { in mp_prime_random_ex()106 } while (res == MP_NO); in mp_prime_random_ex()
148 #define MP_NO 0 /* no response */ macro221 #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)
29 *result = MP_NO; in mp_prime_is_divisible()
32 *result = MP_NO; in mp_prime_fermat()
60 while (mp_iszero (&t) == MP_NO) { in mp_radix_size()
31 *result = MP_NO; in mp_prime_miller_rabin()
150 if (res == MP_NO) { in mp_prime_next_prime()
39 while (mp_iszero(&v3) == MP_NO) { in mp_exteuclid()
2981 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 …]
42 #define MP_NO -1 /* no (boolean result) */ macro
72 #define MP_NO 0 /* no response */ macro99 #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)
95 #define MP_NO 0 /* no response */ macro122 #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)