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/
A Dltc_ecc_is_point_at_infinity.c25 if (!mp_iszero(P->z)) { in ltc_ecc_is_point_at_infinity()
31 if (mp_iszero(P->x) && mp_iszero(P->y)) { in ltc_ecc_is_point_at_infinity()
48 if ((mp_cmp(x3, y2) == LTC_MP_EQ) && !mp_iszero(y2)) { in ltc_ecc_is_point_at_infinity()
A Dltc_ecc_verify_key.c37 (mp_iszero(key->pubkey.x) && mp_iszero(key->pubkey.y)) in ltc_ecc_verify_key()
A Decc_sign_hash.c100 if (mp_iszero(r) == LTC_MP_YES) { in ecc_sign_hash_ex()
113 if (mp_iszero(s) == LTC_MP_NO) { in ecc_sign_hash_ex()
A Decc_set_key.c33 if (mp_iszero(key->k) || (mp_cmp(key->k, key->dp.order) != LTC_MP_LT)) { in ecc_set_key()
A Dltc_ecc_map.c36 if (mp_iszero(P->z)) { in ltc_ecc_map()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/integer/
A Dder_encode_integer.c49 if ((mp_count_bits(num) & 7) == 0 || mp_iszero(num) == LTC_MP_YES) { in der_encode_integer()
84 } else if (mp_iszero(num) != LTC_MP_YES) { in der_encode_integer()
A Dder_length_integer.c37 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/
A Dssh_encode_sequence_multi.c70 if (mp_iszero(vdata) != LTC_MP_YES) { in ssh_encode_sequence_multi()
131 if (mp_iszero(vdata) == LTC_MP_YES) { in ssh_encode_sequence_multi()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_sign_hash.c84 …if (mp_iszero(r) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
95 …if (mp_iszero(s) == LTC_MP_YES) { goto retry; } in dsa_sign_hash_raw()
A Ddsa_verify_key.c77 if (mp_iszero(tmp2) != LTC_MP_YES) { in dsa_int_validate_pqg()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h211 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO) macro

Completed in 8 milliseconds