Home
last modified time | relevance | path

Searched refs:mp_cnt_lsb (Results 1 – 12 of 12) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_gcd.c45 u_lsb = mp_cnt_lsb(&u); in mp_gcd()
46 v_lsb = mp_cnt_lsb(&v); in mp_gcd()
86 if ((res = mp_div_2d(&v, mp_cnt_lsb(&v), &v, NULL)) != MP_OKAY) { in mp_gcd()
Dbn_mp_cnt_lsb.c23 int mp_cnt_lsb(mp_int *a) in mp_cnt_lsb() function
Dbn_mp_jacobi.c57 k = mp_cnt_lsb(&a1); in mp_jacobi()
Dbn_mp_prime_miller_rabin.c54 s = mp_cnt_lsb(&r); in mp_prime_miller_rabin()
Dtommath.h279 int mp_cnt_lsb(mp_int *a);
Dchanges.txt96 -- Sped up mp_cnt_lsb() by using a 4x4 table [e.g. 4x speedup]
205 -- added mp_cnt_lsb() which counts how many of the lsbs are zero
206 …-- optimized mp_gcd() to use the new mp_cnt_lsb() to replace multiple divisions by two by a single…
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
Dder_encode_integer.c63 if (((mp_cnt_lsb(num)+1)==mp_count_bits(num)) && ((mp_count_bits(num)&7)==0)) --y; in der_encode_integer()
109 if (((mp_cnt_lsb(num)+1)==mp_count_bits(num)) && ((mp_count_bits(num)&7)==0)) y -= 8; in der_encode_integer()
Dder_length_integer.c52 if (((mp_cnt_lsb(num)+1)==mp_count_bits(num)) && ((mp_count_bits(num)&7)==0)) --z; in der_length_integer()
/external/dropbear/libtommath/demo/
Ddemo.c245 if (mp_cnt_lsb(&a) != ix) { in main()
246 printf("Failed at %d, %d\n", ix, mp_cnt_lsb(&a)); in main()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h461 #define mp_cnt_lsb(a) ltc_mp.count_lsb_bits(a) macro
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c155 return mp_cnt_lsb(a); in count_lsb_bits()
/external/dropbear/libtommath/pre_gen/
Dmpi.c1400 int mp_cnt_lsb(mp_int *a) in mp_cnt_lsb() function
3200 u_lsb = mp_cnt_lsb(&u); in mp_gcd()
3201 v_lsb = mp_cnt_lsb(&v); in mp_gcd()
3241 if ((res = mp_div_2d(&v, mp_cnt_lsb(&v), &v, NULL)) != MP_OKAY) { in mp_gcd()
4042 k = mp_cnt_lsb(&a1); in mp_jacobi()
5782 s = mp_cnt_lsb(&r); in mp_prime_miller_rabin()