Lines Matching refs:check
380 BIGNUM *A1, *A1_odd, *check; /* taken from ctx */
418 check = BN_CTX_get(ctx);
419 if (check == NULL) goto err;
448 if (!BN_pseudo_rand(check, BN_num_bits(A1), 0, 0))
450 if (BN_cmp(check, A1) >= 0)
451 if (!BN_sub(check, check, A1))
453 if (!BN_add_word(check, 1))
455 /* now 1 <= check < A */
457 j = witness(check, A, A1, A1_odd, k, ctx, mont);