Searched refs:is_possibly_prime (Results 1 – 1 of 1) sorted by relevance
561 crypto_word_t is_possibly_prime = 0; in bn_miller_rabin_iteration() local565 is_possibly_prime = BN_equal_consttime(z, miller_rabin->one_mont) | in bn_miller_rabin_iteration()567 is_possibly_prime = 0 - is_possibly_prime; // Make it all zeros or all ones. in bn_miller_rabin_iteration()574 if (constant_time_eq_int(j, miller_rabin->a) & ~is_possibly_prime) { in bn_miller_rabin_iteration()589 is_possibly_prime |= z_is_w1_mont; // Go to step 4.7 if |z_is_w1_mont|. in bn_miller_rabin_iteration()594 if (BN_equal_consttime(z, miller_rabin->one_mont) & ~is_possibly_prime) { in bn_miller_rabin_iteration()599 *out_is_possibly_prime = is_possibly_prime & 1; in bn_miller_rabin_iteration()749 int is_possibly_prime = 0; in BN_primality_test() local750 if (!bn_miller_rabin_iteration(&miller_rabin, &is_possibly_prime, b, mont, in BN_primality_test()755 if (!is_possibly_prime) { in BN_primality_test()