Home
last modified time | relevance | path

Searched refs:BN_prime_checks (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/regress/lib/libcrypto/ec/
Dectest.c335 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) in prime_field_tests()
384 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) in prime_field_tests()
431 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) in prime_field_tests()
478 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) in prime_field_tests()
525 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) in prime_field_tests()
573 if (1 != BN_is_prime_ex(p, BN_prime_checks, ctx, NULL)) in prime_field_tests()
/openbsd/src/lib/libcrypto/rsa/
Drsa_chk.c94 r = BN_is_prime_ex(key->p, BN_prime_checks, NULL, NULL); in RSA_check_key()
103 r = BN_is_prime_ex(key->q, BN_prime_checks, NULL, NULL); in RSA_check_key()
/openbsd/src/regress/lib/libcrypto/wycheproof/
Dwycheproof-primes.c35 if ((ret = BN_is_prime_ex(value, BN_prime_checks, NULL, NULL)) < 0) in primality_test()
Dwycheproof.go2216 …ret := C.BN_is_prime_ex(bnValue, C.BN_prime_checks, (*C.BN_CTX)(unsafe.Pointer(nil)), (*C.BN_GENCB…
/openbsd/src/regress/lib/libcrypto/bn/
Dbn_primes.c61 ret = BN_is_prime_fasttest_ex(n, BN_prime_checks, NULL, in test_bn_is_prime_fasttest()
/openbsd/src/lib/libcrypto/bn/
Dbn_prime.c263 if (checks == BN_prime_checks) in BN_is_prime_fasttest_ex()
Dbn.h233 #define BN_prime_checks 0 /* default: select number of iterations macro
/openbsd/src/lib/libcrypto/dsa/
Ddsa_ameth.c565 if (BN_is_prime_ex(dsa->q, BN_prime_checks, ctx, NULL) <= 0) { in old_dsa_priv_decode()