mpz_invert() limit?

Sam Kennedy samstauk at gmail.com
Tue May 22 14:32:20 CEST 2012


I've been using the mpz_invert() function as part of my RSA key generator,
however if the values get much more than 9-10 digits long, the function
returns an incorrect value.

Is there a limit to the size of the numbers you can use with mpz_invert()?
If so, what is that limit?

Is there a way around it?

Thank You,
-Sam


More information about the gmp-discuss mailing list