Searched refs:BN_prime_checks (Results 1 – 8 of 8) sorted by relevance
| /openbsd/src/regress/lib/libcrypto/ec/ |
| D | ectest.c | 335 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/ |
| D | rsa_chk.c | 94 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/ |
| D | wycheproof-primes.c | 35 if ((ret = BN_is_prime_ex(value, BN_prime_checks, NULL, NULL)) < 0) in primality_test()
|
| D | wycheproof.go | 2216 …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/ |
| D | bn_primes.c | 61 ret = BN_is_prime_fasttest_ex(n, BN_prime_checks, NULL, in test_bn_is_prime_fasttest()
|
| /openbsd/src/lib/libcrypto/bn/ |
| D | bn_prime.c | 263 if (checks == BN_prime_checks) in BN_is_prime_fasttest_ex()
|
| D | bn.h | 233 #define BN_prime_checks 0 /* default: select number of iterations macro
|
| /openbsd/src/lib/libcrypto/dsa/ |
| D | dsa_ameth.c | 565 if (BN_is_prime_ex(dsa->q, BN_prime_checks, ctx, NULL) <= 0) { in old_dsa_priv_decode()
|