Searched refs:mp_count_bits (Results 1 - 20 of 20) sorted by relevance

/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_unsigned_bin_size.c21 int size = mp_count_bits (a);
H A Dbn_mp_count_bits.c20 mp_count_bits (mp_int * a) function
H A Dbn_mp_reduce_2k_setup_l.c28 if ((res = mp_2expt(&tmp, mp_count_bits(a))) != MP_OKAY) {
H A Dbn_mp_reduce_is_2k.c29 iy = mp_count_bits(a);
H A Dbn_mp_montgomery_calc_normalization.c29 bits = mp_count_bits (b) % DIGIT_BIT;
H A Dbn_mp_reduce_2k_setup.c28 p = mp_count_bits(a);
H A Dbn_mp_radix_size.c29 *size = mp_count_bits (a) + (a->sign == MP_NEG ? 1 : 0) + 1;
H A Dbn_mp_reduce_2k.c28 p = mp_count_bits(n);
H A Dbn_mp_reduce_2k_l.c31 p = mp_count_bits(n);
H A Dbn_mp_div.c51 n = mp_count_bits(a) - mp_count_bits(b);
152 norm = mp_count_bits(&y) % DIGIT_BIT;
H A Dbn_s_mp_exptmod.c31 x = mp_count_bits (X);
H A Dbn_mp_exptmod_fast.c45 x = mp_count_bits (X);
H A Dtommath.h519 int mp_count_bits(mp_int *a);
/barrelfish-2018-10-04/lib/tommath/demo/
H A Dtiming.c123 mp_count_bits(&a), CLK_PER_SEC / tt, tt);
145 mp_count_bits(&a), CLK_PER_SEC / tt, tt);
176 mp_count_bits(&a), CLK_PER_SEC / tt, tt);
177 fprintf(log, "%d %9llu\n", mp_count_bits(&a), tt);
196 mp_count_bits(&a), CLK_PER_SEC / tt, tt);
197 fprintf(log, "%d %9llu\n", mp_count_bits(&a), tt);
246 for (rr = 0; rr < (unsigned) mp_count_bits(&a); rr++) {
268 printf("Different (%d)!!!\n", mp_count_bits(&a));
273 mp_count_bits(&a), CLK_PER_SEC / tt, tt);
275 "%d %9llu\n", mp_count_bits(
[all...]
H A Ddemo.c188 if (mp_count_bits(&a) != ix) {
189 printf("Prime is %d not %d bits!!!\n", mp_count_bits(&a), ix);
205 if (mp_count_bits(&a) != ix) {
206 printf("Prime is %d not %d bits!!!\n", mp_count_bits(&a), ix);
/barrelfish-2018-10-04/lib/tommath/etc/
H A Ddrprime.c50 fprintf(out, "%d-bit prime:\np == %s\n\n", mp_count_bits(&a), buf); fflush(out);
H A Dpprime.c231 while (mp_count_bits (&a) < k) {
232 fprintf (stderr, "prime has %4d bits left\r", k - mp_count_bits (&a));
388 printf ("\n\nTook %ld ticks, %d bits\n", t1, mp_count_bits (&p));
/barrelfish-2018-10-04/lib/tommath/mtest/
H A Dmpi.h199 int mp_count_bits(mp_int *mp);
H A Dmpi.c2425 /* {{{ mp_count_bits(mp) */
2427 int mp_count_bits(mp_int *mp) function
2444 } /* end mp_count_bits() */
2512 len = s_mp_outlen(mp_count_bits(mp), radix) + 1; /* for NUL terminator */
/barrelfish-2018-10-04/lib/tommath/pre_gen/
H A Dmpi.c1526 mp_count_bits (mp_int * a) function
1606 n = mp_count_bits(a) - mp_count_bits(b);
1707 norm = mp_count_bits(&y) % DIGIT_BIT;
2667 x = mp_count_bits (X);
4701 bits = mp_count_bits (b) % DIGIT_BIT;
6228 *size = mp_count_bits (a) + (a->sign == MP_NEG ? 1 : 0) + 1;
6693 p = mp_count_bits(n);
6761 p = mp_count_bits(n);
6824 p = mp_count_bits(
[all...]

Completed in 100 milliseconds