/external/boringssl/src/crypto/bn/ |
D | bn_test.cc | 379 if (!BN_is_zero(c.get())) { in test_add() 425 if (!BN_is_zero(c.get())) { in test_sub() 479 if (!BN_is_zero(d.get())) { in test_div() 494 if (!BN_is_zero(d.get()) || BN_is_negative(d.get())) { in test_div() 506 if (!BN_is_zero(c.get()) || BN_is_negative(c.get())) { in test_div() 537 if (!BN_is_zero(a.get())) { in test_lshift1() 577 if (!BN_is_zero(d.get())) { in test_rshift() 609 if (!BN_is_zero(c.get()) && !BN_abs_is_word(c.get(), 1)) { in test_rshift1() 653 if (!BN_is_zero(d.get())) { in test_lshift() 707 if (!BN_is_zero(d.get()) || !BN_is_zero(e.get())) { in test_mul() [all …]
|
D | convert.c | 160 if (BN_is_zero(in)) { in BN_bn2bin_padded() 210 if (BN_is_zero(bn)) { in BN_bn2hex() 331 if (!BN_is_zero(ret)) { in bn_x2bn() 379 if (BN_is_zero(t)) { in BN_bn2dec() 387 while (!BN_is_zero(t)) { in BN_bn2dec() 440 if (*orig_in == '-' && !BN_is_zero(*outp)) { in BN_asc2bn() 455 if (BN_is_zero(a) && BIO_write(bp, "0", 1) != 1) { in BN_print()
|
D | sqrt.c | 93 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt() 250 if (BN_is_zero(y)) { in BN_mod_sqrt() 317 if (BN_is_zero(t)) /* special case: p = 2^e + 1 */ in BN_mod_sqrt() 322 if (BN_is_zero(t)) { in BN_mod_sqrt() 334 if (BN_is_zero(x)) { in BN_mod_sqrt() 440 if (BN_is_zero(in)) { in BN_sqrt()
|
D | kronecker.c | 91 if (BN_is_zero(B)) { in BN_kronecker() 136 if (BN_is_zero(A)) { in BN_kronecker()
|
D | gcd.c | 120 while (!BN_is_zero(b)) { in euclid() 286 while (!BN_is_zero(B)) { in BN_mod_inverse() 372 while (!BN_is_zero(B)) { in BN_mod_inverse() 593 while (!BN_is_zero(B)) { in BN_mod_inverse_no_branch()
|
D | add.c | 172 if (BN_is_zero(a)) { in BN_add_word() 180 if (!BN_is_zero(a)) { in BN_add_word() 355 if (BN_is_zero(a)) { in BN_sub_word()
|
D | random.c | 188 if (range->neg || BN_is_zero(range)) { in BN_rand_range() 266 if (BN_is_zero(range)) { in BN_generate_dsa_nonce()
|
D | bn.c | 235 if (BN_is_zero(bn)) { in BN_num_bits() 275 if (sign && !BN_is_zero(bn)) { in BN_set_negative()
|
D | cmp.c | 186 int BN_is_zero(const BIGNUM *bn) { in BN_is_zero() function
|
D | exponentiation.c | 347 r->neg = BN_is_zero(r) ? 0 : m->neg; in BN_div_recp() 467 if (BN_is_zero(val[0])) { in mod_exp_recp() 659 if (BN_is_zero(aa)) { in BN_mod_exp_mont() 1422 if (BN_is_zero(a_mod_m)) { in BN_mod_exp2_mont() 1457 if (BN_is_zero(a_mod_m)) { in BN_mod_exp2_mont()
|
D | montgomery.c | 222 if (!BN_is_zero(Ri)) { in BN_MONT_CTX_set() 261 if (!BN_is_zero(Ri)) { in BN_MONT_CTX_set()
|
D | div.c | 137 if (BN_is_zero(divisor)) { in BN_div() 368 if (!BN_is_zero(rm)) { in BN_div()
|
D | shift.c | 192 if (BN_is_zero(a)) { in BN_rshift1()
|
D | prime.c | 543 if (BN_is_zero(A1)) { in BN_is_prime_fasttest_ex()
|
/external/boringssl/src/crypto/ec/ |
D | simple.c | 315 if (BN_is_zero(a)) { in ec_GFp_simple_group_check_discriminant() 316 if (BN_is_zero(b)) { in ec_GFp_simple_group_check_discriminant() 319 } else if (!BN_is_zero(b)) { in ec_GFp_simple_group_check_discriminant() 334 BN_is_zero(a)) { in ec_GFp_simple_group_check_discriminant() 707 if (BN_is_zero(n5)) { in ec_GFp_simple_add() 708 if (BN_is_zero(n6)) { in ec_GFp_simple_add() 928 if (EC_POINT_is_at_infinity(group, point) || BN_is_zero(&point->Y)) { in ec_GFp_simple_invert() 937 return !point->Z_is_one && BN_is_zero(&point->Z); in ec_GFp_simple_is_at_infinity() 1239 if (!BN_is_zero(&points[0]->Z)) { in ec_GFp_simple_points_make_affine() 1256 if (!BN_is_zero(&points[i]->Z)) { in ec_GFp_simple_points_make_affine() [all …]
|
D | ec_key.c | 329 if (BN_is_zero(order)) { in EC_KEY_check_key() 454 } while (BN_is_zero(priv_key)); in EC_KEY_generate_key()
|
D | wnaf.c | 158 if (BN_is_zero(scalar)) { in compute_wNAF() 723 if (BN_is_zero(order)) { in ec_wNAF_precompute_mult()
|
D | ec.c | 542 return !BN_is_zero(order); in EC_GROUP_get_order() 551 return !BN_is_zero(&group->cofactor); in EC_GROUP_get_cofactor()
|
D | oct.c | 417 if (BN_is_zero(y)) { in ec_GFp_simple_set_compressed_coordinates()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_impl.c | 122 } while (BN_is_zero(&k)); in sign_setup() 260 if (BN_is_zero(r) || BN_is_zero(s)) { in sign() 320 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in verify() 325 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in verify() 417 } while (BN_is_zero(priv_key)); in keygen()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 181 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in ECDSA_do_verify() 182 BN_ucmp(sig->r, order) >= 0 || BN_is_zero(sig->s) || in ECDSA_do_verify() 293 } while (BN_is_zero(k)); in ecdsa_sign_setup() 322 } while (BN_is_zero(r)); in ecdsa_sign_setup() 427 if (BN_is_zero(s)) { in ECDSA_do_sign_ex()
|
/external/boringssl/src/crypto/asn1/ |
D | t_pkey.c | 73 if (BN_is_zero(num)) in ASN1_bn_print()
|
D | a_int.c | 419 if (BN_is_negative(bn) && !BN_is_zero(bn)) in BN_to_ASN1_INTEGER()
|
/external/boringssl/src/crypto/dh/ |
D | dh_impl.c | 223 } while (BN_is_zero(priv_key) || BN_is_one(priv_key)); in generate_key()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 430 OPENSSL_EXPORT int BN_is_zero(const BIGNUM *bn);
|