Lines Matching refs:counter
1426 success the generated primes are stored at R_Q and R_P, the counter
1446 int counter;
1519 counter = 0;
1578 /* Step 13: counter = counter + 1, offset = offset + n + 1. */
1579 counter++;
1581 /* Step 14: If counter >= 2^12 goto Step 1. */
1582 if (counter >= 4096)
1586 /* Step 15: Save p, q, counter and seed. */
1587 /* log_debug ("fips186-2 pbits p=%u q=%u counter=%d\n", */
1588 /* mpi_get_nbits (prime_p), mpi_get_nbits (prime_q), counter); */
1603 *r_counter = counter;
1635 success the generated primes are stored at R_Q and R_P, the counter
1663 int counter;
1763 counter = 0;
1822 /* Step 11.9: counter = counter + 1, offset = offset + n + 1.
1823 If counter >= 4L goto Step 5. */
1824 counter++;
1825 if (counter >= 4*pbits)
1829 /* Step 12: Save p, q, counter and seed. */
1830 log_debug ("fips186-3 pbits p=%u q=%u counter=%d\n",
1831 mpi_get_nbits (prime_p), mpi_get_nbits (prime_q), counter);
1846 *r_counter = counter;