Lines Matching refs:g_bits
76 mp_bitcnt_t u_bits, v_bits, g_bits; in check_gcdext() local
91 g_bits = (random()%v_bits) + 1; in check_gcdext()
93 gn = (g_bits + GMP_LIMB_BITS - 1)/GMP_LIMB_BITS; in check_gcdext()
94 sn = (u_bits - g_bits + GMP_LIMB_BITS - 1)/GMP_LIMB_BITS; in check_gcdext()
95 tn = (v_bits - g_bits + GMP_LIMB_BITS - 1)/GMP_LIMB_BITS; in check_gcdext()
99 mpn_urandomb(gp, rands, g_bits); in check_gcdext()
100 gn = (g_bits + GMP_LIMB_BITS - 1)/GMP_LIMB_BITS; in check_gcdext()
108 if (u_bits > g_bits) in check_gcdext()
110 mpn_urandomb(sp, rands, u_bits - g_bits); in check_gcdext()
132 if (v_bits > g_bits) in check_gcdext()
134 mpn_urandomb(tp, rands, v_bits - g_bits); in check_gcdext()