Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_import_point.c43 if ((mp_isodd(t2) && in[0] == 0x03) || (!mp_isodd(t2) && in[0] == 0x02)) { in ltc_ecc_import_point()
A Dltc_ecc_export_point.c24 out[0] = mp_isodd(y) ? 0x03 : 0x02; in ltc_ecc_export_point()
A Decc_recover_key.c186 if ((mp_isodd(t2) && (recid%2)) || (!mp_isodd(t2) && !(recid%2))) { in ecc_recover_key()
A Decc_sign_hash.c90 if (mp_isodd(pubkey.pubkey.y)) v += 1; in ecc_sign_hash_ex()
A Dltc_ecc_projective_dbl_point.c141 if (mp_isodd(t2)) { in ltc_ecc_projective_dbl_point()
A Dltc_ecc_projective_add_point.c182 if (mp_isodd(y)) { in ltc_ecc_projective_add_point()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c130 if (!mp_isodd(q)) mp_add_d(q, 1, q); in s_dsa_make_params()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h225 #define mp_isodd(a) (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_… macro

Completed in 10 milliseconds