Lines Matching defs:checks
27 static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx,
131 int checks = bn_mr_min_checks(bits);
172 i = bn_is_prime_int(ret, checks, ctx, 0, cb);
185 for (i = 0; i < checks; i++) {
230 int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed,
233 return ossl_bn_check_prime(a, checks, ctx_passed, 0, cb);
236 int BN_is_prime_fasttest_ex(const BIGNUM *w, int checks, BN_CTX *ctx,
239 return ossl_bn_check_prime(w, checks, ctx, do_trial_division, cb);
243 /* Wrapper around bn_is_prime_int that sets the minimum number of checks */
244 int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CTX *ctx,
249 if (checks < min_checks)
250 checks = min_checks;
252 return bn_is_prime_int(w, checks, ctx, do_trial_division, cb);
266 static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx,
311 if (!ossl_bn_miller_rabin_is_prime(w, checks, ctx, cb, 0, &status)) {