Searched refs:mp_count_bits (Results 1 – 2 of 2) sorted by relevance
171 static int mp_count_bits(mp_int * a);764 int size = mp_count_bits (a); in mp_unsigned_bin_size()1549 static int mp_count_bits (mp_int * a) in mp_count_bits() function1639 n = mp_count_bits(a) - mp_count_bits(b); in mp_div()1740 norm = mp_count_bits(&y) % DIGIT_BIT; in mp_div()1891 x = mp_count_bits (X); in s_mp_exptmod()2161 p = mp_count_bits(n); in mp_reduce_2k_l()2199 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) { in mp_reduce_2k_setup_l()2921 bits = mp_count_bits (b) % DIGIT_BIT; in mp_montgomery_calc_normalization()2972 x = mp_count_bits (X); in mp_exptmod_fast()
1068 num_bytes = (mp_count_bits((mp_int *) a) + 7) / 8; in crypto_bignum_to_bin()1093 (mp_count_bits((mp_int *) m) + 7) / 8 * 2, in crypto_bignum_rand()1203 return mp_count_bits((mp_int *) a); in crypto_bignum_bits()1367 return (mp_count_bits(&e->prime) + 7) / 8; in crypto_ec_prime_len()1373 return mp_count_bits(&e->prime); in crypto_ec_prime_len_bits()1379 return (mp_count_bits(&e->order) + 7) / 8; in crypto_ec_order_len()