Searched refs:is_prime (Results 1 - 5 of 5) sorted by relevance
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_x931p.c | 26 int i = 0, is_prime; in bn_x931_derive_pi() local 35 is_prime = BN_check_prime(pi, ctx, cb); in bn_x931_derive_pi() 36 if (is_prime < 0) in bn_x931_derive_pi() 38 if (is_prime) in bn_x931_derive_pi()
|
/third_party/openssl/crypto/bn/ |
H A D | bn_x931p.c | 26 int i = 0, is_prime; in bn_x931_derive_pi() local 35 is_prime = BN_check_prime(pi, ctx, cb); in bn_x931_derive_pi() 36 if (is_prime < 0) in bn_x931_derive_pi() 38 if (is_prime) in bn_x931_derive_pi()
|
/third_party/elfutils/lib/ |
H A D | next_prime.c | 35 is_prime (size_t candidate) in is_prime() function 62 while (!is_prime (seed)) in next_prime()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | bn.rs | 764 pub fn is_prime(&self, checks: i32, ctx: &mut BigNumContextRef) -> Result<bool, ErrorStack> { in is_prime() functions 779 /// Then, like `is_prime`, performs a Miller-Rabin probabilistic primality test with `checks` 1455 assert!(p.is_prime(100, &mut ctx).unwrap()); in test_prime_numbers()
|
/third_party/openssl/test/ |
H A D | ectest.c | 2707 int is_prime = 0; in custom_params_test() local 2737 is_prime = EC_GROUP_get_field_type(group) == NID_X9_62_prime_field; in custom_params_test() 2739 if (!is_prime) { in custom_params_test() 2769 if (is_prime) { in custom_params_test()
|
Completed in 7 milliseconds