Home
last modified time | relevance | path

Searched refs:mp_get_digit_count (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/rsa/
H A Drsa_exptmod.c70 err = mp_rand(rnd, mp_get_digit_count(key->N)); in rsa_exptmod()
94 has_crt_parameters = (key->p != NULL) && (mp_get_digit_count(key->p) != 0) && in rsa_exptmod()
95 (key->q != NULL) && (mp_get_digit_count(key->q) != 0) && in rsa_exptmod()
96 (key->dP != NULL) && (mp_get_digit_count(key->dP) != 0) && in rsa_exptmod()
97 (key->dQ != NULL) && (mp_get_digit_count(key->dQ) != 0) && in rsa_exptmod()
98 (key->qP != NULL) && (mp_get_digit_count(key->qP) != 0); in rsa_exptmod()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
H A Ddh_check_pubkey.c35 digit_count = mp_get_digit_count(key->y); in dh_check_pubkey()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Dltc_ecc_mulmod_timing.c91 digidx = mp_get_digit_count(k) - 1; in ltc_ecc_mulmod()
H A Dltc_ecc_mulmod.c100 digidx = mp_get_digit_count(k) - 1; in ltc_ecc_mulmod()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_private.h207 #define mp_get_digit_count(a) ltc_mp.get_digit_count(a) macro
250 #define mp_isodd(a) (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_…