Home
last modified time | relevance | path

Searched refs:mp_isodd (Results 1 – 8 of 8) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_import_point.c50 if ((mp_isodd(t2) && in[0] == 0x03) || (!mp_isodd(t2) && in[0] == 0x02)) { in ltc_ecc_import_point()
A Dltc_ecc_export_point.c31 out[0] = mp_isodd(y) ? 0x03 : 0x02; in ltc_ecc_export_point()
A Decc_recover_key.c192 if ((mp_isodd(t2) && (recid%2)) || (!mp_isodd(t2) && !(recid%2))) { in ecc_recover_key()
A Decc_sign_hash.c97 if (mp_isodd(pubkey.pubkey.y)) v += 1; in ecc_sign_hash_ex()
A Dltc_ecc_projective_dbl_point.c148 if (mp_isodd(t2)) { in ltc_ecc_projective_dbl_point()
A Dltc_ecc_projective_add_point.c189 if (mp_isodd(y)) { in ltc_ecc_projective_add_point()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c137 if (!mp_isodd(q)) mp_add_d(q, 1, q); in _dsa_make_params()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h212 #define mp_isodd(a) (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_… macro

Completed in 8 milliseconds