OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LTC_MP_YES
(Results
1 - 11
of
11
) sorted by null
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
der_length_integer.c
38
if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) ==
LTC_MP_YES
) {
der_encode_integer.c
50
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/
dsa_verify_hash.c
52
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) {
dsa_sign_hash.c
90
if (mp_iszero(r) ==
LTC_MP_YES
) { goto retry; }
98
if (mp_iszero(s) ==
LTC_MP_YES
) { goto retry; }
dsa_verify_key.c
71
if (mp_iszero(tmp2) !=
LTC_MP_YES
) {
dsa_make_key.c
86
if (res ==
LTC_MP_YES
) break;
/external/dropbear/libtomcrypt/src/pk/ecc/
ecc_sign_hash.c
81
if (mp_iszero(r) ==
LTC_MP_YES
) {
/external/dropbear/libtomcrypt/src/headers/
tomcrypt_math.h
8
#define
LTC_MP_YES
1
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/
gmp_desc.c
386
*b = mpz_probab_prime_p(a, 8) > 0 ?
LTC_MP_YES
: LTC_MP_NO;
ltm_desc.c
391
*b = (*b == MP_YES) ?
LTC_MP_YES
: LTC_MP_NO;
tfm_desc.c
402
*b = (fp_isprime(a) == FP_YES) ?
LTC_MP_YES
: LTC_MP_NO;
Completed in 60 milliseconds