/dragonfly/crypto/libressl/crypto/gost/ |
H A D | gostr341001.c | 181 if (BN_is_zero(e)) in gost2001_do_sign() 217 } while (BN_is_zero(r)); in gost2001_do_sign() 233 } while (BN_is_zero(s)); in gost2001_do_sign() 284 if (BN_is_zero(sig->s) || BN_is_zero(sig->r) || in gost2001_do_verify() 292 if (BN_is_zero(e)) in gost2001_do_verify() 388 } while (BN_is_zero(d)); in gost2001_keygen()
|
/dragonfly/crypto/libressl/crypto/bn/ |
H A D | bn_sqrt.c | 96 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt() 244 if (BN_is_zero(y)) in BN_mod_sqrt() 305 if (BN_is_zero(t)) { /* special case: p = 2^e + 1 */ in BN_mod_sqrt() 308 if (BN_is_zero(t)) { in BN_mod_sqrt() 318 if (BN_is_zero(x)) { in BN_mod_sqrt()
|
H A D | bn_print.c | 89 if (BN_is_zero(a)) in BN_bn2hex() 118 if (BN_is_zero(a)) { in BN_bn2dec() 155 while (!BN_is_zero(t)) { in BN_bn2dec() 376 if (BN_is_zero(a) && (BIO_write(bp, "0", 1) != 1)) in BN_print()
|
H A D | bn_word.c | 154 if (BN_is_zero(a)) in BN_add_word() 160 if (!BN_is_zero(a)) in BN_add_word() 190 if (BN_is_zero(a)) { in BN_sub_word()
|
H A D | bn_kron.c | 94 if (BN_is_zero(b)) { in BN_kronecker() 145 if (BN_is_zero(a)) { in BN_kronecker()
|
H A D | bn_gcd.c | 186 while (!BN_is_zero(b)) { in euclid() 314 while (!BN_is_zero(B)) { in BN_mod_inverse_internal() 395 while (!BN_is_zero(B)) { in BN_mod_inverse_internal() 632 while (!BN_is_zero(B)) { in BN_mod_inverse_no_branch() 799 while (!BN_is_zero(B)) { in BN_gcd_no_branch()
|
H A D | bn_bpsw.c | 196 if (BN_is_zero(U) || BN_is_zero(V)) { in bn_strong_lucas_test() 210 if (BN_is_zero(V)) { in bn_strong_lucas_test()
|
H A D | bn_exp2.c | 183 if (BN_is_zero(a_mod_m)) { in BN_mod_exp2_mont() 214 if (BN_is_zero(a_mod_m)) { in BN_mod_exp2_mont()
|
H A D | bn_gf2m.c | 657 if (BN_is_zero(u)) in BN_GF2m_mod_inv() 668 if (BN_is_zero(u)) in BN_GF2m_mod_inv() 1001 if (BN_is_zero(b)) in BN_GF2m_mod_exp_arr() 1157 if (BN_is_zero(a)) { in BN_GF2m_mod_solve_quad_arr() 1207 } while (BN_is_zero(w) && (count < MAX_ITERATIONS)); in BN_GF2m_mod_solve_quad_arr() 1208 if (BN_is_zero(w)) { in BN_GF2m_mod_solve_quad_arr() 1276 if (BN_is_zero(a)) in BN_GF2m_poly2arr()
|
H A D | bn_mont.c | 372 if (BN_is_zero(mod)) in BN_MONT_CTX_set() 416 if (!BN_is_zero(Ri)) { in BN_MONT_CTX_set() 449 if (!BN_is_zero(Ri)) { in BN_MONT_CTX_set()
|
H A D | bn_div.c | 148 if (BN_is_zero(divisor)) { in BN_div_internal() 366 if (!BN_is_zero(rm)) in BN_div_internal()
|
H A D | bn_isqrt.c | 75 if (BN_is_zero(n)) { in bn_isqrt()
|
H A D | bn_rand.c | 226 if (range->neg || BN_is_zero(range)) { in bn_rand_range()
|
/dragonfly/crypto/libressl/crypto/ecdsa/ |
H A D | ecs_ossl.c | 185 } while (BN_is_zero(k)); in ecdsa_sign_setup() 222 } while (BN_is_zero(r)); in ecdsa_sign_setup() 374 if (BN_is_zero(s)) { in ecdsa_do_sign() 483 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in ecdsa_do_verify() 485 BN_is_zero(sig->s) || BN_is_negative(sig->s) || in ecdsa_do_verify()
|
/dragonfly/crypto/libressl/crypto/dsa/ |
H A D | dsa_ossl.c | 178 if (BN_is_zero(r) || BN_is_zero(s)) { in dsa_do_sign() 344 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in dsa_do_verify() 349 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in dsa_do_verify()
|
/dragonfly/usr.bin/dc/ |
H A D | bcode.c | 688 if (BN_is_zero(n->number)) in count_digits() 697 while (!BN_is_zero(int_part->number)) { in count_digits() 1067 if (BN_is_zero(a->number)) in bdiv() 1105 if (BN_is_zero(a->number)) in bmod() 1145 if (BN_is_zero(a->number)) in bdivmod() 1188 if (!BN_is_zero(f)) in bexp() 1213 if (BN_is_zero(p->number)) { in bexp() 1231 while (!BN_is_zero(p->number)) { in bexp() 1252 if (BN_is_zero(r->number)) in bexp() 1279 ret = BN_is_zero(r); in bsqrt_stop() [all …]
|
H A D | inout.c | 294 if (BN_is_zero(b->number)) in printnumber() 310 while (!BN_is_zero(int_part->number)) { in printnumber()
|
/dragonfly/crypto/libressl/crypto/ec/ |
H A D | ecp_smpl.c | 329 if (BN_is_zero(a)) { in ec_GFp_simple_group_check_discriminant() 330 if (BN_is_zero(b)) in ec_GFp_simple_group_check_discriminant() 332 } else if (!BN_is_zero(b)) { in ec_GFp_simple_group_check_discriminant() 349 if (BN_is_zero(a)) in ec_GFp_simple_group_check_discriminant() 737 if (BN_is_zero(n5)) { in ec_GFp_simple_add() 738 if (BN_is_zero(n6)) { in ec_GFp_simple_add() 982 return BN_is_zero(&point->Z); in ec_GFp_simple_is_at_infinity() 1305 if (BN_is_zero(heap[2 * i])) { in ec_GFp_simple_points_make_affine() 1318 if (!BN_is_zero(heap[1])) { in ec_GFp_simple_points_make_affine() 1339 if ((heap[i + 1] != NULL) && !BN_is_zero(heap[i + 1])) { in ec_GFp_simple_points_make_affine() [all …]
|
H A D | ec2_oct.c | 123 if (BN_is_zero(x)) { in ec_GF2m_simple_set_compressed_coordinates() 232 if ((form != POINT_CONVERSION_UNCOMPRESSED) && !BN_is_zero(x)) { in ec_GF2m_simple_point2oct() 391 if (BN_is_zero(x)) { in ec_GF2m_simple_oct2point()
|
H A D | ec2_smpl.c | 302 if (BN_is_zero(b)) in ec_GF2m_simple_group_check_discriminant() 517 if (BN_GF2m_cmp(y0, y1) || BN_is_zero(x1)) { in ec_GF2m_simple_add() 570 if (EC_POINT_is_at_infinity(group, point) > 0 || BN_is_zero(&point->Y)) in ec_GF2m_simple_invert() 584 return BN_is_zero(&point->Z); in ec_GF2m_simple_is_at_infinity() 641 ret = BN_is_zero(lh); in ec_GF2m_simple_is_on_curve()
|
H A D | ec2_mult.c | 180 if (BN_is_zero(z1)) { in gf2m_Mxy() 185 if (BN_is_zero(z2)) { in gf2m_Mxy() 275 if ((scalar == NULL) || BN_is_zero(scalar) || (point == NULL) || in ec_GF2m_montgomery_point_multiply()
|
H A D | ec_check.c | 97 if (BN_is_zero(order)) { in EC_GROUP_check()
|
H A D | ec_lib.c | 345 if (BN_is_zero(&group->field) || BN_is_negative(&group->field)) { in EC_GROUP_set_generator() 382 if (cofactor != NULL && !BN_is_zero(cofactor)) { in EC_GROUP_set_generator() 411 return !BN_is_zero(order); in EC_GROUP_get_order() 426 return !BN_is_zero(&group->cofactor); in EC_GROUP_get_cofactor()
|
/dragonfly/games/factor/ |
H A D | factor.c | 78 #define BN_is_zero(v) (*(v) == 0) macro 167 if (BN_is_zero(val)) /* Historical practice; 0 just exits. */ in pr_fact()
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | t_pkey.c | 79 if (BN_is_zero(num)) { in ASN1_bn_print()
|