Searched refs:LTC_MP_YES (Results 1 – 14 of 14) sorted by relevance
49 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_encode_integer()84 } else if (mp_iszero(num) != LTC_MP_YES) { in der_encode_integer()
37 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_length_integer()
70 if (mp_iszero(vdata) != LTC_MP_YES) { in ssh_encode_sequence_multi()131 if (mp_iszero(vdata) == LTC_MP_YES) { in ssh_encode_sequence_multi()
84 …if (mp_iszero(r) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()95 …if (mp_iszero(s) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
139 if (res == LTC_MP_YES) found_q = 1; in _dsa_make_params()166 if (res == LTC_MP_YES) { in _dsa_make_params()
77 if (mp_iszero(tmp2) != LTC_MP_YES) { in dsa_int_validate_pqg()
18 #define LTC_MP_YES 1 macro
211 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO)212 … (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_YES : LTC_MP_NO) : L…
167 _C_STRINGIFY(LTC_MP_YES),
100 if (mp_iszero(r) == LTC_MP_YES) { in ecc_sign_hash_ex()
427 *c = (*c == MP_YES) ? LTC_MP_YES : LTC_MP_NO; in isprime()
565 *c = mpz_probab_prime_p(a, b) > 0 ? LTC_MP_YES : LTC_MP_NO; in isprime()
424 *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