GMP function to generate prime number bigger than X

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


Hans Petter Selasky <hps at selasky.org> 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.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-discuss mailing list