Home
last modified time | relevance | path

Searched refs:BN_is_prime_ex (Results 1 – 15 of 15) sorted by relevance

/external/openssl/crypto/dh/
Ddh_check.c107 if (!BN_is_prime_ex(dh->p,BN_prime_checks,ctx,NULL)) in DH_check()
112 if (!BN_is_prime_ex(q,BN_prime_checks,ctx,NULL)) in DH_check()
/external/openssl/crypto/rsa/
Drsa_chk.c78 r = BN_is_prime_ex(key->p, BN_prime_checks, NULL, NULL); in RSA_check_key()
88 r = BN_is_prime_ex(key->q, BN_prime_checks, NULL, NULL); in RSA_check_key()
/external/openssh/
Dmoduli.c605 if (BN_is_prime_ex(q, 1, ctx, NULL) <= 0) { in prime_test()
618 if (!BN_is_prime_ex(p, trials, ctx, NULL)) { in prime_test()
625 if (!BN_is_prime_ex(q, trials - 1, ctx, NULL)) { in prime_test()
Dconfig.h.in212 /* Define to 1 if you have the `BN_is_prime_ex' function. */
Dconfigure.ac2171 AC_CHECK_FUNCS([RSA_generate_key_ex DSA_generate_parameters_ex BN_is_prime_ex RSA_get_default_metho…
Dconfigure10593 for ac_func in RSA_generate_key_ex DSA_generate_parameters_ex BN_is_prime_ex RSA_get_default_method
/external/openssl/crypto/bn/
Dbn_depr.c99 return BN_is_prime_ex(a, checks, ctx_passed, &cb); in BN_is_prime()
Dbn_prime.c238 int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb) in BN_is_prime_ex() function
Dbn.h557 int BN_is_prime_ex(const BIGNUM *p,int nchecks, BN_CTX *ctx, BN_GENCB *cb);
/external/openssh/openbsd-compat/
Dopenssl-compat.h116 int BN_is_prime_ex(const BIGNUM *, int, BN_CTX *, void *);
Dopenssl-compat.c73 BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, void *cb) in BN_is_prime_ex() function
/external/openssl/apps/
Dprime.c147 BN_is_prime_ex(bn,checks,NULL,NULL) ? "" : "not "); in MAIN()
Ds_client.c414 BN_is_prime_ex(N, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && in srp_Verify_N_and_g()
418 BN_is_prime_ex(p, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && in srp_Verify_N_and_g()
/external/openssl/crypto/ec/
Dectest.c398 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) ABORT; in prime_field_tests()
433 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) ABORT; in prime_field_tests()
467 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) ABORT; in prime_field_tests()
501 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) ABORT; in prime_field_tests()
537 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) ABORT; in prime_field_tests()
578 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) ABORT; in prime_field_tests()
1351 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) ABORT; in nistp_single_test()
/external/openssl/include/openssl/
Dbn.h557 int BN_is_prime_ex(const BIGNUM *p,int nchecks, BN_CTX *ctx, BN_GENCB *cb);