Searched refs:MP_YES (Results 1 - 19 of 19) sorted by relevance

/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_reduce_is_2k.c27 return MP_YES;
45 return MP_YES;
H A Dbn_mp_reduce_is_2k_l.c26 return MP_YES;
34 return (iy >= (a->used/2)) ? MP_YES : MP_NO;
H A Dbn_mp_neg.c28 if (mp_iszero(b) != MP_YES) {
H A Dbn_mp_prime_is_divisible.c39 *result = MP_YES;
H A Dbn_mp_prime_is_prime.c52 if (res == MP_YES) {
75 *result = MP_YES;
H A Dbn_mp_prime_fermat.c51 *result = MP_YES;
H A Dbn_mp_radix_size.c38 if (mp_iszero(a) == MP_YES) {
H A Dbn_mp_toradix_n.c35 if (mp_iszero(a) == MP_YES) {
H A Dbn_mp_gcd.c25 if (mp_iszero (a) == MP_YES) {
28 if (mp_iszero (b) == MP_YES) {
H A Dbn_mp_exptmod.c70 if (mp_reduce_is_2k_l(P) == MP_YES) {
H A Dbn_mp_is_square.c101 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO;
H A Dbn_mp_prime_miller_rabin.c93 *result = MP_YES;
H A Dbn_mp_sqrt.c30 if (mp_iszero(arg) == MP_YES) {
H A Dbn_mp_prime_next_prime.c155 if (res == MP_YES) {
H A Dtommath.h147 #define MP_YES 1 /* yes 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)
H A Dbn_mp_div.c77 c->sign = (mp_iszero(c) == MP_YES) ? MP_ZPOS : n2;
81 d->sign = (mp_iszero(d) == MP_YES) ? MP_ZPOS : n;
/barrelfish-2018-10-04/lib/tommath/pre_gen/
H A Dmpi.c1632 c->sign = (mp_iszero(c) == MP_YES) ? MP_ZPOS : n2;
1636 d->sign = (mp_iszero(d) == MP_YES) ? MP_ZPOS : n;
2576 if (mp_reduce_is_2k_l(P) == MP_YES) {
3185 if (mp_iszero (a) == MP_YES) {
3188 if (mp_iszero (b) == MP_YES) {
3978 *ret = (mp_cmp_mag(&t,arg) == MP_EQ) ? MP_YES : MP_NO;
5456 if (mp_iszero(b) != MP_YES) {
5577 *result = MP_YES;
5631 *result = MP_YES;
5698 if (res == MP_YES) {
[all...]
/barrelfish-2018-10-04/lib/tommath/mtest/
H A Dmpi.h41 #define MP_YES 0 /* yes (boolean result) */ macro
/barrelfish-2018-10-04/lib/tommath/demo/
H A Ddemo.c213 if (cnt != MP_YES) {

Completed in 159 milliseconds