Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/integer/
A Dder_encode_integer.c42 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_encode_integer()
77 } else if (mp_iszero(num) != LTC_MP_YES) { in der_encode_integer()
A Dder_length_integer.c30 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_length_integer()
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/ssh/
A Dssh_encode_sequence_multi.c63 if (mp_iszero(vdata) != LTC_MP_YES) { in ssh_encode_sequence_multi()
124 if (mp_iszero(vdata) == LTC_MP_YES) { in ssh_encode_sequence_multi()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_sign_hash.c77 …if (mp_iszero(r) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
88 …if (mp_iszero(s) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
A Ddsa_generate_pqg.c132 if (res == LTC_MP_YES) found_q = 1; in s_dsa_make_params()
159 if (res == LTC_MP_YES) { in s_dsa_make_params()
A Ddsa_verify_key.c70 if (mp_iszero(tmp2) != LTC_MP_YES) { in dsa_int_validate_pqg()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_math.h11 #define LTC_MP_YES 1 macro
A Dtomcrypt_private.h224 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO)
225 … (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_YES : LTC_MP_NO) : L…
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/crypt/
A Dcrypt_constants.c161 C_STRINGIFY(LTC_MP_YES),
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_sign_hash.c93 if (mp_iszero(r) == LTC_MP_YES) { in ecc_sign_hash_ex()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dltm_desc.c456 *c = res ? LTC_MP_YES : LTC_MP_NO; in isprime()
A Dgmp_desc.c558 *c = mpz_probab_prime_p(a, b) > 0 ? LTC_MP_YES : LTC_MP_NO; in isprime()
A Dtfm_desc.c417 *c = (fp_isprime_ex(a, b) == FP_YES) ? LTC_MP_YES : LTC_MP_NO; in isprime()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c615 *c = LTC_MP_YES; in isprime()

Completed in 14 milliseconds