Improve FIPS RSA keygen performance.
[openssl.git] / include / crypto / bn.h
index cf69bea848f1c7b64ca24aa187b30d0cf18007fd..4d11e0e4b1f67ec0942ae5a5a99cf94408b2ed87 100644 (file)
@@ -95,6 +95,8 @@ int bn_div_fixed_top(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
 
 int ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx,
                                   BN_GENCB *cb, int enhanced, int *status);
+int ossl_bn_check_generated_prime(const BIGNUM *w, int checks, BN_CTX *ctx,
+                                  BN_GENCB *cb);
 
 const BIGNUM *ossl_bn_get0_small_factors(void);