Lines Matching refs:checks
361 int checks = BN_prime_checks_for_size(bits); in BN_generate_prime_ex() local
407 i = BN_is_prime_fasttest_ex(ret, checks, ctx, 0, cb); in BN_generate_prime_ex()
420 for (i = 0; i < checks; i++) { in BN_generate_prime_ex()
455 int checks, BN_CTX *ctx, int do_trial_division, in BN_primality_test() argument
457 switch (BN_is_prime_fasttest_ex(candidate, checks, ctx, do_trial_division, cb)) { in BN_primality_test()
470 int BN_is_prime_ex(const BIGNUM *candidate, int checks, BN_CTX *ctx, BN_GENCB *cb) { in BN_is_prime_ex() argument
471 return BN_is_prime_fasttest_ex(candidate, checks, ctx, 0, cb); in BN_is_prime_ex()
474 int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, in BN_is_prime_fasttest_ex() argument
487 if (checks == BN_prime_checks) { in BN_is_prime_fasttest_ex()
488 checks = BN_prime_checks_for_size(BN_num_bits(a)); in BN_is_prime_fasttest_ex()
565 for (i = 0; i < checks; i++) { in BN_is_prime_fasttest_ex()