Home
last modified time | relevance | path

Searched refs:BN_check_prime (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.bin/factor/
H A Dfactor.c70 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 Drsa_chk.c68 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 Drsa_sp800_56b_check.c142 if (BN_check_prime(p, ctx, NULL) != 1 in ossl_rsa_check_prime_factor()
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params_validate.c170 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 Dffc_params_generate.c293 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 Ddh_check.c193 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 Dbn_x931p.c35 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 Dbn_rsa_fips186_4.c120 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 Dbn_prime.c255 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 Dtlssrp_depr.c34 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 DBN_generate_prime.pod5 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 Dprime.c135 BN_check_prime(bn, NULL, NULL) in prime_main()
/freebsd/crypto/openssl/test/
H A Dectest.c282 || !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 Dbntest.c2464 || !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 Dbn.h384 int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb);
/freebsd/secure/lib/libcrypto/
H A DVersion.map4376 BN_check_prime;
/freebsd/crypto/openssl/doc/man7/
H A Dmigration_guide.pod1232 Use L<BN_check_prime(3)> which avoids possible misuse and always uses at least
/freebsd/secure/lib/libcrypto/man/man3/
H A DMakefile991 MLINKS+= BN_generate_prime.3 BN_check_prime.3
/freebsd/crypto/openssl/util/
H A Dlibcrypto.num4779 BN_check_prime 4907 3_0_0 EXIST::FUNCTION: