Home
last modified time | relevance | path

Searched refs:LTC_MP_NO (Results 1 – 6 of 6) sorted by relevance

/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h7 #define LTC_MP_NO 0 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) : LTC_MP_NO)
/external/dropbear/libtomcrypt/src/math/
Drand_prime.c73 } while (res == LTC_MP_NO); in rand_prime()
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()
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_sign_hash.c91 if (mp_iszero(s) == LTC_MP_NO) { in ecc_sign_hash()