GMP function to generate prime number bigger than X

Torbjörn Granlund tg at
Wed Jan 26 14:17:00 CET 2022

Hans Petter Selasky <hps at> writes:

  I haven't tried. Do you know if it is fast?

Why don't you try it?

  Basically I wanted to avoid the Miller Rabin test, because any prime
  will do, not just the next one.

That statement makes no sense.

Please encrypt, key id 0xC8601622

More information about the gmp-discuss mailing list