Lines Matching refs:prime
1783 reject the prime candidate. */
1789 /* Allocate prime numbers and factors in secure memory. */
1792 /* Make sure that at least one prime factor is of size
1796 /* Generate a new prime number of PRIME_BITS bits and store it in
1797 PRIME. If FACTOR_BITS is non-zero, one of the prime factors of
1798 (prime - 1) / 2 must be FACTOR_BITS bits long. If FACTORS is
1799 non-zero, allocate a new, NULL-terminated array holding the prime
1801 the prime number generation process. */
1802 gcry_error_t gcry_prime_generate (gcry_mpi_t *prime,
1811 /* Find a generator for PRIME where the factorization of (prime-1) is
1816 gcry_mpi_t prime,
1825 /* Check wether the number X is prime. */