Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
Dder_encode_integer.c50 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_encode_integer()
98 } else if (mp_iszero(num) != LTC_MP_YES) { in der_encode_integer()
Dder_length_integer.c38 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_length_integer()
/external/dropbear/libtomcrypt/src/pk/dsa/
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 || … in dsa_verify_hash_raw()
Ddsa_sign_hash.c90 …if (mp_iszero(r) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
98 …if (mp_iszero(s) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
Ddsa_verify_key.c71 if (mp_iszero(tmp2) != LTC_MP_YES) { in dsa_verify_key()
Ddsa_make_key.c86 if (res == LTC_MP_YES) break; in dsa_make_key()
/external/dropbear/libtomcrypt/src/headers/
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 … (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_YES : LTC_MP_NO) : L…
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_sign_hash.c81 if (mp_iszero(r) == LTC_MP_YES) { in ecc_sign_hash()
/external/dropbear/libtomcrypt/src/math/
Dgmp_desc.c386 *b = mpz_probab_prime_p(a, 8) > 0 ? LTC_MP_YES : LTC_MP_NO; in isprime()
Dltm_desc.c391 *b = (*b == MP_YES) ? LTC_MP_YES : LTC_MP_NO; in isprime()
Dtfm_desc.c402 *b = (fp_isprime(a) == FP_YES) ? LTC_MP_YES : LTC_MP_NO; in isprime()