/freebsd/usr.bin/factor/ |
H A D | factor.c | 70 BN_check_prime(BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb) in BN_check_prime() function 203 BN_check_prime(val, NULL, NULL) == 1) in pr_fact() 276 if (BN_check_prime(x, NULL, NULL) == 1) in pollard_pminus1() 285 if (BN_check_prime(num, NULL, NULL) == 1) { in pollard_pminus1()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 68 if (BN_check_prime(key->p, ctx, cb) != 1) { in rsa_validate_keypair_multiprime() 74 if (BN_check_prime(key->q, ctx, cb) != 1) { in rsa_validate_keypair_multiprime() 82 if (BN_check_prime(pinfo->r, ctx, cb) != 1) { in rsa_validate_keypair_multiprime()
|
H A D | rsa_sp800_56b_check.c | 142 if (BN_check_prime(p, ctx, NULL) != 1 in ossl_rsa_check_prime_factor()
|
/freebsd/crypto/openssl/crypto/ffc/ |
H A D | ffc_params_validate.c | 170 if (BN_check_prime(params->q, ctx, NULL) != 1) { in ossl_ffc_params_full_validate() 176 if (ret && BN_check_prime(params->p, ctx, NULL) != 1) { in ossl_ffc_params_full_validate()
|
H A D | ffc_params_generate.c | 293 r = BN_check_prime(p, ctx, cb); in generate_p() 364 r = BN_check_prime(q, ctx, cb); in generate_q_fips186_4() 430 r = BN_check_prime(q, ctx, cb); in generate_q_fips186_2()
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_check.c | 193 r = BN_check_prime(dh->params.q, ctx, NULL); in DH_check() 208 r = BN_check_prime(dh->params.p, ctx, NULL); in DH_check() 216 r = BN_check_prime(t1, ctx, NULL); in DH_check()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_x931p.c | 35 is_prime = BN_check_prime(pi, ctx, cb); in bn_x931_derive_pi() 136 int r = BN_check_prime(p, ctx, cb); in BN_X931_derive_prime_ex()
|
H A D | bn_rsa_fips186_4.c | 120 tmp = BN_check_prime(p1, ctx, cb); in bn_rsa_fips186_4_find_aux_prob_prime() 344 int rv = BN_check_prime(Y, ctx, cb); in ossl_bn_rsa_fips186_4_derive_prime()
|
H A D | bn_prime.c | 255 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb) in BN_check_prime() function
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | tlssrp_depr.c | 34 BN_check_prime(N, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g() 37 BN_check_prime(p, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_generate_prime.pod | 5 BN_generate_prime_ex2, BN_generate_prime_ex, BN_is_prime_ex, BN_check_prime, 21 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb); 126 BN_check_prime(), BN_is_prime_ex(), BN_is_prime_fasttest_ex(), BN_is_prime() 199 BN_is_prime_fasttest() and BN_check_prime return 0 if the number is composite, 245 BN_check_prime() was added in OpenSSL 3.0.
|
/freebsd/crypto/openssl/apps/ |
H A D | prime.c | 135 BN_check_prime(bn, NULL, NULL) in prime_main()
|
/freebsd/crypto/openssl/test/ |
H A D | ectest.c | 282 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests() 320 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests() 357 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests() 394 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests() 433 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests() 478 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests() 1337 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in nistp_single_test()
|
H A D | bntest.c | 2464 || !TEST_int_eq(BN_check_prime(r, ctx, NULL), in test_is_prime() 2488 || !TEST_false(BN_check_prime(r, ctx, NULL))) in test_not_prime()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | bn.h | 384 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb);
|
/freebsd/secure/lib/libcrypto/ |
H A D | Version.map | 4376 BN_check_prime;
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | migration_guide.pod | 1232 Use L<BN_check_prime(3)> which avoids possible misuse and always uses at least
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | Makefile | 991 MLINKS+= BN_generate_prime.3 BN_check_prime.3
|
/freebsd/crypto/openssl/util/ |
H A D | libcrypto.num | 4779 BN_check_prime 4907 3_0_0 EXIST::FUNCTION:
|