Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Dltc_ecc_is_point_at_infinity.c18 if (!mp_iszero(P->z)) { in ltc_ecc_is_point_at_infinity()
24 if (mp_iszero(P->x) && mp_iszero(P->y)) { in ltc_ecc_is_point_at_infinity()
41 if ((mp_cmp(x3, y2) == LTC_MP_EQ) && !mp_iszero(y2)) { in ltc_ecc_is_point_at_infinity()
H A Dltc_ecc_verify_key.c30 (mp_iszero(key->pubkey.x) && mp_iszero(key->pubkey.y)) in ltc_ecc_verify_key()
H A Decc_set_key.c26 if (mp_iszero(key->k) || (mp_cmp(key->k, key->dp.order) != LTC_MP_LT)) { in ecc_set_key()
H A Dltc_ecc_map.c29 if (mp_iszero(P->z)) { in ltc_ecc_map()
H A Decc_sign_hash.c93 if (mp_iszero(r) == LTC_MP_YES) { in ecc_sign_hash_ex()
106 if (mp_iszero(s) == LTC_MP_NO) { in ecc_sign_hash_ex()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/integer/
H 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()
H A Dder_length_integer.c30 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_length_integer()
/optee_os/core/lib/libtomcrypt/src/misc/ssh/
H 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/core/lib/libtomcrypt/src/pk/dsa/
H 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()
H A Ddsa_verify_key.c70 if (mp_iszero(tmp2) != LTC_MP_YES) { in dsa_int_validate_pqg()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_private.h249 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO) macro