Searched refs:mp_count_bits (Results 1 – 2 of 2) sorted by relevance
163 static int mp_count_bits(mp_int * a);756 int size = mp_count_bits (a); in mp_unsigned_bin_size()1541 static int mp_count_bits (mp_int * a) in mp_count_bits() function1631 n = mp_count_bits(a) - mp_count_bits(b); in mp_div()1732 norm = mp_count_bits(&y) % DIGIT_BIT; in mp_div()1883 x = mp_count_bits (X); in s_mp_exptmod()2153 p = mp_count_bits(n); in mp_reduce_2k_l()2191 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) { in mp_reduce_2k_setup_l()2914 bits = mp_count_bits (b) % DIGIT_BIT; in mp_montgomery_calc_normalization()2965 x = mp_count_bits (X); in mp_exptmod_fast()
1385 num_bytes = (mp_count_bits((mp_int *) a) + 7) / 8; in crypto_bignum_to_bin()1411 len = (mp_count_bits((mp_int *) m) + 7) / 8; in crypto_bignum_rand()1783 return (mp_count_bits(&e->prime) + 7) / 8; in crypto_ec_prime_len()1789 return mp_count_bits(&e->prime); in crypto_ec_prime_len_bits()1795 return (mp_count_bits(&e->order) + 7) / 8; in crypto_ec_order_len()