Expose two GMP primality operations
This exposes `mpz_probab_prime_p()` and `mpz_nextprime()` as
`testPrimeInteger` and `nextPrimeInteger` respectively and is especially
useful for cryptographic algorithms such as RSA.
Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
Showing
Please register or sign in to comment