Let RSA_generate_key_ex call our prime generation callback.