Call RSA generation callback at the correct time.
authorKurt Roeckx <kurt@roeckx.be>
Sat, 13 Apr 2019 12:04:35 +0000 (14:04 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 15 Apr 2019 20:37:48 +0000 (22:37 +0200)
commit3e3dcf9ab8a2fc0214502dad56d94fd95bcbbfd5
tree99458f2ea316ad4e3bca1e61886fa44fe0c84258
parent72eb100f8a38c5b3822d7751eddaa2f3f4576fa1
Call RSA generation callback at the correct time.

The callback should be called with 1 when a Miller-Rabin round marked
the candidate as probably prime.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
GH: #8742
crypto/bn/bn_prime.c