Searched refs:LTC_MP_YES (Results 1 - 11 of 11) sorted by relevance

/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
H A Dder_length_integer.c38 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) {
H A Dder_encode_integer.c50 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) {
98 } else if (mp_iszero(num) != LTC_MP_YES) {
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_verify_hash.c52 if (mp_iszero(r) == LTC_MP_YES || mp_iszero(s) == LTC_MP_YES || mp_cmp(r, key->q) != LTC_MP_LT || mp_cmp(s, key->q) != LTC_MP_LT) {
H A Ddsa_sign_hash.c90 if (mp_iszero(r) == LTC_MP_YES) { goto retry; }
98 if (mp_iszero(s) == LTC_MP_YES) { goto retry; }
H A Ddsa_verify_key.c71 if (mp_iszero(tmp2) != LTC_MP_YES) {
H A Ddsa_make_key.c86 if (res == LTC_MP_YES) break;
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_sign_hash.c81 if (mp_iszero(r) == LTC_MP_YES) {
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_math.h8 #define LTC_MP_YES 1 macro
496 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO)
497 #define mp_isodd(a) (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_YES : LTC_MP_NO) : LTC_MP_NO)
/external/dropbear/libtomcrypt/src/math/
H A Dgmp_desc.c386 *b = mpz_probab_prime_p(a, 8) > 0 ? LTC_MP_YES : LTC_MP_NO;
H A Dltm_desc.c391 *b = (*b == MP_YES) ? LTC_MP_YES : LTC_MP_NO;
H A Dtfm_desc.c402 *b = (fp_isprime(a) == FP_YES) ? LTC_MP_YES : LTC_MP_NO;

Completed in 68 milliseconds