Searched refs:LTC_MP_YES (Results 1 – 14 of 14) sorted by relevance
42 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_encode_integer()77 } else if (mp_iszero(num) != LTC_MP_YES) { in der_encode_integer()
30 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_length_integer()
63 if (mp_iszero(vdata) != LTC_MP_YES) { in ssh_encode_sequence_multi()124 if (mp_iszero(vdata) == LTC_MP_YES) { in ssh_encode_sequence_multi()
77 …if (mp_iszero(r) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()88 …if (mp_iszero(s) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
132 if (res == LTC_MP_YES) found_q = 1; in s_dsa_make_params()159 if (res == LTC_MP_YES) { in s_dsa_make_params()
70 if (mp_iszero(tmp2) != LTC_MP_YES) { in dsa_int_validate_pqg()
11 #define LTC_MP_YES 1 macro
224 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO)225 … (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_YES : LTC_MP_NO) : L…
161 C_STRINGIFY(LTC_MP_YES),
93 if (mp_iszero(r) == LTC_MP_YES) { in ecc_sign_hash_ex()
456 *c = res ? LTC_MP_YES : LTC_MP_NO; in isprime()
558 *c = mpz_probab_prime_p(a, b) > 0 ? LTC_MP_YES : LTC_MP_NO; in isprime()
417 *c = (fp_isprime_ex(a, b) == FP_YES) ? LTC_MP_YES : LTC_MP_NO; in isprime()
615 *c = LTC_MP_YES; in isprime()
Completed in 14 milliseconds