Lines Matching refs:exp
48 mpz_t base, exp, mod;
66 mpz_init (exp);
84 mpz_set_ui (exp, 1);
117 mpz_rrandomb (exp, rands, exp_size);
119 while (mpz_cmp_ui (base, 0) == 0 && mpz_cmp_ui (exp, 0) == 0);
136 /* printf ("%ld %ld %ld\n", SIZ (base), SIZ (exp), SIZ (mod)); */
141 mpz_set (exp2, exp);
158 mpz_powm (r1, base, exp, mod);
165 debug_mp (exp, -16);
177 mpz_powm_sec (r1, base, exp, mod);
184 debug_mp (exp, -16);
196 mpz_clear (exp);